Modelling contact phenomena within the dynamic simulation of advanced robotic structures