Design of a packaging machine and virtual commissioning via modular hardware-in-the-loop simulations