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.001656/0.001655, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008048/0.0008048, allocations: 85.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1612/0.1612, allocations: 37.99 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.644e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 56.33 MB / 466.9 MB, free: 6.562 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5057, allocations: 101.5 MB / 0.555 GB, free: 9.473 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5061, allocations: 87.95 kB / 0.5551 GB, free: 9.387 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0406/0.5467, allocations: 13.61 MB / 0.5684 GB, free: 11.65 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5467, allocations: 4 kB / 0.5684 GB, free: 11.65 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.5468, allocations: 8 kB / 0.5684 GB, free: 11.64 MB / 411.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.001403/0.5482, allocations: 0.7113 MB / 0.5691 GB, free: 10.88 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5482, allocations: 11.97 kB / 0.5691 GB, free: 10.87 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005257/0.5488, allocations: 91.3 kB / 0.5692 GB, free: 10.78 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.5511, allocations: 0.9395 MB / 0.5701 GB, free: 9.805 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.5511, allocations: 16 kB / 0.5701 GB, free: 9.789 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.5512, allocations: 31.91 kB / 0.5702 GB, free: 9.758 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006618/0.5519, allocations: 422.4 kB / 0.5706 GB, free: 9.344 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.5527, allocations: 0.6187 MB / 0.5712 GB, free: 8.664 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.5528, allocations: 0 / 0.5712 GB, free: 8.664 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.5528, allocations: 4 kB / 0.5712 GB, free: 8.66 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/0.5529, allocations: 36.72 kB / 0.5712 GB, free: 8.621 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/0.5564, allocations: 2.946 MB / 0.5741 GB, free: 5.551 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.557, allocations: 321.6 kB / 0.5744 GB, free: 5.219 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.5573, allocations: 186.3 kB / 0.5746 GB, free: 5.031 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.5573, allocations: 15.95 kB / 0.5746 GB, free: 5.016 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5573, allocations: 38.56 kB / 0.5746 GB, free: 4.969 MB / 411.1 MB Notification: Performance of pre-optimization done (n=35): time 2.063e-06/0.5573, allocations: 0 / 0.5746 GB, free: 4.969 MB / 411.1 MB Notification: Performance of matching and sorting (n=36): time 0.001783/0.5591, allocations: 1.108 MB / 0.5757 GB, free: 3.805 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.5592, allocations: 89.08 kB / 0.5758 GB, free: 3.699 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.5595, allocations: 310.2 kB / 0.5761 GB, free: 3.391 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.5596, allocations: 25.7 kB / 0.5761 GB, free: 3.359 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.5598, allocations: 291.3 kB / 0.5764 GB, free: 3.066 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.5599, allocations: 122.2 kB / 0.5765 GB, free: 2.945 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.5599, allocations: 0 / 0.5765 GB, free: 2.945 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.56, allocations: 358.8 kB / 0.5769 GB, free: 2.586 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.5603, allocations: 189 kB / 0.577 GB, free: 2.402 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.5607, allocations: 361.9 kB / 0.5774 GB, free: 1.969 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.5611, allocations: 265 kB / 0.5776 GB, free: 1.711 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5611, allocations: 0 / 0.5776 GB, free: 1.711 MB / 411.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001972/0.5631, allocations: 0.8005 MB / 0.5784 GB, free: 0.8984 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5631, allocations: 8 kB / 0.5784 GB, free: 0.8906 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5631, allocations: 4.562 kB / 0.5784 GB, free: 0.8867 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.5646, allocations: 289.4 kB / 0.5787 GB, free: 0.5977 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.5653, allocations: 147.7 kB / 0.5788 GB, free: 464 kB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.5698, allocations: 3.616 MB / 0.5824 GB, free: 12.61 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.5702, allocations: 19.94 kB / 0.5824 GB, free: 12.59 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.5702, allocations: 23.98 kB / 0.5824 GB, free: 12.56 MB / 427.1 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 () * 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.0001348/0.5704, allocations: 120.9 kB / 0.5825 GB, free: 12.44 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.5704, allocations: 43.47 kB / 0.5826 GB, free: 12.39 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.5713, allocations: 0.5018 MB / 0.5831 GB, free: 11.88 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.5713, allocations: 7.938 kB / 0.5831 GB, free: 11.88 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.5713, allocations: 4 kB / 0.5831 GB, free: 11.87 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.5713, allocations: 3.984 kB / 0.5831 GB, free: 11.87 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.5728, allocations: 0.9995 MB / 0.5841 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5728, allocations: 0 / 0.5841 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.5733, allocations: 100 kB / 0.5842 GB, free: 10.72 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5733, allocations: 4 kB / 0.5842 GB, free: 10.71 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.5734, allocations: 4 kB / 0.5842 GB, free: 10.71 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5734, allocations: 4 kB / 0.5842 GB, free: 10.71 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5734, allocations: 3.953 kB / 0.5842 GB, free: 10.7 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.5745, allocations: 0.8441 MB / 0.585 GB, free: 9.816 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.5746, allocations: 112.6 kB / 0.5851 GB, free: 9.688 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.5746, allocations: 4 kB / 0.5851 GB, free: 9.684 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.5749, allocations: 19.97 kB / 0.5851 GB, free: 9.664 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.575, allocations: 27.97 kB / 0.5852 GB, free: 9.637 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.575, allocations: 12 kB / 0.5852 GB, free: 9.625 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.5752, allocations: 240.6 kB / 0.5854 GB, free: 9.395 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5753, allocations: 3.938 kB / 0.5854 GB, free: 9.391 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0005256/0.5758, allocations: 127.9 kB / 0.5855 GB, free: 9.266 MB / 427.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.000212/0.576, allocations: 117 kB / 0.5856 GB, free: 9.141 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.5775, allocations: 0.785 MB / 0.5864 GB, free: 8.336 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5775, allocations: 384 / 0.5864 GB, free: 8.336 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.5778, allocations: 221 kB / 0.5866 GB, free: 8.121 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.5782, allocations: 69.23 kB / 0.5867 GB, free: 8.055 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.5799, allocations: 1.048 MB / 0.5877 GB, free: 6.969 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.5804, allocations: 0.9131 MB / 0.5886 GB, free: 6.031 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.5807, allocations: 135.3 kB / 0.5887 GB, free: 5.898 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.5809, allocations: 43.42 kB / 0.5888 GB, free: 5.855 MB / 427.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5809, allocations: 0 / 0.5888 GB, free: 5.855 MB / 427.1 MB Notification: Performance of Templates: time 0.009953/0.5908, allocations: 5.598 MB / 0.5942 GB, free: 268 kB / 427.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","../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