Hi,
![enter image description here](https://community.wolfram.com//c/portal/getImageAttachment?filename=1.PNG&userId=439850)
In the model hereabove, I split a flange interface using a TorqueToAngleAdaptator within the motor model and an AngleToTorqueAdaptator within the gearbox model as shown below.
- Motor model:
![enter image description here](https://community.wolfram.com//c/portal/getImageAttachment?filename=2.PNG&userId=439850)
- Gearbox model:
![enter image description here](https://community.wolfram.com//c/portal/getImageAttachment?filename=94403.PNG&userId=439850)
The simulation works fine. However, when I try to export the motor as an FMU, I got the following error :
fmu155421315814965ode.cpp(11): error C2065: '$$$der$torque'?: identificateur non d?clar?
FYI, I use Visual Studio 2017 as a compiler.
Any idea to solve this issue?