Advanced Dynamics Modeling Duality and Control of Robotic Systems