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.001837/0.001837, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001625/0.001625, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3114/0.3114, allocations: 29.41 MB / 290.5 MB, free: 2.438 MB / 266.7 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 1.794e-06/1.794e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.155e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007162/0.007194, allocations: 4.389 MB / 373.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.01031, allocations: 1.461 MB / 374.7 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.01059, allocations: 23.81 kB / 374.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.01161, allocations: 278.5 kB / 375 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.01228, allocations: 278.4 kB / 375.3 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.01305, allocations: 267.2 kB / 375.6 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008634/0.01391, allocations: 0.6505 MB / 376.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.0144, allocations: 252.9 kB / 376.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006087/0.01501, allocations: 382.9 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006596/0.01567, allocations: 375.1 kB / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.01575, allocations: 40 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.01611, allocations: 167.6 kB / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.01642, allocations: 259.3 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.01669, allocations: 191.5 kB / 377.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009253/0.01762, allocations: 0.6815 MB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.01762, allocations: 4 kB / 378.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01762, allocations: 0 / 378.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.01763, allocations: 0 / 378.5 MB, free: 1.625 MB / 346.7 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.002209/0.01984, allocations: 0.8146 MB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.01988, allocations: 11.98 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.02068, allocations: 180.4 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.02172, allocations: 452.8 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.02176, allocations: 33.38 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.02189, allocations: 48.53 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.02304, allocations: 0.696 MB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.02306, allocations: 3.938 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.02311, allocations: 16 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.02323, allocations: 36.97 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009294/0.02416, allocations: 0.5229 MB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.0282, allocations: 2.875 MB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.0288, allocations: 301.2 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.02909, allocations: 161.7 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.02913, allocations: 8 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.02916, allocations: 39 kB / 384.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.353e-06/0.02916, allocations: 0 / 384.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002217/0.03138, allocations: 1.163 MB / 385.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.03145, allocations: 81.11 kB / 385.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.03221, allocations: 409.4 kB / 386.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.03225, allocations: 29.7 kB / 386.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.0325, allocations: 304 kB / 386.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.03262, allocations: 123 kB / 386.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.03279, allocations: 102.3 kB / 386.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.03301, allocations: 354.7 kB / 387.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.03334, allocations: 193.2 kB / 387.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.03387, allocations: 386.5 kB / 387.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.03477, allocations: 0.6009 MB / 388.4 MB, free: 7.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.03478, allocations: 0 / 388.4 MB, free: 7.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002099/0.03688, allocations: 0.8493 MB / 389.3 MB, free: 6.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.03689, allocations: 8.625 kB / 389.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.0369, allocations: 12 kB / 389.3 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.0388, allocations: 361.2 kB / 389.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.03944, allocations: 135.8 kB / 389.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005779/0.04522, allocations: 3.784 MB / 393.5 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.04555, allocations: 23.98 kB / 393.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.04561, allocations: 27.98 kB / 393.6 MB, free: 1.785 MB / 362.7 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.0003187/0.04593, allocations: 229.5 kB / 393.8 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.04603, allocations: 47.77 kB / 393.9 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000889/0.04692, allocations: 477.3 kB / 394.3 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.04693, allocations: 12.06 kB / 394.3 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.04693, allocations: 0 / 394.3 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.04694, allocations: 3.984 kB / 394.3 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.04845, allocations: 0.8822 MB / 395.2 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.04845, allocations: 4 kB / 395.2 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.04893, allocations: 87.88 kB / 395.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.04894, allocations: 0 / 395.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.04897, allocations: 12.05 kB / 395.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.04897, allocations: 3.938 kB / 395.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.04898, allocations: 8.062 kB / 395.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.05014, allocations: 0.7548 MB / 396.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.05022, allocations: 39.81 kB / 396.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.05027, allocations: 8 kB / 396.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.05053, allocations: 15.98 kB / 396.2 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.0506, allocations: 31.89 kB / 396.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.05064, allocations: 15.94 kB / 396.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003359/0.05097, allocations: 267.1 kB / 396.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05097, allocations: 0 / 396.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005189/0.05149, allocations: 120 kB / 396.6 MB, free: 14.71 MB / 378.7 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.000169/0.05166, allocations: 115.2 kB / 396.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.05325, allocations: 0.7784 MB / 397.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.05325, allocations: 0 / 397.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.05357, allocations: 183.8 kB / 397.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.05414, allocations: 106.3 kB / 397.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.0575, allocations: 1.366 MB / 399.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.05787, allocations: 290.5 kB / 399.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.05822, allocations: 131.3 kB / 399.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.05837, allocations: 44.48 kB / 399.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.05837, allocations: 0 / 399.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01329/0.07166, allocations: 6.208 MB / 405.8 MB, free: 5.504 MB / 378.7 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: 5.03517844399903]