Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#2953 closed defect (worksforme)

Error "The arguments x_min and x_max to OneNonLinearEquation.solve(..) do not bracket the root of the single non-linear equation"

Reported by: Patrick Täuber Owned by: somebody
Priority: high Milestone: 1.9.4
Component: Backend Version: trunk
Keywords: Cc: Lennart Ochel, Willi Braun

Description

MSL32/hpcom model Modelica.Fluid.Examples.BranchingDynamicPipes.mo produces no result file with Cellier Tearing because of the following error:

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 assertion failed during initialization.
| | | | | 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 = 2.04642e+22
fa = f(x_min) - y_zero = -2.04642e+22
fb = f(x_max) - y_zero = -2.04642e+22

fa and fb must have opposite sign which is not the case

Change History (5)

comment:1 by Patrick Täuber, 10 years ago

Cc: Willi Braun added

comment:2 by Willi Braun, 10 years ago

Resolution: worksforme
Status: newclosed

Perhaps fixed already, since it works for me.

comment:3 by Patrick Täuber, 10 years ago

Yes, now it is fixed, works for me, too.

comment:4 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:5 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.