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.001428/0.001428, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001612/0.001612, allocations: 192 kB / 18.62 MB, free: 4.434 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.389/1.389, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1774/0.1774, allocations: 38.03 MB / 330.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 66.77 kB / 400.2 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 58.06 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006212/0.114, allocations: 4.486 MB / 462.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1171, allocations: 1.531 MB / 464.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.1175, allocations: 11.94 kB / 464.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1185, allocations: 290.6 kB / 464.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007872/0.1193, allocations: 262.6 kB / 464.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.1201, allocations: 259.5 kB / 465.1 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008177/0.1209, allocations: 0.6312 MB / 465.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.1215, allocations: 292.6 kB / 466 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.122, allocations: 282.9 kB / 466.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006447/0.1226, allocations: 390.8 kB / 466.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.1227, allocations: 44 kB / 466.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.123, allocations: 143.8 kB / 466.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.1233, allocations: 251.4 kB / 467.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.1236, allocations: 270.6 kB / 467.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.1243, allocations: 0.658 MB / 468.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1243, allocations: 0 / 468.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1243, allocations: 0 / 468.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1244, allocations: 0 / 468.1 MB, free: 13.55 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.001835/0.1262, allocations: 0.8858 MB / 468.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1262, allocations: 15.89 kB / 469 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005226/0.1268, allocations: 96.12 kB / 469.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1278, allocations: 0.492 MB / 469.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.1278, allocations: 29.38 kB / 469.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.128, allocations: 56.02 kB / 469.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009351/0.1289, allocations: 0.6879 MB / 470.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.129, allocations: 11.94 kB / 470.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.129, allocations: 20 kB / 470.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.1291, allocations: 28.98 kB / 470.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.13, allocations: 0.5267 MB / 470.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.1334, allocations: 3.098 MB / 474 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.134, allocations: 321.2 kB / 474.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.1342, allocations: 174.7 kB / 474.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.1343, allocations: 7.984 kB / 474.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1343, allocations: 42.56 kB / 474.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.1343, allocations: 0 / 474.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00184/0.1362, allocations: 1.206 MB / 475.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1362, allocations: 81.11 kB / 475.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.1366, allocations: 393.5 kB / 476.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1366, allocations: 41.77 kB / 476.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1368, allocations: 295.2 kB / 476.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/0.1369, allocations: 122.3 kB / 476.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.137, allocations: 102.2 kB / 476.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1372, allocations: 358.7 kB / 477.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.1374, allocations: 189 kB / 477.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.1378, allocations: 389.5 kB / 477.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.1385, allocations: 0.5932 MB / 478.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1385, allocations: 0 / 478.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00178/0.1403, allocations: 0.8297 MB / 479.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1404, allocations: 8 kB / 479.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1404, allocations: 8 kB / 479.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.1416, allocations: 269.8 kB / 479.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.1422, allocations: 131.8 kB / 479.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.1467, allocations: 4.046 MB / 483.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1471, allocations: 27.98 kB / 483.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.1472, allocations: 27.98 kB / 483.6 MB, free: 13.08 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.000317/0.1475, allocations: 225.9 kB / 483.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.1476, allocations: 35.53 kB / 483.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/0.1484, allocations: 488.9 kB / 484.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1484, allocations: 4 kB / 484.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1484, allocations: 4.188 kB / 484.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1484, allocations: 7.922 kB / 484.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1498, allocations: 1.023 MB / 485.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1498, allocations: 96 / 485.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.1502, allocations: 87.77 kB / 485.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1503, allocations: 4 kB / 485.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.1503, allocations: 15.98 kB / 485.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1503, allocations: 4 kB / 485.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1503, allocations: 0 / 485.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.1512, allocations: 0.7512 MB / 486.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1513, allocations: 116.5 kB / 486.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.1514, allocations: 8.062 kB / 486.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.1517, allocations: 23.97 kB / 486.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.1517, allocations: 19.97 kB / 486.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.1518, allocations: 16 kB / 486.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.152, allocations: 271.1 kB / 486.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.152, allocations: 0 / 486.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.1525, allocations: 120 kB / 486.8 MB, free: 9.766 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.0001177/0.1527, allocations: 115.2 kB / 486.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.1541, allocations: 0.7992 MB / 487.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1541, allocations: 3.938 kB / 487.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.1544, allocations: 207.8 kB / 487.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.1549, allocations: 92.48 kB / 488 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.158, allocations: 1.459 MB / 489.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.1584, allocations: 0.8937 MB / 490.4 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.1587, allocations: 131.3 kB / 490.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1589, allocations: 35.44 kB / 490.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1589, allocations: 4 kB / 490.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of Templates: time 0.01066/0.1695, allocations: 6.118 MB / 496.6 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 gbode -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