Port-based Simulation of Flexible Multi-body Systems