Skip to content

Commit

Permalink
- removed some tabs
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11788 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Apr 20, 2012
1 parent 158fe08 commit 33a4aa3
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Compiler/BackEnd/BackendDAETransform.mo
Expand Up @@ -1522,18 +1522,17 @@ algorithm
case(v,(_::eqnLst,_::ilst)) equation
((eqn,i)) = findDiscreteEquation(v,(eqnLst,ilst));
then ((eqn,i));
else
equation
Error.addMessage(Error.INTERNAL_ERROR,{"BackendDAETransform.findDiscreteEquation failed.\n
else equation
Error.addMessage(Error.INTERNAL_ERROR,{"BackendDAETransform.findDiscreteEquation failed.\n
Your model contains a mixed system involving algorithms or other complex-equations.\n
Sorry. Currently are supported only mixed system involving simple equations and boolean variables.\n
Try to break the loop by using the pre operator."});
true = Flags.isSet(Flags.FAILTRACE);
Debug.trace("findDiscreteEquation failed, searching for variables: ");
errstr = ComponentReference.printComponentRefStr(BackendVariable.varCref(v));
Debug.traceln(errstr);
then
fail();
true = Flags.isSet(Flags.FAILTRACE);
Debug.trace("findDiscreteEquation failed, searching for variables: ");
errstr = ComponentReference.printComponentRefStr(BackendVariable.varCref(v));
Debug.traceln(errstr);
then
fail();
end matchcontinue;
end findDiscreteEquation;

Expand Down

0 comments on commit 33a4aa3

Please sign in to comment.