Skip to content

Commit

Permalink
- display the annoying DAELow.lower2 errors only when given the +d=fa…
Browse files Browse the repository at this point in the history
…iltrace flag.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4820 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 20, 2010
1 parent cbf845c commit 1151b6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/DAELow.mo
Expand Up @@ -4905,9 +4905,9 @@ algorithm
case (DAE.DAE(elementLst = (ddl :: xs)),_,vars,knvars,extVars,_)
local DAE.Element ddl; String s3;
equation
print("- DAELow.lower2 failed\n");
s3 = DAEUtil.dumpElementsStr({ddl});
print(s3 +& "\n");
// show only on failtrace!
true = RTOpts.debugFlag("failtrace");
Debug.fprintln("failtrace", "- DAELow.lower2 failed on: " +& DAEUtil.dumpElementsStr({ddl}));
then
fail();
end matchcontinue;
Expand Down

0 comments on commit 1151b6d

Please sign in to comment.