Opened 19 years ago

Last modified 19 years ago

#71 closed defect (fixed)

Stack overflow when Exp.simplify(e)

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: critical Milestone:
Component: Version:
Keywords: Cc: Adrian Pop, Adrian Pop

Description


Change History (2)

comment:1 by Adrian Pop, 19 years ago

Starting from a model provided by Atya El-Shekh I
devised the smallest model that has this problem:

model test

Real x;
Real y;

equation

x=1+(1.9/y)2;

end test;

It seems that the compiler enters a
loop when simplifying the expression:
1+(1.9/y)2;

I will try to debug this problem myself,
but if anybody knows more about the
simplifying code feel free to help out.

Adrian/

comment:2 by Adrian Pop, 19 years ago

Fixed in SVN revision 2373.
I added simplifications for (constant1 constant2) => constant3
and now the compiler exited from the infinite loop.

Note: See TracTickets for help on using tickets.