Simulation of a nonlinear hydraulic system