Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 116.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2743, allocations: 50.54 MB / 408.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009884/0.2842, allocations: 9.139 MB / 417.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.2896, allocations: 2.639 MB / 420.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.2912, allocations: 67.81 kB / 420.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007883/0.2991, allocations: 3.741 MB / 424.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.3022, allocations: 0.7567 MB / 425.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.3047, allocations: 0.9298 MB / 426 MB, free: 340 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.3091, allocations: 3.626 MB / 429.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0129/0.322, allocations: 9.513 MB / 439.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.3251, allocations: 2.096 MB / 441.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/0.3288, allocations: 2.371 MB / 443.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.3302, allocations: 0.5859 MB / 444.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.3325, allocations: 0.8201 MB / 445 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.3341, allocations: 1.107 MB / 446.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003715/0.3378, allocations: 2.272 MB / 448.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009813/0.3476, allocations: 7.932 MB / 456.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3477, allocations: 0 / 456.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3477, allocations: 0 / 456.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002828/0.348, allocations: 0 / 456.4 MB, free: 1.855 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01499/0.363, allocations: 4.937 MB / 461.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3631, allocations: 12.03 kB / 461.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001776/0.3648, allocations: 0.5884 MB / 461.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008586/0.3734, allocations: 1.314 MB / 463.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.3785, allocations: 2.323 MB / 465.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.3788, allocations: 308.4 kB / 465.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.3801, allocations: 416 kB / 466.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/0.393, allocations: 5.477 MB / 471.7 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.3932, allocations: 4 kB / 471.7 MB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008858/0.3941, allocations: 164 kB / 471.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.3943, allocations: 184.6 kB / 472.1 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009656/0.4039, allocations: 4.796 MB / 476.9 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03373/0.4377, allocations: 19.34 MB / 496.2 MB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/0.4423, allocations: 3.891 MB / 0.4884 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.4436, allocations: 0.7809 MB / 0.4891 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.4438, allocations: 199.2 kB / 0.4893 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4439, allocations: 43.56 kB / 0.4894 GB, free: 3.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.316e-06/0.4439, allocations: 0 / 0.4894 GB, free: 3.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002363/0.4463, allocations: 1.554 MB / 0.4909 GB, free: 2.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4463, allocations: 68.28 kB / 0.4909 GB, free: 2.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.4484, allocations: 1.342 MB / 0.4922 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.4485, allocations: 41.7 kB / 0.4923 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.4495, allocations: 1.823 MB / 0.4941 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.4498, allocations: 388.9 kB / 0.4944 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006179/0.4505, allocations: 451.6 kB / 0.4949 GB, free: 13.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4506, allocations: 349.9 kB / 0.4952 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.4518, allocations: 0.8279 MB / 0.496 GB, free: 12.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.4536, allocations: 1.823 MB / 0.4978 GB, free: 10.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.4567, allocations: 2.798 MB / 0.5005 GB, free: 7.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-05/0.4567, allocations: 12 kB / 0.5005 GB, free: 7.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003988/0.4607, allocations: 2.735 MB / 0.5032 GB, free: 4.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.4608, allocations: 22.91 kB / 0.5032 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/0.4608, allocations: 36 kB / 0.5033 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.703e-05/0.4609, allocations: 48 kB / 0.5033 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.4625, allocations: 0.5186 MB / 0.5038 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.227e-05/0.4626, allocations: 71.72 kB / 0.5039 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.464, allocations: 298.3 kB / 0.5042 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.4642, allocations: 115.9 kB / 0.5043 GB, free: 3.363 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002191/0.4664, allocations: 1.488 MB / 0.5057 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.4666, allocations: 127.2 kB / 0.5059 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.4688, allocations: 1.45 MB / 0.5073 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001439/0.4703, allocations: 1.041 MB / 0.5083 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4703, allocations: 0 / 0.5083 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4703, allocations: 3.984 kB / 0.5083 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/0.4881, allocations: 13.74 MB / 0.5217 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.27e-05/0.4883, allocations: 24 kB / 0.5217 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/0.4892, allocations: 224.5 kB / 0.5219 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.488e-05/0.4892, allocations: 28 kB / 0.522 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.4894, allocations: 55.98 kB / 0.522 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.275e-05/0.4894, allocations: 43.8 kB / 0.5221 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.068e-05/0.4894, allocations: 35.81 kB / 0.5221 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.4926, allocations: 2.671 MB / 0.5247 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/0.4934, allocations: 335.9 kB / 0.525 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.4937, allocations: 56 kB / 0.5251 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.4947, allocations: 71.94 kB / 0.5252 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.4949, allocations: 143.3 kB / 0.5253 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/0.495, allocations: 59.98 kB / 0.5253 GB, free: 12.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.4964, allocations: 0.9023 MB / 0.5262 GB, free: 11.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4964, allocations: 0 / 0.5262 GB, free: 11.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002758/0.4992, allocations: 0.8832 MB / 0.5271 GB, free: 10.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003672/0.5029, allocations: 3.289 MB / 0.5303 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.506, allocations: 1.927 MB / 0.5322 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/0.506, allocations: 0 / 0.5322 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009375/0.507, allocations: 0.633 MB / 0.5328 GB, free: 4.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.5095, allocations: 342.1 kB / 0.5331 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2444/0.7539, allocations: 18.61 MB / 0.5513 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.756, allocations: 2.806 MB / 0.554 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001523/0.7576, allocations: 0.7631 MB / 0.5548 GB, free: 114.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.7586, allocations: 1.144 MB / 0.5559 GB, free: 113.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7587, allocations: 3.938 kB / 0.5559 GB, free: 113.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06059/0.8193, allocations: 39.22 MB / 0.5942 GB, free: 75.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.718/10.54, allocations: 4 kB / 0.5942 GB, free: 75.08 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches