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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001716/0.001716, allocations: 182.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 223.1 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009854/0.0009855, allocations: 92.05 kB / 270.5 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1717/0.1717, allocations: 38.01 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3464, allocations: 55.24 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.008866/0.3554, allocations: 5.128 MB / 482.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003668/0.3591, allocations: 1.775 MB / 484 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.3598, allocations: 28.22 kB / 484 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009479/0.3607, allocations: 263.2 kB / 484.3 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.3615, allocations: 245.6 kB / 484.5 MB, free: 4.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.3624, allocations: 233.8 kB / 484.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.3637, allocations: 0.8934 MB / 485.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.3644, allocations: 271.3 kB / 485.9 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005355/0.365, allocations: 251.7 kB / 486.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.3658, allocations: 398.2 kB / 486.5 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.3659, allocations: 26.12 kB / 486.6 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.3663, allocations: 147.9 kB / 486.7 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.3667, allocations: 233.9 kB / 486.9 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.3671, allocations: 254.8 kB / 487.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3682, allocations: 0.6405 MB / 487.8 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3682, allocations: 2.078 kB / 487.8 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3682, allocations: 4 kB / 487.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3682, allocations: 0 / 487.8 MB, free: 3.523 MB / 314.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.002099/0.3703, allocations: 0.8754 MB / 488.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3704, allocations: 9.422 kB / 488.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.3709, allocations: 88.44 kB / 488.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009729/0.3719, allocations: 486 kB / 489.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.372, allocations: 30.19 kB / 489.3 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.3721, allocations: 56.41 kB / 489.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.3733, allocations: 0.6923 MB / 490.1 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3733, allocations: 5.781 kB / 490.1 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.3734, allocations: 17.5 kB / 490.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.3735, allocations: 33 kB / 490.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.3749, allocations: 0.5251 MB / 490.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/0.3801, allocations: 3.109 MB / 493.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/0.3809, allocations: 321.7 kB / 494.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.3812, allocations: 173.6 kB / 494.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.3813, allocations: 10.38 kB / 494.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3813, allocations: 36.55 kB / 494.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.3813, allocations: 0 / 494.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002565/0.3839, allocations: 1.214 MB / 495.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.384, allocations: 81.12 kB / 495.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.3846, allocations: 392.6 kB / 496 MB, free: 14.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3847, allocations: 30.77 kB / 496 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3849, allocations: 302.4 kB / 496.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.385, allocations: 122 kB / 496.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.3852, allocations: 98.48 kB / 496.5 MB, free: 14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3854, allocations: 364 kB / 496.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.3858, allocations: 186.7 kB / 497 MB, free: 13.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.3864, allocations: 382.1 kB / 497.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.3873, allocations: 0.6054 MB / 498 MB, free: 12.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3873, allocations: 2.188 kB / 498 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00223/0.3895, allocations: 0.835 MB / 498.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3896, allocations: 7.562 kB / 498.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3896, allocations: 10.84 kB / 498.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3908, allocations: 266.2 kB / 499.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.3915, allocations: 139.9 kB / 499.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0046/0.3961, allocations: 3.749 MB / 0.4912 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.3965, allocations: 26.58 kB / 0.4913 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.3966, allocations: 26.83 kB / 0.4913 GB, free: 8.98 MB / 330.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.0003432/0.3969, allocations: 226.8 kB / 0.4915 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.397, allocations: 37.59 kB / 0.4915 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/0.3979, allocations: 491.4 kB / 0.492 GB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.398, allocations: 4.094 kB / 0.492 GB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.398, allocations: 0.8125 kB / 0.492 GB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.398, allocations: 8.906 kB / 0.492 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3997, allocations: 1.013 MB / 0.493 GB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3997, allocations: 0.7188 kB / 0.493 GB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.4002, allocations: 93.28 kB / 0.4931 GB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4002, allocations: 2.719 kB / 0.4931 GB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.4003, allocations: 7.875 kB / 0.4931 GB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4003, allocations: 2.625 kB / 0.4931 GB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4003, allocations: 1.219 kB / 0.4931 GB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007787/0.4081, allocations: 4.033 MB / 0.497 GB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.4082, allocations: 113.8 kB / 0.4972 GB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.4083, allocations: 23.95 kB / 0.4972 GB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.4086, allocations: 15.83 kB / 0.4972 GB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.4087, allocations: 26.34 kB / 0.4972 GB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.4087, allocations: 8.406 kB / 0.4972 GB, free: 4.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003537/0.409, allocations: 274 kB / 0.4975 GB, free: 4.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4091, allocations: 0 / 0.4975 GB, free: 4.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009387/0.41, allocations: 169.8 kB / 0.4976 GB, free: 4.656 MB / 330.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.0002039/0.4102, allocations: 112.7 kB / 0.4978 GB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.4119, allocations: 0.7932 MB / 0.4985 GB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.412, allocations: 1.531 kB / 0.4985 GB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.4123, allocations: 197.8 kB / 0.4987 GB, free: 3.965 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.4128, allocations: 86.03 kB / 0.4988 GB, free: 3.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.4168, allocations: 1.936 MB / 0.5007 GB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.4174, allocations: 0.9057 MB / 0.5016 GB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005139/0.4179, allocations: 147.3 kB / 0.5017 GB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.4181, allocations: 43.44 kB / 0.5018 GB, free: 1.016 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.4181, allocations: 0 / 0.5018 GB, free: 1.016 MB / 330.7 MB Notification: Performance of Templates: time 0.01265/0.4307, allocations: 7.77 MB / 0.5093 GB, free: 9.258 MB / 346.7 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@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Load.mat","../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