﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6150	The debugger output with dummy derivatives is inconsistent and confusing	Francesco Casella	Karim Adbdelhak	"Please consider the following test case (also attached)
{{{
model TestDummyDer
  Real x1(stateSelect = StateSelect.avoid);
  Real x2(stateSelect = StateSelect.avoid);
  Real z1(stateSelect = StateSelect.prefer);
  Real z2(stateSelect = StateSelect.prefer);
equation
  der(x1) = -x1 + x2;
  der(x2) = x2 - x1;
  z1 = 4*x1 + 3*x2;
  z2 = 3*x1 - 2*x2;
end TestDummyDer;
}}}
The debugger shows the following regular equations:
{{{
linear (torn), unknowns: 2, iteration variables: 1
  (torn) x2 := 1.5 * x1 - 0.5 * z2
  (residual) 3.0 * x2 + 4.0 * x1 - z1 = 0
(assign) der(x2) := x2 - x1
(assign) der(x1) := x2 - x1
(assign) der(z1) := 4.0 * $DER.x1 + 3.0 * $DER.x2
(assign) der(z2) := 3.0 * $DER.x1 + (-2.0) * $DER.x2
}}}

On the right-hand sides I see symbols {{{$DER.XXX}}} that apparently indicate dummy derivatives. Unfortunately, they are not used on the left-hand sides, nor do they ever show up in the Depends windows. This is very confusing. Shouldn't we use consistent symbols everywhere?"	defect	new	blocker	1.19.0	Backend				
