Error message when I run my xcos simulation

when I run my simulation I get this error message back. Does anyone have any idea what it means please?

“Function not defined for given argument type(s),”
" check arguments or define function %0_size for overloading."

The simulation is of a coupled pendulum system so is using integration and basic maths blocks. There is impact detection too but it’s not a complex model so I’m a bit lost.
Thanks.

Hello,

Can you edit your post and drag and drop the .zcos file of your diagram.

S.