#3034 closed defect (fixed)
Import issues with inputs in fmi 2.0
| Reported by: | Willi Braun | Owned by: | Adeel Asghar |
|---|---|---|---|
| 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 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 10 years ago
| Milestone: | Future → 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 by , 8 years ago
| Milestone: | pre1.9.4 → 1.9.4 |
|---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
Note:
See TracTickets
for help on using tickets.

Fixed in r24966.