Skip to content

Commit

Permalink
- minor change to error message "inverse algorithm needs to be solved"
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16602 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Jul 16, 2013
1 parent db46228 commit b65891f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/BackEnd/SimCodeUtil.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2633,7 +2633,7 @@ algorithm
false = ComponentReference.crefEqualNoStringCompare(BackendVariable.varCref(v), varOutput);
algStr = DAEDump.dumpAlgorithmsStr({DAE.ALGORITHM(alg, source)});
message = ComponentReference.printComponentRefStr(BackendVariable.varCref(v));
message = stringAppendList({"Inverse Algorithm needs to be solved for ", message, " in ", algStr, ". This has not been implemented yet.\n"});
message = stringAppendList({"Inverse Algorithm needs to be solved for ", message, " in \n", algStr, "This has not been implemented yet.\n"});
Error.addMessage(Error.INTERNAL_ERROR, {message});
then fail();

Expand Down Expand Up @@ -2673,7 +2673,7 @@ algorithm
false = ComponentReference.crefEqualNoStringCompare(BackendVariable.varCref(v), varOutput);
algStr = DAEDump.dumpAlgorithmsStr({DAE.ALGORITHM(alg, source)});
message = ComponentReference.printComponentRefStr(BackendVariable.varCref(v));
message = stringAppendList({"Inverse Algorithm needs to be solved for ", message, " in ", algStr, ". This has not been implemented yet.\n"});
message = stringAppendList({"Inverse Algorithm needs to be solved for ", message, " in \n", algStr, "This has not been implemented yet.\n"});
Error.addMessage(Error.INTERNAL_ERROR, {message});
then fail();
end matchcontinue;
Expand Down Expand Up @@ -6343,7 +6343,7 @@ algorithm
failure(List.map2AllValue(solvedVars, List.isMemberOnTrue, true, algOutVars, ComponentReference.crefEqualNoStringCompare));
algStr = DAEDump.dumpAlgorithmsStr({DAE.ALGORITHM(alg, source)});
message = ComponentReference.printComponentRefListStr(solvedVars);
message = stringAppendList({"Inverse Algorithm needs to be solved for ", message, " in ", algStr, ". This has not been implemented yet.\n"});
message = stringAppendList({"Inverse Algorithm needs to be solved for ", message, " in \n", algStr, "This has not been implemented yet.\n"});
Error.addMessage(Error.INTERNAL_ERROR, {message});
then
fail();
Expand Down

0 comments on commit b65891f

Please sign in to comment.