Opened 11 years ago

Closed 11 years ago

#2328 closed enhancement (fixed)

backenddaeinfo statistics counts wrong no. of single equations

Reported by: ptaeuber Owned by: ptaeuber
Priority: normal Milestone: 1.9.0
Component: Backend Version: trunk
Keywords: backenddaeinfo, tearing Cc: lochel, jfrenkel

Description

Example: testsuite/simulation/modelica/tearing/Tearing2-1.mos

After Tearing:
StrongComponents
========================================
{9:6}
{{{8:4}, {4:7}, {2:8}}
,{3:3} Size: 1 linear
{5:2}
{1:9}
{6:1}
{7:5}

But backenddaeinfo statistics counts:
Single Equations: 6
torn linear Equationsystems: 1 {1 3}

Apparently the no. of torn systems is not subtracted from the no. of single equations.

Change History (4)

comment:1 Changed 11 years ago by lochel

  • Cc jfrenkel added
  • Owner changed from lochel to ptaeuber
  • Status changed from new to assigned

I agree. Various strong component types are collapsed for this dump. This is a bit confusing and could be done better. We distinguish between

  • SINGLEEQUATION
  • EQUATIONSYSTEM
  • MIXEDEQUATIONSYSTEM
  • SINGLEARRAY
  • SINGLEALGORITHM
  • SINGLECOMPLEXEQUATION
  • SINGLEWHENEQUATION
  • SINGLEIFEQUATION
  • TORNSYSTEM

in the corresponding Backend uniontype.
It would be better if the dump lists all of these types individually.

I gues you can fix it by your own. It is good for practising ;-)
Also I have added Jens, because I guess he introduced that dump.

Last edited 11 years ago by lochel (previous) (diff)

comment:2 Changed 11 years ago by jfrenkel

  • feel free to change it. Primarily it was informative for compiler developers. Now since it is also used in OMEdit it could be more informative for modellers

comment:3 Changed 11 years ago by lochel

  • Type changed from defect to enhancement

Well, I agree. This is actually more an enhancement than a defect. Anyway, it might be also for developers interesting/important whether a strong component is handled as single equation or torn system.

comment:4 Changed 11 years ago by ptaeuber

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.