An extended flexible multibody dynamics software for mechatronic applications