Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

loadFile("Advection_N3200.mo");getErrorString();

setCommandLineOptions("--daeMode=dynamic -d=nogen");
setCommandLineOptions("--daeMode -d=nogen");
extraSimFlags := "-mei=4000 -daeMode -s=ida -idaLS=klu --equationsPerFile=200";
setCFlags(getCFlags() + " -Os");

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ testDAEp7.mos \
testDAEp8.mos \
testDAEp9.mos \
testDAEmodeDrumBoiler.mos \
testDAEScaling.mos
testDAEScaling.mos \
testDAE10.mos \

# Dependency files that are not .mo .mos or Makefile
Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAE10.mos
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ end Test10;
");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(Test10);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEScaling.mos
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ equation
end Test;
");getErrorString();

setCommandLineOptions("--maxSizeNonlinearTearing=0 --daeMode=all");getErrorString();
setCommandLineOptions("--maxSizeNonlinearTearing=0 --daeMode");getErrorString();

// Test 1 well-scaled model
//loadString("model Test1 extends Test(N=100); end Test1;");
Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEmodeDrumBoiler.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadModel(Modelica,{"3.2.1"});
getErrorString();

setCommandLineOptions("--daeMode=new");
setCommandLineOptions("--daeMode");
simulate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler, method="ida");
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp1.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p1);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp2.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p2, tolerance = 1e-10);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp3.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p3);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp4.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p4);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp5.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p5);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp6.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p6);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp7.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p7);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp8.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p8);
getErrorString();

Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/daemode/testDAEp9.mos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
loadFile("./testDAEPackage.mo");
getErrorString();

setCommandLineOptions("+daeMode=new");
setCommandLineOptions("--daeMode");
simulate(testDAE.p9);
getErrorString();

Expand Down