Dymola is the platform of modeling and simulation for physical system based on the unified modeling language Modelica.Dymola gives full play to the advantages of Modelica language and is able to set up the model quickly and visually.Modeling and simulation is implemented in Modelica language under Dymola environment on basis of mathematical model of two-phase hybrid stepping motor.Simulation results showed that the model of two-phase hybrid stepping motor was fine and could meet the practical requirements.