Optimal nonlinear controller design for flexible robot manipulators with adaptive internal model | Synapse