Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,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.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001659/0.001659, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.426/1.426, 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.1691/0.1691, allocations: 38.03 MB / 330.6 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.09 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3377, allocations: 58.05 MB / 0.5048 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.00539/0.3432, allocations: 5.187 MB / 0.5098 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.346, allocations: 1.751 MB / 0.5115 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.3462, allocations: 18.84 kB / 0.5116 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.3474, allocations: 441.6 kB / 0.512 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.348, allocations: 300.7 kB / 0.5123 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.349, allocations: 362 kB / 0.5126 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008091/0.3498, allocations: 0.7584 MB / 0.5134 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.3503, allocations: 381.5 kB / 0.5137 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.3507, allocations: 340.3 kB / 0.514 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.3513, allocations: 462.7 kB / 0.5145 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.455e-05/0.3514, allocations: 50.38 kB / 0.5145 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.3518, allocations: 174.5 kB / 0.5147 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.3521, allocations: 289.8 kB / 0.515 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.3524, allocations: 340.5 kB / 0.5153 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008421/0.3532, allocations: 0.8053 MB / 0.5161 GB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3533, allocations: 0 / 0.5161 GB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3533, allocations: 2.219 kB / 0.5161 GB, free: 0.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.3533, allocations: 0 / 0.5161 GB, free: 0.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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001607/0.3549, allocations: 0.9116 MB / 0.517 GB, free: 268 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.355, allocations: 12.3 kB / 0.517 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.3561, allocations: 138 kB / 0.5171 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3572, allocations: 0.5356 MB / 0.5176 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.3572, allocations: 39.95 kB / 0.5177 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004181/0.3576, allocations: 130.2 kB / 0.5178 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.359, allocations: 0.8596 MB / 0.5186 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.3591, allocations: 2.438 kB / 0.5187 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/0.3592, allocations: 25.61 kB / 0.5187 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005016/0.3597, allocations: 79.73 kB / 0.5188 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.3607, allocations: 0.6169 MB / 0.5194 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.3658, allocations: 3.778 MB / 0.523 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.3671, allocations: 0.5404 MB / 0.5236 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.3677, allocations: 317.2 kB / 0.5239 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.3678, allocations: 14.69 kB / 0.5239 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3678, allocations: 42.53 kB / 0.5239 GB, free: 12.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 3.136e-06/0.3678, allocations: 0 / 0.5239 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003549/0.3714, allocations: 1.829 MB / 0.5257 GB, free: 11.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3715, allocations: 87.66 kB / 0.5258 GB, free: 11.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.372, allocations: 424.9 kB / 0.5262 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3721, allocations: 36.03 kB / 0.5262 GB, free: 10.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.3723, allocations: 323.5 kB / 0.5265 GB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.3726, allocations: 196.8 kB / 0.5267 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.3728, allocations: 153.7 kB / 0.5269 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.3731, allocations: 373.2 kB / 0.5272 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.3737, allocations: 378 kB / 0.5276 GB, free: 9.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/0.3745, allocations: 0.6017 MB / 0.5282 GB, free: 9.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.3759, allocations: 1.069 MB / 0.5292 GB, free: 8.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3759, allocations: 3.562 kB / 0.5292 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004698/0.3806, allocations: 2.001 MB / 0.5312 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3806, allocations: 7.844 kB / 0.5312 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3806, allocations: 7.406 kB / 0.5312 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.3832, allocations: 0.9658 MB / 0.5321 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.3836, allocations: 125.5 kB / 0.5323 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.3949, allocations: 8.183 MB / 0.5403 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.3955, allocations: 31.83 kB / 0.5403 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.3956, allocations: 45.11 kB / 0.5403 GB, free: 2.418 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003986/0.396, allocations: 253.5 kB / 0.5406 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.3961, allocations: 51.75 kB / 0.5406 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3974, allocations: 0.723 MB / 0.5413 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3975, allocations: 5.266 kB / 0.5413 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3975, allocations: 0 / 0.5413 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3976, allocations: 127.8 kB / 0.5415 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.3978, allocations: 30.06 kB / 0.5415 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.3981, allocations: 22 kB / 0.5415 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.3982, allocations: 34.53 kB / 0.5415 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003148/0.4014, allocations: 1.268 MB / 0.5428 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001756/0.4032, allocations: 1.376 MB / 0.5441 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000485/0.4037, allocations: 371.3 kB / 0.5445 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.404, allocations: 283.1 kB / 0.5447 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Backend: time 6.72e-07/0.404, allocations: 0 / 0.5447 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.407, allocations: 1.388 MB / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 0.003583/0.4106, allocations: 2.89 MB / 0.5489 GB, free: 10.36 MB / 414.1 MB Notification: Performance of Templates: time 0.02086/0.4315, allocations: 13.18 MB / 0.5618 GB, free: 13.23 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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:$cse4,$cse5,line.C,line.C0,line.G,line.GC_base[1],line.GC_base[2],line.L,line.L0,line.R,line.RL_base[1],line.RL_base[2],line.delta_len_km,line.dynType,line.i_start[1],line.i_start[2],line.i_start[3],line.len,line.ne,line.ne1,line.par.S_nom,line.par.V_nom,line.par.b_pg,line.par.b_pp,line.par.f_nom,line.par.g_pg,line.par.g_pp,line.par.puUnits,line.par.r,line.par.x,line.par.x0,line.v_start[1],line.v_start[2],line.v_start[3],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,voltage1.S_nom,voltage1.V_base,voltage1.V_nom,voltage1.alpha0,voltage1.f,voltage1.fType,voltage1.puUnits,voltage1.use_vPhasor_in,voltage1.v0,voltage2.S_nom,voltage2.V_base,voltage2.V_nom,voltage2.alpha,voltage2.alpha0,voltage2.f,voltage2.fType,voltage2.phi,voltage2.puUnits,voltage2.use_vPhasor_in,voltage2.v0,voltage2.vPhasor_internal[1],voltage2.vPhasor_internal[2]