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.001627/0.001627, allocations: 112.5 kB / 17.06 MB, free: 5.945 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.001479/0.001479, allocations: 196.1 kB / 18.01 MB, free: 5.027 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.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.05 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.04 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 55.91 kB / 458.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4666, allocations: 58.06 MB / 0.5041 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006012/0.4727, allocations: 4.49 MB / 0.5085 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.4754, allocations: 1.522 MB / 0.51 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.4757, allocations: 13.12 kB / 0.51 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009283/0.4767, allocations: 282.8 kB / 0.5103 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.4773, allocations: 269.6 kB / 0.5105 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.4782, allocations: 259.4 kB / 0.5108 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.4789, allocations: 0.6417 MB / 0.5114 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.4794, allocations: 288.6 kB / 0.5117 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.4799, allocations: 280.7 kB / 0.5119 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006714/0.4806, allocations: 387 kB / 0.5123 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.612e-05/0.4807, allocations: 40.97 kB / 0.5123 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.481, allocations: 156.7 kB / 0.5125 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.4813, allocations: 244.5 kB / 0.5127 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.4817, allocations: 280.6 kB / 0.513 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.4826, allocations: 0.653 MB / 0.5136 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4826, allocations: 3.938 kB / 0.5136 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4826, allocations: 0 / 0.5136 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.4826, allocations: 1.25 kB / 0.5136 GB, free: 1.965 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.001843/0.4845, allocations: 0.8933 MB / 0.5145 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4845, allocations: 16.92 kB / 0.5145 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.4851, allocations: 96.53 kB / 0.5146 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.4861, allocations: 0.4962 MB / 0.5151 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.4861, allocations: 30.47 kB / 0.5151 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.4863, allocations: 52.02 kB / 0.5152 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.4874, allocations: 0.6882 MB / 0.5158 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.4874, allocations: 6.062 kB / 0.5159 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.4875, allocations: 18.22 kB / 0.5159 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.4876, allocations: 36.48 kB / 0.5159 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.4887, allocations: 0.5283 MB / 0.5164 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.4926, allocations: 3.108 MB / 0.5195 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.4933, allocations: 323.7 kB / 0.5198 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.4936, allocations: 177.9 kB / 0.5199 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.4937, allocations: 8.172 kB / 0.5199 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.4937, allocations: 37.39 kB / 0.52 GB, free: 13.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.4937, allocations: 1.156 kB / 0.52 GB, free: 13.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002431/0.4962, allocations: 1.224 MB / 0.5212 GB, free: 13.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.4963, allocations: 85.23 kB / 0.5213 GB, free: 13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.4968, allocations: 392 kB / 0.5216 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.4969, allocations: 35.83 kB / 0.5217 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.4971, allocations: 311.1 kB / 0.522 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4973, allocations: 125.6 kB / 0.5221 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.4975, allocations: 100.2 kB / 0.5222 GB, free: 12.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4977, allocations: 362.5 kB / 0.5225 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.498, allocations: 188.5 kB / 0.5227 GB, free: 11.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.4985, allocations: 389.7 kB / 0.5231 GB, free: 11.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.4993, allocations: 0.5939 MB / 0.5237 GB, free: 11.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4993, allocations: 1.344 kB / 0.5237 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002143/0.5014, allocations: 0.83 MB / 0.5245 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5015, allocations: 8.109 kB / 0.5245 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5015, allocations: 6.875 kB / 0.5245 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.5028, allocations: 265.2 kB / 0.5247 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.5034, allocations: 137.5 kB / 0.5249 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.509, allocations: 4.039 MB / 0.5288 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.5096, allocations: 34.92 kB / 0.5288 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.5097, allocations: 25.47 kB / 0.5289 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.0004606/0.5101, allocations: 222.6 kB / 0.5291 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.5102, allocations: 38.95 kB / 0.5291 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009849/0.5112, allocations: 487.5 kB / 0.5296 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5113, allocations: 9.141 kB / 0.5296 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5113, allocations: 5.125 kB / 0.5296 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5113, allocations: 6 kB / 0.5296 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.5131, allocations: 1.012 MB / 0.5306 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.5132, allocations: 5.375 kB / 0.5306 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.5137, allocations: 92.25 kB / 0.5307 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5137, allocations: 2.406 kB / 0.5307 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.5137, allocations: 15.05 kB / 0.5307 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5137, allocations: 2.406 kB / 0.5307 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5137, allocations: 1.469 kB / 0.5307 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5149, allocations: 0.7409 MB / 0.5314 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.515, allocations: 129.8 kB / 0.5315 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.5151, allocations: 12.59 kB / 0.5316 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.5153, allocations: 15.62 kB / 0.5316 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.5154, allocations: 24.28 kB / 0.5316 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.5154, allocations: 10.64 kB / 0.5316 GB, free: 6.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.5157, allocations: 267.9 kB / 0.5319 GB, free: 6.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5158, allocations: 0 / 0.5319 GB, free: 6.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006584/0.5164, allocations: 123.1 kB / 0.532 GB, free: 6.012 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.0001719/0.5166, allocations: 116.9 kB / 0.5321 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.5183, allocations: 0.8042 MB / 0.5329 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5184, allocations: 1.062 kB / 0.5329 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.5187, allocations: 194.1 kB / 0.5331 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.5193, allocations: 100.2 kB / 0.5332 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.5228, allocations: 1.476 MB / 0.5346 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.5234, allocations: 0.8965 MB / 0.5355 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.5238, allocations: 133.7 kB / 0.5356 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.524, allocations: 37.67 kB / 0.5356 GB, free: 3.484 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.524, allocations: 0 / 0.5356 GB, free: 3.484 MB / 398.1 MB Notification: Performance of Templates: time 0.01221/0.5362, allocations: 6.236 MB / 0.5417 GB, free: 424 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