Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit ce469c3

Browse files
kabdelhakOpenModelica-Hudson
authored andcommitted
[BE] Fix mixed-determined dump and raise index to 10
Belonging to [master]: - #2920
1 parent 5c4124c commit ce469c3

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Compiler/BackEnd/Initialization.mo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,6 @@ algorithm
13931393
//BackendDump.dumpEquationArray(eqns2, "remaining equations");
13941394
DoubleEndedList.push_list_back(dumpVars, dumpVars2);
13951395
end if;
1396-
13971396
outEqSystem := BackendDAEUtil.setEqSystEqs(inEqSystem, eqns2);
13981397
//print("index-" + intString(index) + " ende\n");
13991398
//execStat("fixInitialSystem (initialization) [nEqns: " + intString(nEqns) + ", nAddEqs: " + intString(nAddEqs) + ", nAddVars: " + intString(nAddVars) + "]");

Compiler/Util/Error.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ public constant Message VAR_NO_REMAINING_EQN = MESSAGE(582, SYMBOLIC(), WARNING(
977977
public constant Message MOVING_PARAMETER_BINDING_TO_INITIAL_EQ_SECTION = MESSAGE(583, TRANSLATION(), NOTIFICATION(),
978978
Util.gettext("Moving binding to initial equation section and setting fixed attribute of %s to false."));
979979
public constant Message MIXED_DETERMINED = MESSAGE(584, SYMBOLIC(), ERROR(),
980-
Util.gettext("The given system is mixed-determined. [index > %s]\nPlease checkout the option \"--maxMixedDeterminedIndex\"."));
980+
Util.gettext("The initialization problem of given system is mixed-determined. It is under- as well as overdetermined and the mixed-determination-index is too high. [index > %s]\nPlease checkout the option \"--maxMixedDeterminedIndex\" to simulate with a higher threshold or consider changing some initial equations, fixed variables and start values."));
981981
public constant Message STACK_OVERFLOW_DETAILED = MESSAGE(584, SCRIPTING(), ERROR(),
982982
Util.gettext("Stack overflow occurred while evaluating %s:\n%s"));
983983
public constant Message NF_VECTOR_INVALID_DIMENSIONS = MESSAGE(585, TRANSLATION(), ERROR(),

Compiler/Util/Flags.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ constant ConfigFlag INIT_OPT_MODULES = CONFIG_FLAG(77, "initOptModules",
12801280
Util.gettext("Sets the initialization optimization modules to use in the back end. See --help=optmodules for more info."));
12811281

12821282
constant ConfigFlag MAX_MIXED_DETERMINED_INDEX = CONFIG_FLAG(78, "maxMixedDeterminedIndex",
1283-
NONE(), EXTERNAL(), INT_FLAG(3), NONE(),
1283+
NONE(), EXTERNAL(), INT_FLAG(10), NONE(),
12841284
Util.gettext("Sets the maximum mixed-determined index that is handled by the initialization."));
12851285
constant ConfigFlag USE_LOCAL_DIRECTION = CONFIG_FLAG(79, "useLocalDirection",
12861286
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),

0 commit comments

Comments
 (0)