#3034 closed defect (fixed)
Import issues with inputs in fmi 2.0
Reported by: | wbraun | Owned by: | adeas31 |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | FMI | Version: | trunk |
Keywords: | Cc: |
Description
Following model course three different issue:
loadString(" model A Real x; input Real u; equation der(x) = x+u; end A; "); getErrorString(); translateModelFMU(A, version="2.0"); getErrorString(); importFMU("A.fmu"); getErrorString(); loadFile("A_me_FMU.mo"); getErrorString(); simulate(A_me_FMU); getErrorString();
The initial value is wrong:
"Error: module = Initial 'calculated' is not allowed for variability 'continuous' and causality 'input'. Setting initial to 'approx', log level = ERROR: FMI2XML Error: module = Start attribute is required for this causality, variability and initial combination, log level = ERROR: FMI2XM
And also the number of variable is wrong:
"Error: Too few equations, under-determined system. The model has 11 equation(s) and 12 variable(s).
Change History (3)
comment:1 Changed 9 years ago by adeas31
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 9 years ago by dietmarw
- Milestone changed from Future to pre1.9.4
It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.
comment:3 Changed 7 years ago by sjoelund.se
- Milestone changed from pre1.9.4 to 1.9.4
Removing the pre1.9.4 milestone in favor of 1.9.4.
Fixed in r24966.