Virtual Prototyping of manufacturing systems