Failed
tests / 05 testsuite-clang 2/3 / simulation_modelica_msl22.Test3PhaseInitOver.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ Test3PhaseInitOver ... equation mismatch [time: 3] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/msl22/Test3PhaseInitOver.mos_temp4197/log-Test3PhaseInitOver.mos true record SimulationResult resultFile = "Test3Phase.Test3PhaseInitOver_res.mat", simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 1000, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'Test3Phase.Test3PhaseInitOver', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-emit_protected'", messages = "LOG_STDOUT | info | Using sparse solver for linear system 0, | | | | because density of 0.173 remains under threshold of 0.200. LOG_STDOUT | info | The maximum density for using sparse solvers can be specified | | | | using the runtime flag '<-lssMaxDensity=value>'. LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[1] = 0.0 (0.8164965809277261 * sin(6.283185307179586 * time) * (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + 5.130199320647457 * cos(6.283185307179586 * time) * (S1.signalSource.offset + (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * sin(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase))) + 0.8164965809277261 * sin(2.0943951023931953 + 6.283185307179586 * time) * (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + 5.130199320647457 * cos(2.0943951023931953 + 6.283185307179586 * time) * (S2.signalSource.offset + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * sin(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase))) + 0.8164965809277261 * sin(4.1887902047863905 + 6.283185307179586 * time) * (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz) + 5.130199320647457 * cos(4.1887902047863905 + 6.283185307179586 * time) * (S3.signalSource.offset + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * sin(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase))) = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[2] = 0.0 (0.8164965809277261 * cos(6.283185307179586 * time) * (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + (-5.130199320647457) * sin(6.283185307179586 * time) * (S1.signalSource.offset + (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * sin(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase))) + 0.8164965809277261 * cos(2.0943951023931953 + 6.283185307179586 * time) * (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + (-5.130199320647457) * sin(2.0943951023931953 + 6.283185307179586 * time) * (S2.signalSource.offset + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * sin(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase))) + 0.8164965809277261 * cos(4.1887902047863905 + 6.283185307179586 * time) * (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz) + (-5.130199320647457) * sin(4.1887902047863905 + 6.283185307179586 * time) * (S3.signalSource.offset + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * sin(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase))) = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[3] = 0.0 (0.5773502691896258 * ((if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz)) = 0.0) Warning: The initial conditions are over specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\"). " "i_abc[:] at 0.0" 0.29892137056216067 -0.22373558004283614 -0.07518579051932571 "i_dq0[:] at 0.0" -0.10504056351590862 0.36610241554535156 -6.810492847608457e-16 "i_abc[:] at 10.0" 0.29892100029602287 -0.2237375080684448 -0.07518349222758226 "i_dq0[:] at 10.0:" -0.10504355197356902 0.366101962063799 -2.4277403915592497e-15 "u_abc[:] at 0.0" 0.0 0.8660254037844387 -0.8660254037844384 "u_dq0[:] at 0.0" 1.224744871391589 3.885780586188048e-16 1.9229626863835643e-16 "u_abc[:] at 10.0" -2.4492935982947065e-15 0.8660254037844412 -0.8660254037844349 "u_dq0[:] at 10.0:" 1.2247448713915876 2.942091015256665e-15 2.179357711234706e-15 "power :" -0.1286478914541914 -0.12865155155238325 Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/modelica/msl22/Test3PhaseInitOver.mos_temp4197/equations-expected2024-01-13 02:57:50.061990141 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/msl22/Test3PhaseInitOver.mos_temp4197/equations-got2024-01-13 02:57:53.149969240 +0000 @@ -1,48 +1,52 @@ true record SimulationResult resultFile = "Test3Phase.Test3PhaseInitOver_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 1000, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'Test3Phase.Test3PhaseInitOver', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-emit_protected'", -messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. +simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 1000, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'Test3Phase.Test3PhaseInitOver', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-emit_protected'", +messages = "LOG_STDOUT | info | Using sparse solver for linear system 0, +| | | | because density of 0.173 remains under threshold of 0.200. +LOG_STDOUT | info | The maximum density for using sparse solvers can be specified +| | | | using the runtime flag '<-lssMaxDensity=value>'. +LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; -"Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[1] = 0.0 (0.8164965809277261 * sin(6.283185307179586 * time) * (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + 5.130199320647457 * cos(6.283185307179586 * time) * (S1.signalSource.offset + (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * sin(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase))) + 0.8164965809277261 * sin(2.094395102393195 + 6.283185307179586 * time) * (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + 5.130199320647457 * cos(2.094395102393195 + 6.283185307179586 * time) * (S2.signalSource.offset + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * sin(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase))) + 0.8164965809277261 * sin(4.188790204786391 + 6.283185307179586 * time) * (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz) + 5.130199320647457 * cos(4.188790204786391 + 6.283185307179586 * time) * (S3.signalSource.offset + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * sin(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase))) = 0.0) -Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[2] = 0.0 (0.8164965809277261 * cos(6.283185307179586 * time) * (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + (-5.130199320647457) * sin(6.283185307179586 * time) * (S1.signalSource.offset + (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * sin(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase))) + 0.8164965809277261 * cos(2.094395102393195 + 6.283185307179586 * time) * (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + (-5.130199320647457) * sin(2.094395102393195 + 6.283185307179586 * time) * (S2.signalSource.offset + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * sin(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase))) + 0.8164965809277261 * cos(4.188790204786391 + 6.283185307179586 * time) * (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz) + (-5.130199320647457) * sin(4.188790204786391 + 6.283185307179586 * time) * (S3.signalSource.offset + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * sin(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase))) = 0.0) +"Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[1] = 0.0 (0.8164965809277261 * sin(6.283185307179586 * time) * (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + 5.130199320647457 * cos(6.283185307179586 * time) * (S1.signalSource.offset + (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * sin(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase))) + 0.8164965809277261 * sin(2.0943951023931953 + 6.283185307179586 * time) * (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + 5.130199320647457 * cos(2.0943951023931953 + 6.283185307179586 * time) * (S2.signalSource.offset + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * sin(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase))) + 0.8164965809277261 * sin(4.1887902047863905 + 6.283185307179586 * time) * (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz) + 5.130199320647457 * cos(4.1887902047863905 + 6.283185307179586 * time) * (S3.signalSource.offset + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * sin(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase))) = 0.0) +Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[2] = 0.0 (0.8164965809277261 * cos(6.283185307179586 * time) * (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + (-5.130199320647457) * sin(6.283185307179586 * time) * (S1.signalSource.offset + (if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * sin(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase))) + 0.8164965809277261 * cos(2.0943951023931953 + 6.283185307179586 * time) * (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + (-5.130199320647457) * sin(2.0943951023931953 + 6.283185307179586 * time) * (S2.signalSource.offset + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * sin(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase))) + 0.8164965809277261 * cos(4.1887902047863905 + 6.283185307179586 * time) * (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz) + (-5.130199320647457) * sin(4.1887902047863905 + 6.283185307179586 * time) * (S3.signalSource.offset + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * sin(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase))) = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.u_dq0[3] = 0.0 (0.5773502691896258 * ((if time < S1.signalSource.startTime then 0.0 else S1.signalSource.amplitude * cos(6.283185307179586 * S1.signalSource.freqHz * (time - S1.signalSource.startTime) + S1.signalSource.phase) * 6.283185307179586 * S1.signalSource.freqHz) + (if time < S2.signalSource.startTime then 0.0 else S2.signalSource.amplitude * cos(6.283185307179586 * S2.signalSource.freqHz * (time - S2.signalSource.startTime) + S2.signalSource.phase) * 6.283185307179586 * S2.signalSource.freqHz) + (if time < S3.signalSource.startTime then 0.0 else S3.signalSource.amplitude * cos(6.283185307179586 * S3.signalSource.freqHz * (time - S3.signalSource.startTime) + S3.signalSource.phase) * 6.283185307179586 * S3.signalSource.freqHz)) = 0.0) Warning: The initial conditions are over specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\"). " "i_abc[:] at 0.0" -0.2989213705621613 --0.2237355800428353 --0.07518579051932761 +0.29892137056216067 +-0.22373558004283614 +-0.07518579051932571 "i_dq0[:] at 0.0" --0.1050405635159067 -0.3661024155453524 --9.614813431917821e-16 +-0.10504056351590862 +0.36610241554535156 +-6.810492847608457e-16 "i_abc[:] at 10.0" -0.2989210002960067 --0.2237375080684379 --0.07518349222756693 +0.29892100029602287 +-0.2237375080684448 +-0.07518349222758226 "i_dq0[:] at 10.0:" --0.105043551973575 -0.3661019620637768 -1.041604788457764e-15 +-0.10504355197356902 +0.366101962063799 +-2.4277403915592497e-15 "u_abc[:] at 0.0" 0.0 -0.8660254037844389 --0.8660254037844388 +0.8660254037844387 +-0.8660254037844384 "u_dq0[:] at 0.0" -1.22474487139159 -1.110223024625157e-16 -6.409875621278547e-17 +1.224744871391589 +3.885780586188048e-16 +1.9229626863835643e-16 "u_abc[:] at 10.0" --2.449293598294707e-15 +-2.4492935982947065e-15 0.8660254037844412 -0.8660254037844349 "u_dq0[:] at 10.0:" -1.224744871391588 +1.2247448713915876 2.942091015256665e-15 2.179357711234706e-15 "power :" --0.1286478914541893 --0.1286515515523906 +-0.1286478914541914 +-0.12865155155238325 Equation mismatch: omc-diff says: Failed 'U' 'T' Line 5: Text differs: expected: messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. got: messages = "LOG_STDOUT | info | Using sparse solver for linear system == 1 out of 1 tests failed [simulation/modelica/msl22/Test3PhaseInitOver.mos_temp4197, time: 3]