Opened 6 years ago
Last modified 4 years ago
#5787 new defect
Flag -d=bltdump does not produce any output anymore
| Reported by: | Adrian Pop | Owned by: | somebody | 
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Interactive Environment | Version: | v1.14.0 | 
| Keywords: | Cc: | Andreas Heuermann, Karim Adbdelhak | 
Description
It seems that -d=bltdump does not produce any output since 1.14.
Reported here:
https://openmodelica.org/forum/default-topic/2865-compiler-flags-for-new-
front-end
Any way to bring this back?
Change History (7)
follow-up: 4 comment:1 by , 6 years ago
comment:2 by , 6 years ago
bltdump from v1.13.2:
true
true
""
State Order: (0)
=============
unmatched equations:
MSS subsets:
unmatched equations:
MSS subsets:
bltdump:
unspecified partition
========================================
Variables (9)
========================================
1: n_bounce:DISCRETE(start = 0 )  type: Integer
2: v_new:DISCRETE()  type: Real
3: impact:DISCRETE()  type: Boolean
4: flying:DISCRETE(start = true )  "true, if ball is flying" type: Boolean
5: v:STATE(1)()  "velocity of ball" type: Real
6: h:STATE(1,v)(start = 1.0 )  "height of ball" type: Real
7: $whenCondition1:DISCRETE(fixed = true protected = true )  "impact and v <= 0.0" type: Boolean  unreplaceable
8: $whenCondition2:DISCRETE(fixed = true protected = true )  "impact" type: Boolean  unreplaceable
9: $whenCondition3:DISCRETE(fixed = true protected = true )  "h <= 0.0 and v <= 0.0" type: Boolean  unreplaceable
Equations (9, 9)
========================================
1/1 (1): impact = h <= 0.0   [dynamic |0|0|0|0|]
2/2 (1): der(v) = if flying then -g else 0.0   [dynamic |0|0|0|0|]
3/3 (1): der(h) = v   [dynamic |0|0|0|0|]
4/4 (1): when {$whenCondition1, $whenCondition2} then
  v_new := if impact and not pre(impact) then (-e) * pre(v) else 0.0;
end when;   [dynamic |0|0|0|0|]
5/5 (1): when {$whenCondition1, $whenCondition2} then
  flying := v_new > 0.0;
end when;   [dynamic |0|0|0|0|]
6/6 (1): when {$whenCondition1, $whenCondition2} then
  n_bounce := 1 + pre(n_bounce);
end when;   [dynamic |0|0|0|0|]
7/7 (1): $whenCondition1 = impact and v <= 0.0   [dynamic |0|0|0|0|]
8/8 (1): $whenCondition2 = impact   [dynamic |0|0|0|0|]
9/9 (1): $whenCondition3 = h <= 0.0 and v <= 0.0   [dynamic |0|0|0|0|]
Simple Equations (1, 0)
========================================
1/1 (0): when {$whenCondition3, $whenCondition2} then
  reinit(v,v_new);
end when;   [dynamic |0|0|0|0|]
State Sets
========================================
Matching
========================================
9 variables and equations
var 1 is solved in eqn 6
var 2 is solved in eqn 4
var 3 is solved in eqn 1
var 4 is solved in eqn 5
var 5 is solved in eqn 2
var 6 is solved in eqn 3
var 7 is solved in eqn 7
var 8 is solved in eqn 8
var 9 is solved in eqn 9
StrongComponents
========================================
{9:9}
{3:6}
{1:3}
{7:7}
{8:8}
WhenEquation  {4:2}
WhenEquation  {5:4}
{2:5}
WhenEquation  {6:1}
BackendDAEType: simulation
Known variables only depending on parameters and constants - globalKnownVars (2)
========================================
1: e:PARAM()  = 0.7  "coefficient of restitution" type: Real
2: g:PARAM()  = 9.81  "gravity acceleration" type: Real
Known variables only depending on states and inputs - localKnownVars (0)
========================================
External Objects (0)
========================================
Classes of External Objects (0)
========================================
Alias Variables (0)
========================================
Simple Shared Equations (0, 0)
========================================
Initial Equations (0, 0)
========================================
Zero Crossings (0)
========================================
Relations (0)
========================================
Time Events (0)
========================================
Constraints (0)
========================================
Base partitions (0)
========================================
Sub partitions (0)
========================================
no stateorder
=============
unmatched equations:
MSS subsets:
unmatched equations:
MSS subsets:
no stateorder
=============
unmatched equations:
MSS subsets:
unmatched equations:
MSS subsets:
no stateorder
=============
unmatched equations:
MSS subsets:
unmatched equations:
MSS subsets:
no stateorder
=============
unmatched equations:
MSS subsets:
unmatched equations:
MSS subsets:
State Order: (0)
=============
unmatched equations:
MSS subsets:
unmatched equations:
MSS subsets:
State Order: (0)
=============
unmatched equations:
MSS subsets:
unmatched equations:
MSS subsets:
comment:3 by , 6 years ago
-d=dumpindxdae will get the same informations that the "old" bltdump was giving.
comment:4 by , 6 years ago
| Milestone: | Future → 1.16.0 | 
|---|
Replying to AnHeuermann:
The name is misleading, since it is more a index-reduction dump, but that is what the users are used to. We could add some message if nothing was dumped, but wouldn't bother for v1.14
Would be nice to have in 1.16.0, if you bother to do that.
comment:6 by , 5 years ago
| Milestone: | 1.17.0 → 1.18.0 | 
|---|
Retargeted to 1.18.0 because of 1.17.0 timed release.


The bltdump itself is working fine (tested on Windows 10, 64 bit 1.14.0, 1.14.1 and 1.16.0-dev). It simply doesn't produce any output for examples without index reduction, like for the BouncingBall example.
The name is misleading, since it is more a index-reduction dump, but that is what the users are used to. We could add some message if nothing was dumped, but wouldn't bother for v1.14
I haven't checked why it dumped some output on v1.13.2.