Hardware-in-the-Loop Mechatronic Virtual Prototyping of a High-Speed Capsule Filling Machine