#3477 closed defect (fixed)
Problem with simplified algorithms in certain cases
Reported by: | Lennart Ochel | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | Backend | Version: | |
Keywords: | Cc: |
Description
Some simplifications on algorithms may have the result that output variables disappear. This is probably one of the simplest test cases to show the issue:
model M Real x; algorithm if initial() then x := cos(time); end if; end M;
This is the error dump:
[Compiler/SimCode/SimCodeUtil.mo:5122:7-5122:164:writable] Error: Internal error Inverse Algorithm needs to be solved for {x} in algorithm Discrete variables are not supported yet. [Compiler/SimCode/SimCodeUtil.mo:5127:7-5127:88:writable] Error: Internal error function createSingleAlgorithmCode failed [Compiler/SimCode/SimCodeUtil.mo:456:5-456:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]
Change History (4)
comment:1 by , 9 years ago
Status: | new → accepted |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 1f2a73.
Test added in 535508.