Changes between Initial Version and Version 1 of Ticket #3526, comment 3
- Timestamp:
- 2015-11-04T11:22:25Z (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3526, comment 3
initial v1 1 removeSimpleEquations expands the {{{y = f(time)}}} to {{{test.R({x1.r[1], x1.r[2], x1.r[3]}) = test.f(time)}}}. That kind of expression is handled wrong in SimCode. Due to missing optimization this is handled as nonlinear system for which the temporary variablesis introduced which contains wrong type information (see SimCodeUtil.createTempVars).1 removeSimpleEquations expands {{{y = f(time)}}} to {{{test.R({x1.r[1], x1.r[2], x1.r[3]}) = test.f(time)}}}. That kind of expression is handled wrong in SimCode. Due to missing optimization this is handled as nonlinear system for which the temporary variable is introduced which contains wrong type information (see SimCodeUtil.createTempVars). 2 2 3 3 Even if the type information would be correct the model will still fail. That can be tested using following model: