Virtual prototyping of embedded control software in mechatronic systems: A case study. (May 2017)