Simulation of Ship Propulsion Plant Dynamics in Rough Sea