Modelica-A General Object-Oriented Language for Continuous and Discrete-Event System Modeling and Simulation