Performance optimization of manufacturing systems: An hybrid systems approach