Mechatronic Modeling and Simulation Using Bond Graphs