Title: Long term dynamics and stabilization of nonlinear mechanical systems