Static condensation method for the reduced dynamic modeling of mechanisms and structures