Skip to content

Commit

Permalink
Remove compiler flag addTimeAsState
Browse files Browse the repository at this point in the history
  - Use --postOptModules+=addTimeAsState instead.
  • Loading branch information
AnHeuermann authored and AnHeuermann committed Nov 25, 2020
1 parent 1d9aa2f commit f5ad9af
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 99 deletions.
2 changes: 0 additions & 2 deletions OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo
Original file line number Diff line number Diff line change
Expand Up @@ -8530,8 +8530,6 @@ algorithm
enabledModules := "countOperations"::enabledModules;
end if;

enabledModules := deprecatedConfigFlag(Flags.ADD_TIME_AS_STATE, enabledModules, "addTimeAsState", "postOptModules+");

if 1 < Flags.getConfigInt(Flags.MAX_SIZE_FOR_SOLVE_LINIEAR_SYSTEM) then
enabledModules := "solveLinearSystem"::enabledModules;
end if;
Expand Down
7 changes: 0 additions & 7 deletions OMCompiler/Compiler/Translation/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -4193,13 +4193,6 @@ msgstr ""
msgid "Activates symbolic implicit solver (original system is not changed)."
msgstr ""

#: ../Util/Flags.mo:1165
msgid ""
"Experimental feature: this replaces each occurrence of variable time with a "
"new introduced state $time with equation der($time) = 1.0\n"
"Deprecated flag: Use --postOptModules+=addTimeAsState instead."
msgstr ""

#: ../Util/Flags.mo:1171
msgid "linear loops --> constraints"
msgstr ""
Expand Down
7 changes: 0 additions & 7 deletions OMCompiler/Compiler/Translation/openmodelica.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4117,13 +4117,6 @@ msgstr ""
msgid "Activates symbolic implicit solver (original system is not changed)."
msgstr ""

#: ../Util/Flags.mo:1165
msgid ""
"Experimental feature: this replaces each occurrence of variable time with a "
"new introduced state $time with equation der($time) = 1.0\n"
"Deprecated flag: Use --postOptModules+=addTimeAsState instead."
msgstr ""

#: ../Util/Flags.mo:1171
msgid "linear loops --> constraints"
msgstr ""
Expand Down

0 comments on commit f5ad9af

Please sign in to comment.