﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2472	non-linear solver issues after ExpressionSimplify changes	Volker Waurich	somebody	"Hi,

after the removal of the cases: 
(a+b)c1 => ac1+bc1
and
(a-b)c1 => a/c1-b/c1
in ExpressionSimplify.mo made in rev [17956]

the msl32-model Modelica.Fluid.Examples.BranchingDynamicPipes.mos fails.


The output I get under Windows is:
{{{
Error: Simulation did not produce a result-file
Errors: Simulation execution failed for model: Modelica.Fluid.Examples.BranchingDynamicPipes
stdout            | warning | | While solving non-linear system an assert was called.
|                 | |       | | The non-linear solver tries to solve the problem that could take some time.
|                 | |       | | It could help to provide better start-values for the iteration variables.
|                 | |       | | For more information simulate with -lv LOG_NLS
The arguments x_min and x_max to OneNonLinearEquation.solve(..)
do not bracket the root of the single non-linear equation:
  x_min  = 190
  x_max  = 647
  y_zero = -731619
  fa = f(x_min) - y_zero = 657098
  fb = f(x_max) - y_zero = 1.39941e+006
fa and fb must have opposite sign which is not the case
}}}

"	defect	closed	normal	Future	Run-time	trunk	worksforme	non-linear solver	Adrian Pop Willi Braun Christian Schubert Vitalij Ruge Lennart Ochel
