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.001339/0.001339, allocations: 172.1 kB / 17.4 MB, free: 4.301 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.466/1.466, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007574/0.0007577, allocations: 85.55 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1888/0.1888, allocations: 38.08 MB / 358.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3337, allocations: 56.32 MB / 481.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4695, allocations: 102.2 MB / 0.5701 GB, free: 4 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4699, allocations: 103.8 kB / 0.5702 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03964/0.5095, allocations: 13.7 MB / 0.5836 GB, free: 2.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5096, allocations: 0 / 0.5836 GB, free: 2.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.5096, allocations: 16 kB / 0.5836 GB, free: 2.043 MB / 410.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.001975/0.5116, allocations: 0.8012 MB / 0.5844 GB, free: 1.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5116, allocations: 8.031 kB / 0.5844 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.5123, allocations: 92.14 kB / 0.5845 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.5138, allocations: 0.6167 MB / 0.5851 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.5139, allocations: 29.38 kB / 0.5851 GB, free: 416 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.514, allocations: 44.36 kB / 0.5852 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.515, allocations: 0.6768 MB / 0.5858 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.5151, allocations: 11.88 kB / 0.5858 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.5151, allocations: 16 kB / 0.5859 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.5152, allocations: 36.98 kB / 0.5859 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008995/0.5161, allocations: 0.4994 MB / 0.5864 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.5217, allocations: 3.018 MB / 0.5893 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008767/0.5226, allocations: 333.5 kB / 0.5896 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/0.523, allocations: 204.8 kB / 0.5898 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-05/0.5231, allocations: 4 kB / 0.5898 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.5231, allocations: 42.55 kB / 0.5899 GB, free: 11.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.788e-06/0.5232, allocations: 0 / 0.5899 GB, free: 11.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.003455/0.5266, allocations: 1.33 MB / 0.5912 GB, free: 9.914 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.5267, allocations: 85.31 kB / 0.5913 GB, free: 9.812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.5274, allocations: 373.6 kB / 0.5916 GB, free: 9.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.5274, allocations: 29.7 kB / 0.5916 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.5277, allocations: 287.3 kB / 0.5919 GB, free: 9.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.5279, allocations: 134.1 kB / 0.592 GB, free: 8.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.528, allocations: 8 kB / 0.5921 GB, free: 8.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5282, allocations: 358.7 kB / 0.5924 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.5287, allocations: 209 kB / 0.5926 GB, free: 8.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.5293, allocations: 378.8 kB / 0.593 GB, free: 7.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.5306, allocations: 0.6195 MB / 0.5936 GB, free: 7.273 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.5306, allocations: 4 kB / 0.5936 GB, free: 7.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002806/0.5334, allocations: 0.8361 MB / 0.5944 GB, free: 6.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.5335, allocations: 8 kB / 0.5944 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.5335, allocations: 4 kB / 0.5944 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.5351, allocations: 253.6 kB / 0.5946 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008946/0.5361, allocations: 139.8 kB / 0.5948 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.5426, allocations: 3.711 MB / 0.5984 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.5432, allocations: 31.97 kB / 0.5984 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/0.5433, allocations: 27.98 kB / 0.5985 GB, free: 1.977 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004747/0.5438, allocations: 221.6 kB / 0.5987 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.5439, allocations: 39.53 kB / 0.5987 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.5453, allocations: 0.5281 MB / 0.5992 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.5453, allocations: 11.94 kB / 0.5992 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5453, allocations: 0 / 0.5992 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5453, allocations: 3.984 kB / 0.5992 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.5478, allocations: 1.085 MB / 0.6003 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5478, allocations: 4.062 kB / 0.6003 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/0.5485, allocations: 87.88 kB / 0.6004 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.5485, allocations: 0 / 0.6004 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.5486, allocations: 15.98 kB / 0.6004 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5486, allocations: 4 kB / 0.6004 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5486, allocations: 0 / 0.6004 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.5503, allocations: 0.819 MB / 0.6012 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.5505, allocations: 124.6 kB / 0.6013 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.5506, allocations: 8 kB / 0.6013 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.551, allocations: 20.06 kB / 0.6013 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.5511, allocations: 31.84 kB / 0.6014 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.5512, allocations: 11.98 kB / 0.6014 GB, free: 14.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004252/0.5516, allocations: 259.2 kB / 0.6016 GB, free: 14.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5516, allocations: 4 kB / 0.6016 GB, free: 14.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001041/0.5527, allocations: 143.9 kB / 0.6018 GB, free: 14.45 MB / 442.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 (39): * Single equations (assignments): 37 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002894/0.553, allocations: 123.2 kB / 0.6019 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.5552, allocations: 0.8298 MB / 0.6027 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5553, allocations: 0 / 0.6027 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.5558, allocations: 227.7 kB / 0.6029 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.5567, allocations: 85.98 kB / 0.603 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.5618, allocations: 1.771 MB / 0.6047 GB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.5625, allocations: 0.8938 MB / 0.6056 GB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000658/0.5632, allocations: 131.3 kB / 0.6057 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5634, allocations: 35.44 kB / 0.6058 GB, free: 10.27 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5634, allocations: 0 / 0.6058 GB, free: 10.27 MB / 442.7 MB Notification: Performance of Templates: time 0.01549/0.5789, allocations: 5.839 MB / 0.6115 GB, free: 4.438 MB / 442.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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: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