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.001191/0.001191, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001152/0.001152, allocations: 191 kB / 18.63 MB, free: 4.379 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.485/1.485, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1795/0.1795, allocations: 38.04 MB / 330.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.81 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1317, allocations: 58.07 MB / 458.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006725/0.1384, allocations: 4.479 MB / 462.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1411, allocations: 1.535 MB / 464.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.1414, allocations: 15.88 kB / 464.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.1423, allocations: 278.7 kB / 464.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.143, allocations: 270.7 kB / 464.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.1436, allocations: 259.4 kB / 465.1 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.1443, allocations: 0.6274 MB / 465.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.1448, allocations: 284.7 kB / 466.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.1452, allocations: 294.9 kB / 466.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.1458, allocations: 390.8 kB / 466.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.1459, allocations: 40 kB / 466.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.1462, allocations: 147.8 kB / 466.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.1465, allocations: 247.4 kB / 467.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.1467, allocations: 274.6 kB / 467.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.1475, allocations: 0.6619 MB / 468.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1475, allocations: 4 kB / 468.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1475, allocations: 3.938 kB / 468.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1475, allocations: 0 / 468.1 MB, free: 13.54 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.1496, allocations: 0.875 MB / 469 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.1496, allocations: 15.89 kB / 469 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.1503, allocations: 92.08 kB / 469.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.1514, allocations: 0.4959 MB / 469.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.1514, allocations: 33.38 kB / 469.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.1516, allocations: 55.97 kB / 469.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.1526, allocations: 0.684 MB / 470.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.1527, allocations: 7.984 kB / 470.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.1527, allocations: 16 kB / 470.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.1529, allocations: 36.98 kB / 470.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.1537, allocations: 0.5267 MB / 470.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/0.1575, allocations: 3.09 MB / 474 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.1581, allocations: 325.3 kB / 474.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.1584, allocations: 174.6 kB / 474.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.1584, allocations: 4 kB / 474.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1585, allocations: 46.5 kB / 474.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.1585, allocations: 0 / 474.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001931/0.1604, allocations: 1.206 MB / 475.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.1605, allocations: 85.23 kB / 475.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.1609, allocations: 389.5 kB / 476.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.1609, allocations: 29.7 kB / 476.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.1611, allocations: 299.2 kB / 476.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/0.1612, allocations: 118.3 kB / 476.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1614, allocations: 102.1 kB / 476.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1615, allocations: 354.7 kB / 477.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.1618, allocations: 196.9 kB / 477.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.1622, allocations: 381.5 kB / 477.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.163, allocations: 0.5932 MB / 478.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.163, allocations: 8 kB / 478.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001828/0.1648, allocations: 0.8334 MB / 479.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1649, allocations: 8 kB / 479.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1649, allocations: 8 kB / 479.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.1661, allocations: 262 kB / 479.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.1668, allocations: 143.7 kB / 479.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/0.1717, allocations: 4.052 MB / 483.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.1721, allocations: 27.97 kB / 483.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.1722, allocations: 28.06 kB / 483.6 MB, free: 13.07 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.0003153/0.1725, allocations: 217.9 kB / 483.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.1726, allocations: 43.52 kB / 483.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008257/0.1734, allocations: 485 kB / 484.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1735, allocations: 7.984 kB / 484.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1735, allocations: 3.938 kB / 484.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1735, allocations: 4 kB / 484.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.175, allocations: 1.007 MB / 485.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.175, allocations: 11.92 kB / 485.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.1755, allocations: 91.81 kB / 485.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1755, allocations: 0 / 485.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.1755, allocations: 16 kB / 485.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1755, allocations: 4.062 kB / 485.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1756, allocations: 0 / 485.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.1765, allocations: 0.7395 MB / 486.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1767, allocations: 128.5 kB / 486.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.1767, allocations: 8 kB / 486.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.177, allocations: 19.98 kB / 486.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.1771, allocations: 27.91 kB / 486.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.1771, allocations: 12 kB / 486.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.1774, allocations: 267.1 kB / 486.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1774, allocations: 0 / 486.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006127/0.178, allocations: 120 kB / 486.8 MB, free: 9.77 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.0001548/0.1782, allocations: 115.2 kB / 486.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.1797, allocations: 0.8068 MB / 487.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1797, allocations: 0 / 487.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.18, allocations: 195.6 kB / 487.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.1806, allocations: 101.4 kB / 488 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.1839, allocations: 1.457 MB / 489.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.1844, allocations: 0.8937 MB / 490.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.1848, allocations: 131.3 kB / 490.5 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.1849, allocations: 47.42 kB / 490.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1849, allocations: 0 / 490.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of Templates: time 0.01142/0.1964, allocations: 6.118 MB / 496.7 MB, free: 15.86 MB / 382.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","/var/lib/jenkins1/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