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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 79.62 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 164.8 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1685/0.1685, allocations: 29.44 MB / 290.1 MB, free: 3.297 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.768e-05/4.043e-05, allocations: 2.281 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006573/0.006613, allocations: 4.366 MB / 435.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.009405, allocations: 1.468 MB / 436.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.009588, allocations: 19.81 kB / 436.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.01047, allocations: 286.5 kB / 436.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.01106, allocations: 274.4 kB / 437.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.01183, allocations: 279.1 kB / 437.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.01254, allocations: 0.6467 MB / 438 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.01294, allocations: 240.9 kB / 438.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.01347, allocations: 394.9 kB / 438.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.01404, allocations: 367.1 kB / 439 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.01412, allocations: 43.98 kB / 439.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.01445, allocations: 163.7 kB / 439.2 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.01475, allocations: 259.3 kB / 439.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.015, allocations: 191.5 kB / 439.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.0158, allocations: 0.6893 MB / 440.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.0158, allocations: 0 / 440.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0158, allocations: 4 kB / 440.4 MB, free: 8.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01581, allocations: 0 / 440.4 MB, free: 8.277 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001719/0.01753, allocations: 0.8185 MB / 441.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.01756, allocations: 8.031 kB / 441.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/0.01827, allocations: 136.4 kB / 441.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.01922, allocations: 428.9 kB / 441.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.01925, allocations: 33.38 kB / 441.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.01938, allocations: 60.42 kB / 441.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/0.02037, allocations: 0.6882 MB / 442.5 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.0204, allocations: 3.938 kB / 442.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.02045, allocations: 16 kB / 442.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.02057, allocations: 40.98 kB / 442.6 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.02139, allocations: 0.5228 MB / 443.1 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.025, allocations: 2.863 MB / 446 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.02557, allocations: 309.2 kB / 446.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.02583, allocations: 157.7 kB / 446.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.02586, allocations: 8 kB / 446.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.0259, allocations: 46.48 kB / 446.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.0259, allocations: 0 / 446.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002064/0.02796, allocations: 1.148 MB / 447.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.02803, allocations: 81.11 kB / 447.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.02848, allocations: 401.4 kB / 448.1 MB, free: 208 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.02852, allocations: 33.7 kB / 448.1 MB, free: 168 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1866/0.2151, allocations: 300.1 kB / 448.4 MB, free: 30.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.2153, allocations: 123.2 kB / 448.5 MB, free: 30.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2155, allocations: 101.9 kB / 448.6 MB, free: 30.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.2156, allocations: 355.7 kB / 449 MB, free: 29.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.2159, allocations: 191 kB / 449.2 MB, free: 29.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.2163, allocations: 384.2 kB / 449.5 MB, free: 29.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.217, allocations: 0.6001 MB / 450.1 MB, free: 29.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.217, allocations: 2.969 kB / 450.1 MB, free: 29.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002022/0.2191, allocations: 0.8306 MB / 451 MB, free: 28.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.2191, allocations: 7.516 kB / 451 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2191, allocations: 7.25 kB / 451 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.2204, allocations: 264.9 kB / 451.2 MB, free: 28.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.2211, allocations: 139.8 kB / 451.4 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/0.2255, allocations: 3.762 MB / 455.1 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.2259, allocations: 29.41 kB / 455.2 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.2259, allocations: 26.12 kB / 455.2 MB, free: 25.96 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.0002754/0.2262, allocations: 224.8 kB / 455.4 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.2263, allocations: 42.22 kB / 455.5 MB, free: 25.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.2271, allocations: 487.3 kB / 455.9 MB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.2271, allocations: 5.031 kB / 455.9 MB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2271, allocations: 1.156 kB / 455.9 MB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2271, allocations: 9.828 kB / 456 MB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.2284, allocations: 0.8885 MB / 456.8 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2284, allocations: 1.375 kB / 456.8 MB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.2288, allocations: 93.03 kB / 456.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2288, allocations: 1.375 kB / 456.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.2289, allocations: 11.33 kB / 456.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2289, allocations: 2.078 kB / 456.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2289, allocations: 1.375 kB / 456.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009044/0.2298, allocations: 0.7541 MB / 457.7 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.2298, allocations: 39.28 kB / 457.7 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.2299, allocations: 10.95 kB / 457.8 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.2302, allocations: 20.34 kB / 457.8 MB, free: 24.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.2302, allocations: 20.28 kB / 457.8 MB, free: 24.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2303, allocations: 14.41 kB / 457.8 MB, free: 24.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.2305, allocations: 268.1 kB / 458.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2305, allocations: 1.594 kB / 458.1 MB, free: 24.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005514/0.2311, allocations: 121.7 kB / 458.2 MB, free: 24.54 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.000113/0.2312, allocations: 112.9 kB / 458.3 MB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.2327, allocations: 0.7699 MB / 459.1 MB, free: 24.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2327, allocations: 2.719 kB / 459.1 MB, free: 24.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.233, allocations: 190.4 kB / 459.3 MB, free: 24.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.2335, allocations: 91.98 kB / 459.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.2366, allocations: 1.353 MB / 460.7 MB, free: 23.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.237, allocations: 300.4 kB / 461 MB, free: 23.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003835/0.2374, allocations: 136.5 kB / 461.1 MB, free: 23.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.2375, allocations: 40.41 kB / 461.2 MB, free: 23.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2375, allocations: 1.375 kB / 461.2 MB, free: 23.23 MB / 366.1 MB Notification: Performance of Templates: time 0.0125/0.25, allocations: 6.17 MB / 467.3 MB, free: 21.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 4.727610029280186]