I have model of vehicle in Acar. Models works fine in Acar (no warning message,), but if i want to use it in Simulink the simulation ends with Error in supplied FMU: An error occurred in function 'fmi2ExitInitializationMode' for block.
How can I start to debug this and get more information about simulation run and what is wrong?
Produced fmu can be used without problem in Adams Realtime animation but not as fmu model in Simulink
Any recommendation about solver settings in Simulink or Adams, which could helps
The above is something you need to do when using a co-sim Simulink FMU in Adams. Reading your post again I now realize you want to run an Adams FMU in Simulink...
Also i have noticed that fmu works fine for in Simulink until i am using steering subsystem not in kinematic mode but in compliant mode. If i switch steering to kinematic mode fmu stops to work. Vehicle in Adams works in both modes. Steering subsystem is based on rack_and_pinion_steering template from acar shared directory.
Hi Frieder. Yes and no. My model is working but I do not know what was source of that error. In my case problem was in rack and pinion template where is bushing between pinion and steering shaft. I have removed that bushing and made same modification. Full vehicle assembly vehicle was working without problem but generated fmu was not working.
After this issues I remade template again from rack and pinion template where I have that bushing connecting pinion and steering shaft and full vehicle assy and generated fmu started to work.