Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 107.3 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001837, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1773/0.1773, allocations: 38.05 MB / 329.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 62.58 kB / 398.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1234, allocations: 58.06 MB / 456.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007377/0.1308, allocations: 4.49 MB / 461.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.1338, allocations: 1.523 MB / 462.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.1342, allocations: 15.88 kB / 462.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1353, allocations: 286.6 kB / 463.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008027/0.1362, allocations: 266.7 kB / 463.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.137, allocations: 263.4 kB / 463.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000943/0.138, allocations: 0.6274 MB / 464.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/0.1386, allocations: 284.7 kB / 464.6 MB, free: 320 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.1391, allocations: 286.9 kB / 464.9 MB, free: 32 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007504/0.1399, allocations: 386.9 kB / 465.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.14, allocations: 40 kB / 465.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.1404, allocations: 155.6 kB / 465.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.1407, allocations: 247.4 kB / 465.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.1411, allocations: 270.7 kB / 465.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.1418, allocations: 0.6502 MB / 466.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1418, allocations: 0 / 466.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1418, allocations: 4 kB / 466.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.1418, allocations: 0 / 466.6 MB, free: 14.3 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002074/0.1439, allocations: 0.875 MB / 467.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.144, allocations: 15.83 kB / 467.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006436/0.1446, allocations: 92.14 kB / 467.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.1456, allocations: 479.9 kB / 468.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.1456, allocations: 41.3 kB / 468.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.1458, allocations: 56.03 kB / 468.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.1468, allocations: 0.6946 MB / 468.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1468, allocations: 4 kB / 468.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.1468, allocations: 16 kB / 468.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.147, allocations: 36.98 kB / 468.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.1478, allocations: 0.5267 MB / 469.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.1514, allocations: 3.102 MB / 472.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.152, allocations: 321.8 kB / 472.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.1522, allocations: 170.2 kB / 473 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.1523, allocations: 8 kB / 473 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1523, allocations: 46.5 kB / 473.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.1523, allocations: 0 / 473.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001974/0.1543, allocations: 1.21 MB / 474.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1544, allocations: 81.11 kB / 474.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.1548, allocations: 389.5 kB / 474.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1549, allocations: 37.83 kB / 474.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1551, allocations: 303.2 kB / 475.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.1552, allocations: 114.3 kB / 475.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.1553, allocations: 102.1 kB / 475.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1554, allocations: 358.7 kB / 475.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1558, allocations: 189 kB / 475.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.1562, allocations: 385.5 kB / 476.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.1569, allocations: 0.5932 MB / 476.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1569, allocations: 4 kB / 476.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001917/0.1588, allocations: 0.8375 MB / 477.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1589, allocations: 8 kB / 477.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1589, allocations: 8 kB / 477.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.1602, allocations: 265.8 kB / 477.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.1608, allocations: 139.8 kB / 478 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004924/0.1657, allocations: 4.052 MB / 482.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.1662, allocations: 27.97 kB / 482.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.1662, allocations: 31.92 kB / 482.1 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.1665, allocations: 221.8 kB / 482.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.987e-05/0.1666, allocations: 43.59 kB / 482.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/0.1674, allocations: 489 kB / 482.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1675, allocations: 7.984 kB / 482.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1675, allocations: 4.031 kB / 482.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1675, allocations: 3.938 kB / 482.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.1689, allocations: 1.015 MB / 483.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1689, allocations: 4 kB / 483.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.1694, allocations: 91.81 kB / 484 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1694, allocations: 0 / 484 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.1695, allocations: 15.98 kB / 484 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1695, allocations: 0 / 484 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1695, allocations: 0 / 484 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.1704, allocations: 0.7434 MB / 484.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1706, allocations: 128.4 kB / 484.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.1707, allocations: 12.06 kB / 484.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1709, allocations: 15.98 kB / 484.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.171, allocations: 23.97 kB / 484.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.171, allocations: 15.98 kB / 485 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.1713, allocations: 267.1 kB / 485.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1713, allocations: 0 / 485.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.1718, allocations: 124 kB / 485.3 MB, free: 10.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001211/0.172, allocations: 107.2 kB / 485.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.1735, allocations: 0.857 MB / 486.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1735, allocations: 0 / 486.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.1738, allocations: 211.8 kB / 486.5 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.1744, allocations: 81.64 kB / 486.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.1777, allocations: 1.464 MB / 488 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.1782, allocations: 0.9015 MB / 488.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.1786, allocations: 131.3 kB / 489.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1787, allocations: 39.38 kB / 489.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1787, allocations: 0 / 489.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of Templates: time 0.01147/0.1902, allocations: 6.123 MB / 495.2 MB, free: 0.5508 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.v[1],meter.v[2],meter.v[3] Variables in the result:$cse7,load.R_base,load.R_n,load.S_base,load.S_nom,load.V2_nom,load.V_nom,load.Z_start[1],load.Z_start[2],load.c0,load.cpl,load.dynType,load.i_start[1],load.i_start[2],load.imax,load.pq0[1],load.pq0[2],load.puUnits,load.r_n,load.tcst,load.use_pq_in,load.v[1],load.v[2],load.v_start[1],load.v_start[2],meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.abc,meter.av,meter.i[1],meter.i[2],meter.i[3],meter.p[1],meter.p[2],meter.p[3],meter.puUnits,meter.tcst,meter.v[1],meter.v[2],meter.v[3],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,trsSignal[1].coef,trsSignal[1].s_end,trsSignal[1].s_start,trsSignal[1].t_change,trsSignal[1].t_duration,trsSignal[2].coef,trsSignal[2].s_end,trsSignal[2].s_start,trsSignal[2].t_change,trsSignal[2].t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0