Global Optimization of Mechanical Systems