Dynamics of mechanical systems and identification