Thesis studies electromechanical discrete systems simulations using the Modelica programming language and the OpenModelica environment. Multi-domain fundamentals are described first, followed by fundamentals of Modelica programming language and description of the OpenModelica environment. Four electromechanical systems are simulated. One of them is experimentally validated. Results prove suitability of Modelica and OpenModelica for simulating electromechanical dynamic systems.