#3379 closed defect (invalid)
wrong partitioning
Reported by: | Lennart Ochel | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | never |
Component: | Backend | Version: | trunk |
Keywords: | Cc: |
Description
Consider following model:
function f_very_time_consuming input Real x; output Real y; algorithm y := sin(x); y := x; end f_very_time_consuming; model Test4 Real x; Real y1, y2, y3; equation der(x) = 1.0/(time+1.0); y1 = f_very_time_consuming(x); y2 = f_very_time_consuming(x); y3 = f_very_time_consuming(x); end Test4;
Module "clockPartitioning" ends up with a single partitioning:
pre-optimization module clockPartitioning: unspecified partition ======================================== Variables (4) ======================================== 1: y3:VARIABLE() .TestCSE.Test4, .Real type: Real [] 2: y2:VARIABLE() .TestCSE.Test4, .Real type: Real [] 3: y1:VARIABLE() .TestCSE.Test4, .Real type: Real [] 4: x:VARIABLE() .TestCSE.Test4, .Real type: Real [] Equations (4, 4) ======================================== 1/1 (1): der(x) = 1.0 / (1.0 + time) [dynamic] 2/2 (1): y1 = TestCSE.f_very_time_consuming(x) [dynamic] 3/3 (1): y2 = TestCSE.f_very_time_consuming(x) [dynamic] 4/4 (1): y3 = TestCSE.f_very_time_consuming(x) [dynamic]
Change History (2)
comment:1 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 9 years ago
Milestone: | Future → never |
---|
Note:
See TracTickets
for help on using tickets.
Sorting away the closed as invalid, won't fix and duplicate tickets from Future.