Dynamics of a three DOF mechanical system with dry friction