Skip to content

Commit

Permalink
- report error only once
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13712 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Oct 30, 2012
1 parent e7c9a72 commit 9138db4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -8468,17 +8468,12 @@ algorithm
(syst,shared,arg) = matchingAlgorithmfunc(syst,ishared, match_opts, sssHandler, arg);
Debug.execStat("transformDAE -> matchingAlgorithm " +& mAmethodstr +& " index Reduction Method " +& str1,BackendDAE.RT_CLOCK_EXECSTAT_BACKEND_MODULES);
then (syst,shared,SOME(arg));
case (BackendDAE.EQSYSTEM(matching=BackendDAE.NO_MATCHING()),_,_,(matchingAlgorithmfunc,mAmethodstr),(sssHandler,str1,_,_))
case (_,_,_,(_,mAmethodstr),(_,str1,_,_))
equation
str = "Transformation Module " +& mAmethodstr +& " index Reduction Method " +& str1 +& " failed!";
Error.addMessage(Error.INTERNAL_ERROR, {str});
then
fail();
else
equation
str = "Transformation Module failed!";
Error.addMessage(Error.INTERNAL_ERROR, {str});
then fail();
end matchcontinue;
end reduceIndexDAEWork;

Expand Down

0 comments on commit 9138db4

Please sign in to comment.