Opened 12 years ago

Closed 11 years ago

#1874 closed defect (worksforme)

Error sorting boolean variables

Reported by: Martin Sjölund Owned by: somebody
Priority: high Milestone: 1.9.1
Component: Backend Version:
Keywords: Cc: Jens Frenkel

Description

In Modelica.Blocks.Examples.BooleanNetwork1:

[Modelica 3.2.1/Blocks/MathBoolean.mo:253:5-254:37:writable] Error: Model is structurally singular, error found sorting equations 10: not showValue4.showActive = not Modelica.Math.BooleanVectors.anyTrue({or2.u[1], xor1.u[2]});
 for variables 

Why doesn't this believe there are any variables to sort? And why isn't the equation simplified to:

showValue4.showActive = Modelica.Math.BooleanVectors.anyTrue({or2.u[1], xor1.u[2]});

Change History (2)

comment:1 by Martin Sjölund, 11 years ago

Milestone: 1.9.01.9.1

Postponed until 1.9.1

comment:2 by Martin Sjölund, 11 years ago

Resolution: worksforme
Status: newclosed

This is working now

Note: See TracTickets for help on using tickets.