﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2324	Linear Tearing produces wrong simulation results	Patrick Täuber	Lennart Ochel	"{{{#!mo
model Tearing 
  ""Example from Book Continous System Simulation by F. Cellier page 263""
   Real u0;
   Real i1(start=1);
  Real i2(start=1);
  Real i3(start=1);
   Real u1(start=1);
  Real u2(start=1);
  Real u3(start=1);
   parameter Real r1=10;
   parameter Real r2=10;
   parameter Real r3=10;
equation 
   u0 = sin(time)*10;
   u1-r1*i1=0;
   u2-r2*i2=0;
   u3-r3*i3=0;
   u1+u3=u0;
   u2-u3=0;
   i1-i2-i3=0;
end Tearing;
}}}

Using linear Tearing produces the following values for time=0:
{{{
[4] Real u1(start=1, nominal=1) = -10 (pre: 1)
[7] Real i1(start=1, nominal=1) = 2 (pre: 1)
Eq2: u1-r1*i1 <> 0;
}}}

Example from:
testsuite/simulation/modelica/tearing/Tearing.mo"	defect	closed	high	1.9.0	Run-time	trunk	fixed		Lennart Ochel Jens Frenkel Volker Waurich
