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.001206/0.001206, allocations: 104.2 kB / 17.06 MB, free: 5.992 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.001441/0.001441, allocations: 191 kB / 18 MB, free: 5.078 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.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.175/0.175, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.89 kB / 458.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4508, allocations: 58.05 MB / 0.5041 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005713/0.4566, allocations: 4.493 MB / 0.5085 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.4593, allocations: 1.521 MB / 0.51 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.4597, allocations: 12.69 kB / 0.51 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4607, allocations: 288.9 kB / 0.5103 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.4615, allocations: 272 kB / 0.5105 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.4623, allocations: 258.3 kB / 0.5108 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000753/0.4631, allocations: 0.6399 MB / 0.5114 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004884/0.4636, allocations: 293.2 kB / 0.5117 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.464, allocations: 285.9 kB / 0.5119 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.4647, allocations: 390.5 kB / 0.5123 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.4648, allocations: 41.44 kB / 0.5124 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.4651, allocations: 146 kB / 0.5125 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.4654, allocations: 244.8 kB / 0.5127 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.4657, allocations: 284 kB / 0.513 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.4667, allocations: 0.6538 MB / 0.5136 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4667, allocations: 1.062 kB / 0.5136 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4667, allocations: 0 / 0.5136 GB, free: 1.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4668, allocations: 0 / 0.5136 GB, free: 1.918 MB / 382.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.001914/0.4687, allocations: 0.8845 MB / 0.5145 GB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4687, allocations: 12.98 kB / 0.5145 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/0.4693, allocations: 92.86 kB / 0.5146 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4703, allocations: 497.8 kB / 0.5151 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.4704, allocations: 30.75 kB / 0.5151 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.4705, allocations: 65.81 kB / 0.5152 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.4716, allocations: 0.6821 MB / 0.5158 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.4717, allocations: 2.375 kB / 0.5158 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.4717, allocations: 17.09 kB / 0.5159 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.4719, allocations: 40.91 kB / 0.5159 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.473, allocations: 0.5321 MB / 0.5164 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.4773, allocations: 3.089 MB / 0.5194 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/0.4782, allocations: 323.8 kB / 0.5197 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.4786, allocations: 181.5 kB / 0.5199 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.752e-05/0.4787, allocations: 8.75 kB / 0.5199 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.4787, allocations: 45 kB / 0.52 GB, free: 13.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.424e-06/0.4787, allocations: 0 / 0.52 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002619/0.4813, allocations: 1.204 MB / 0.5211 GB, free: 13.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.4814, allocations: 85.69 kB / 0.5212 GB, free: 13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.482, allocations: 399.3 kB / 0.5216 GB, free: 12.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.482, allocations: 31.84 kB / 0.5216 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.4823, allocations: 298.9 kB / 0.5219 GB, free: 12.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.4824, allocations: 116 kB / 0.522 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4826, allocations: 99.59 kB / 0.5221 GB, free: 12.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4828, allocations: 362.8 kB / 0.5225 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.4831, allocations: 195.7 kB / 0.5227 GB, free: 11.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.4836, allocations: 385.2 kB / 0.523 GB, free: 11.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008138/0.4844, allocations: 0.5951 MB / 0.5236 GB, free: 11.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4844, allocations: 1.375 kB / 0.5236 GB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002049/0.4865, allocations: 0.8293 MB / 0.5244 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.4865, allocations: 9.125 kB / 0.5244 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.4866, allocations: 10.44 kB / 0.5244 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.4879, allocations: 264.3 kB / 0.5247 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.4886, allocations: 138.8 kB / 0.5248 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005423/0.494, allocations: 4.05 MB / 0.5288 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.4945, allocations: 27.84 kB / 0.5288 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.4946, allocations: 25.08 kB / 0.5288 GB, free: 7.648 MB / 398.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.0004446/0.495, allocations: 223.4 kB / 0.529 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.4951, allocations: 38 kB / 0.5291 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008762/0.496, allocations: 479.8 kB / 0.5295 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.496, allocations: 8.469 kB / 0.5295 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.496, allocations: 5.781 kB / 0.5295 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.496, allocations: 2.109 kB / 0.5295 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.498, allocations: 1.016 MB / 0.5305 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.498, allocations: 1.188 kB / 0.5305 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/0.4985, allocations: 92.06 kB / 0.5306 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4986, allocations: 6.969 kB / 0.5306 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.4986, allocations: 10.28 kB / 0.5306 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.4986, allocations: 2.219 kB / 0.5306 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4986, allocations: 2.188 kB / 0.5306 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4999, allocations: 0.7373 MB / 0.5314 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.5, allocations: 133 kB / 0.5315 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.5001, allocations: 9.5 kB / 0.5315 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5003, allocations: 20.05 kB / 0.5315 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.5004, allocations: 22.75 kB / 0.5315 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.5004, allocations: 10.36 kB / 0.5316 GB, free: 6.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004161/0.5009, allocations: 269.1 kB / 0.5318 GB, free: 6.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5009, allocations: 0 / 0.5318 GB, free: 6.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.5016, allocations: 123 kB / 0.5319 GB, free: 6.023 MB / 398.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.0001948/0.5018, allocations: 116.9 kB / 0.532 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.5036, allocations: 0.8044 MB / 0.5328 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5036, allocations: 0 / 0.5328 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.5039, allocations: 199.2 kB / 0.533 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.5045, allocations: 95.31 kB / 0.5331 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5081, allocations: 1.461 MB / 0.5345 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.5088, allocations: 0.8963 MB / 0.5354 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003814/0.5091, allocations: 136.8 kB / 0.5355 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.5093, allocations: 38.3 kB / 0.5356 GB, free: 3.555 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5093, allocations: 0 / 0.5356 GB, free: 3.555 MB / 398.1 MB Notification: Performance of Templates: time 0.01367/0.523, allocations: 6.239 MB / 0.5417 GB, free: 496 kB / 398.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