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.001433/0.001433, allocations: 110.3 kB / 17.74 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.00114/0.00114, allocations: 181.4 kB / 18.67 MB, free: 4.438 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1909/0.1909, allocations: 38.03 MB / 330.6 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.89 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2999, allocations: 58.05 MB / 0.5048 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005602/0.3056, allocations: 4.494 MB / 0.5092 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3078, allocations: 1.526 MB / 0.5106 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.308, allocations: 12.97 kB / 0.5107 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.3088, allocations: 285.3 kB / 0.5109 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005563/0.3094, allocations: 266.5 kB / 0.5112 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.31, allocations: 262.6 kB / 0.5114 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005956/0.3106, allocations: 0.6305 MB / 0.5121 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.3111, allocations: 291.5 kB / 0.5123 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.3114, allocations: 292.6 kB / 0.5126 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.312, allocations: 387.5 kB / 0.513 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/0.3121, allocations: 41.88 kB / 0.513 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.3124, allocations: 153.2 kB / 0.5132 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.3127, allocations: 244.7 kB / 0.5134 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.313, allocations: 272.9 kB / 0.5137 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000898/0.314, allocations: 0.6567 MB / 0.5143 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.314, allocations: 5.188 kB / 0.5143 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.314, allocations: 0 / 0.5143 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.314, allocations: 0 / 0.5143 GB, free: 1.984 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.001941/0.3159, allocations: 0.8857 MB / 0.5152 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.316, allocations: 14.19 kB / 0.5152 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.3166, allocations: 87.2 kB / 0.5153 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3176, allocations: 0.4927 MB / 0.5157 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.3177, allocations: 33.39 kB / 0.5158 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3178, allocations: 53.38 kB / 0.5158 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.3187, allocations: 0.6916 MB / 0.5165 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3188, allocations: 1.375 kB / 0.5165 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.3188, allocations: 17.8 kB / 0.5165 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.319, allocations: 37.28 kB / 0.5166 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.32, allocations: 0.5285 MB / 0.5171 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.3239, allocations: 3.092 MB / 0.5201 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.3245, allocations: 326.4 kB / 0.5204 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.3247, allocations: 182.2 kB / 0.5206 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.3248, allocations: 7.891 kB / 0.5206 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3248, allocations: 44.03 kB / 0.5206 GB, free: 13.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/0.3248, allocations: 0 / 0.5206 GB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002179/0.327, allocations: 1.202 MB / 0.5218 GB, free: 13.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.3271, allocations: 89.53 kB / 0.5219 GB, free: 13.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.3276, allocations: 395.5 kB / 0.5223 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.3276, allocations: 30.89 kB / 0.5223 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.3278, allocations: 303.7 kB / 0.5226 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3279, allocations: 111.9 kB / 0.5227 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3281, allocations: 103.9 kB / 0.5228 GB, free: 12.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3283, allocations: 354.8 kB / 0.5231 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.3286, allocations: 196.6 kB / 0.5233 GB, free: 12.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.329, allocations: 385.1 kB / 0.5237 GB, free: 11.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007716/0.3298, allocations: 0.5898 MB / 0.5243 GB, free: 11.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3298, allocations: 2.344 kB / 0.5243 GB, free: 11.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001918/0.3317, allocations: 0.8325 MB / 0.5251 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3318, allocations: 8.953 kB / 0.5251 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3318, allocations: 5.781 kB / 0.5251 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.3331, allocations: 277.5 kB / 0.5254 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.3338, allocations: 134.9 kB / 0.5255 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.3389, allocations: 4.052 MB / 0.5294 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.3394, allocations: 27.08 kB / 0.5295 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.3395, allocations: 26.12 kB / 0.5295 GB, free: 7.715 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.0003513/0.3398, allocations: 227.5 kB / 0.5297 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.3399, allocations: 37.03 kB / 0.5297 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/0.3407, allocations: 481.2 kB / 0.5302 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3408, allocations: 1.828 kB / 0.5302 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3408, allocations: 1.938 kB / 0.5302 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3409, allocations: 122.7 kB / 0.5303 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.341, allocations: 12.61 kB / 0.5303 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.3412, allocations: 21.7 kB / 0.5304 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.3413, allocations: 19.67 kB / 0.5304 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00135/0.3427, allocations: 0.6743 MB / 0.531 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001103/0.3438, allocations: 0.922 MB / 0.5319 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002726/0.3441, allocations: 195.2 kB / 0.5321 GB, free: 6.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.3444, allocations: 276 kB / 0.5324 GB, free: 6.164 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3444, allocations: 0 / 0.5324 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.3464, allocations: 0.7805 MB / 0.5331 GB, free: 5.707 MB / 398.1 MB Notification: Performance of SimCode: time 0.002048/0.3484, allocations: 1.632 MB / 0.5347 GB, free: 4.445 MB / 398.1 MB Notification: Performance of Templates: time 0.0133/0.3617, allocations: 7.224 MB / 0.5418 GB, free: 0.8711 MB / 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/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