Skip to content

'fmusim' incorrect results for ME FMUs #489

@Maplesoft-fmigroup

Description

@Maplesoft-fmigroup

The results from running 'fmusim' on ModelExchange CoupledClutches FMUs (FMI2 and FMI3) do NOT match the (expected) results from FMPy and the old FMUChecker. The issue is reproducible with both MWorks and MapleSim FMUs. Based on logging information, the main difference seems to be that the 'fmusim' tool calls
fmi2SetContinuousStates(x={0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, nx=18) -> OK
upon entering ContinuousTimeMode for the first time but not all of the states have start=0.
Should it not call fmi2GetContinuousStates first?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfmusim

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions