Dynamic Modelling of Mechatronic Systems