• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Adams Car
  3. Simulation of fmu model from Acar in Simulink

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Not Answered
  • Replies 7
  • Subscribers 1
  • Views 18
  • Members are here 0
More Content

Simulation of fmu model from Acar in Simulink

jozef.bucha
jozef.bucha over 5 years ago
Hello everyone,
 
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
 
Thanks for advices
 
Jozef
  • Sign in to reply
  • Cancel
  • Fredrik Sjogren
    0 Fredrik Sjogren over 5 years ago
    Hi Jozef,
     
    Have you started a dedicated MATLAB session for the FMU co-simulation?
     
    https://se.mathworks.com/help/simulink/ug/export-model-as-tool-coupling-fmu.html
     
    Start dedicated MATLAB session for FMU co-simulation: From the MATLAB prompt:
    >> shareMATLABForFMUCoSim
     
    /Fredrik
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Fredrik Sjogren
    0 Fredrik Sjogren over 5 years ago
    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...
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jozef.bucha
    0 jozef.bucha over 5 years ago
    Thanks, for reply
     
    Yes I want to do Adams FMU in Simulink
     
    Jozef
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jozef.bucha
    0 jozef.bucha over 5 years ago
    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.
     
    Jozef
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • frieder.platte
    0 frieder.platte over 3 years ago
    Hi Jozef,
    do you have found a solution for your problem  'fmi2ExitInitializationMode'? I have the same at the moment and can´t figure out how to get rid of it.
     
    Frieder
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information