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.001086/0.001086, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001272/0.001272, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.418/1.418, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1732/0.1732, allocations: 38.03 MB / 329.4 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.88 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1341, allocations: 58.06 MB / 456.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.009473/0.1436, allocations: 5.127 MB / 461.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.1476, allocations: 1.702 MB / 463.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.148, allocations: 27.81 kB / 463.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1492, allocations: 271 kB / 463.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007446/0.15, allocations: 239 kB / 463.7 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.1508, allocations: 239.6 kB / 463.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008673/0.1517, allocations: 0.6273 MB / 464.6 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006719/0.1524, allocations: 316.6 kB / 464.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.1529, allocations: 282.9 kB / 465.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.1537, allocations: 410.7 kB / 465.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.546e-05/0.1538, allocations: 44 kB / 465.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.1542, allocations: 143.8 kB / 465.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.1545, allocations: 247.3 kB / 466 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.1547, allocations: 278.6 kB / 466.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006412/0.1554, allocations: 0.6542 MB / 466.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1554, allocations: 0 / 466.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1554, allocations: 0 / 466.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1554, allocations: 0 / 466.9 MB, free: 13.79 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.001749/0.1572, allocations: 0.8788 MB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1572, allocations: 15.83 kB / 467.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.1578, allocations: 88.23 kB / 467.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.1586, allocations: 483.8 kB / 468.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.1587, allocations: 41.36 kB / 468.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.1588, allocations: 52.11 kB / 468.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.1598, allocations: 0.6801 MB / 469.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1598, allocations: 7.938 kB / 469.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/0.1599, allocations: 19.98 kB / 469.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.16, allocations: 36.98 kB / 469.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.1608, allocations: 0.5307 MB / 469.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.1643, allocations: 3.094 MB / 472.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.1649, allocations: 329.1 kB / 473.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.1652, allocations: 174.2 kB / 473.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.1652, allocations: 7.984 kB / 473.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1653, allocations: 46.56 kB / 473.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.1653, allocations: 0 / 473.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001973/0.1672, allocations: 1.208 MB / 474.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1673, allocations: 81.11 kB / 474.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.1677, allocations: 393.5 kB / 475 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1678, allocations: 37.7 kB / 475.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.168, allocations: 295.2 kB / 475.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/0.1681, allocations: 114.4 kB / 475.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1682, allocations: 106.1 kB / 475.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1684, allocations: 354.7 kB / 475.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.1687, allocations: 193 kB / 476.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.1691, allocations: 381.5 kB / 476.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.1698, allocations: 0.5932 MB / 477.1 MB, free: 3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1698, allocations: 4 kB / 477.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001972/0.1718, allocations: 0.8374 MB / 477.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1718, allocations: 8 kB / 477.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.1718, allocations: 12 kB / 477.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.1732, allocations: 261.9 kB / 478.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.1738, allocations: 139.8 kB / 478.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/0.1788, allocations: 4.041 MB / 482.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.1792, allocations: 31.91 kB / 482.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.1792, allocations: 24 kB / 482.4 MB, free: 13.34 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.0002896/0.1795, allocations: 233.6 kB / 482.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1796, allocations: 35.53 kB / 482.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.1804, allocations: 489 kB / 483.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1804, allocations: 7.984 kB / 483.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1804, allocations: 3.938 kB / 483.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1804, allocations: 0 / 483.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1819, allocations: 1.015 MB / 484.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1819, allocations: 0 / 484.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.1824, allocations: 91.81 kB / 484.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1824, allocations: 4 kB / 484.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.1824, allocations: 12 kB / 484.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.1825, allocations: 3.984 kB / 484.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1825, allocations: 4 kB / 484.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.1834, allocations: 0.7472 MB / 485.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1835, allocations: 120.6 kB / 485.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.1836, allocations: 8 kB / 485.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.1839, allocations: 16.23 kB / 485.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.1839, allocations: 27.97 kB / 485.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.184, allocations: 19.98 kB / 485.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002779/0.1842, allocations: 267.2 kB / 485.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1843, allocations: 0 / 485.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.1848, allocations: 120 kB / 485.6 MB, free: 10.02 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.0001294/0.1849, allocations: 107.2 kB / 485.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.1865, allocations: 0.8569 MB / 486.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1865, allocations: 448 / 486.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.1868, allocations: 207.6 kB / 486.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1874, allocations: 103.1 kB / 486.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.1908, allocations: 1.663 MB / 488.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1914, allocations: 0.8975 MB / 489.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003789/0.1918, allocations: 135.3 kB / 489.6 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.1919, allocations: 39.44 kB / 489.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1919, allocations: 0 / 489.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of Templates: time 0.01177/0.2037, allocations: 6.116 MB / 495.7 MB, free: 15.84 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 -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