Skip to content

Commit c1e4ea9

Browse files
author
vruge
committed
update test
1 parent 8165162 commit c1e4ea9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

simulation/modelica/initialization/OverdeterminedInitialization.Mechanical.TwoMassesFullInitial.mos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ simulate(OverdeterminedInitialization.Mechanical.TwoMassesFullInitial); getError
1717
// simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'OverdeterminedInitialization.Mechanical.TwoMassesFullInitial', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
1818
// messages = ""
1919
// end SimulationResult;
20-
// "Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters during compile time: mass2.s = 1.0 (1.0 + 0.5 * (mass1.L + mass2.L) = 1.0 )
20+
// "Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters during compile time: mass1.s = 1.0 (1.0 + -0.5 * (mass2.L + mass1.L) = 1.0 )
2121
// Warning: The initial conditions are over specified. Use +d=initialization for more information.
2222
// "
2323
// endResult

simulation/modelica/initialization/OverdeterminedInitialization.Mechanical.TwoMassesFullInitialInconsistent.mos

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ simulate(OverdeterminedInitialization.Mechanical.TwoMassesFullInitialInconsisten
1616
// resultFile = "",
1717
// simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'OverdeterminedInitialization.Mechanical.TwoMassesFullInitialInconsistent', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
1818
// messages = "Simulation execution failed for model: OverdeterminedInitialization.Mechanical.TwoMassesFullInitialInconsistent
19-
// LOG_INIT | error | The initialization problem is inconsistent due to the following equation: 0 != 1 = 2.0 - mass2.s
19+
// LOG_INIT | error | The initialization problem is inconsistent due to the following equation: 0 != -1 = 1.0 - mass1.s
2020
// stdout | warning | Error in initialization. Storing results and exiting.
2121
// | | | | Use -lv=LOG_INIT -w for more information.
2222
// "
2323
// end SimulationResult;
24-
// "Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters during compile time: mass2.s = 2.0 (1.0 + 0.5 * (mass1.L + mass2.L) = 2.0 )
24+
// "Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters during compile time: mass1.s = 1.0 (2.0 + -0.5 * (mass2.L + mass1.L) = 1.0 )
2525
// Warning: The initial conditions are over specified. Use +d=initialization for more information.
2626
// "
2727
// endResult

0 commit comments

Comments
 (0)