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.001826/0.001826, allocations: 175.2 kB / 13.63 MB, free: 1.684 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.421/1.421, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0007415/0.0007416, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1564/0.1564, allocations: 37.97 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.069e-05, allocations: 4 kB / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 56.31 MB / 474.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3799/0.4808, allocations: 102.1 MB / 0.5627 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.481, allocations: 92.69 kB / 0.5628 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03806/0.5191, allocations: 13.71 MB / 0.5762 GB, free: 4.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.5191, allocations: 4 kB / 0.5762 GB, free: 4.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.5192, allocations: 8 kB / 0.5762 GB, free: 4.871 MB / 378.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.001244/0.5204, allocations: 0.7129 MB / 0.5769 GB, free: 4.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5205, allocations: 8.031 kB / 0.5769 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004756/0.521, allocations: 99.28 kB / 0.577 GB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.5231, allocations: 0.9282 MB / 0.5779 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.5231, allocations: 38.17 kB / 0.5779 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/0.5232, allocations: 47.72 kB / 0.5779 GB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/0.5241, allocations: 0.6613 MB / 0.5786 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5241, allocations: 7.984 kB / 0.5786 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.5242, allocations: 25.55 kB / 0.5786 GB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/0.5242, allocations: 36.39 kB / 0.5787 GB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.5249, allocations: 0.4886 MB / 0.5791 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.5281, allocations: 3.026 MB / 0.5821 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.5287, allocations: 335.9 kB / 0.5824 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.5289, allocations: 196.6 kB / 0.5826 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.529, allocations: 7.938 kB / 0.5826 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.529, allocations: 41.67 kB / 0.5826 GB, free: 14.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.529, allocations: 0 / 0.5826 GB, free: 14.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001718/0.5307, allocations: 1.146 MB / 0.5838 GB, free: 13.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.5308, allocations: 85.09 kB / 0.5838 GB, free: 13.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.5311, allocations: 336.2 kB / 0.5842 GB, free: 13.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.5312, allocations: 33.14 kB / 0.5842 GB, free: 13.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.5313, allocations: 289.4 kB / 0.5845 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/0.5314, allocations: 131 kB / 0.5846 GB, free: 13.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.5315, allocations: 17.31 kB / 0.5846 GB, free: 13.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5316, allocations: 355.9 kB / 0.585 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.5319, allocations: 199.9 kB / 0.5851 GB, free: 12.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.5322, allocations: 375.1 kB / 0.5855 GB, free: 12.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.5326, allocations: 265.7 kB / 0.5858 GB, free: 12.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5326, allocations: 3.938 kB / 0.5858 GB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001961/0.5346, allocations: 0.8465 MB / 0.5866 GB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5346, allocations: 8 kB / 0.5866 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5346, allocations: 4 kB / 0.5866 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.5362, allocations: 296.4 kB / 0.5869 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.5368, allocations: 143.6 kB / 0.587 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.5412, allocations: 3.796 MB / 0.5907 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.5416, allocations: 35.84 kB / 0.5908 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.5416, allocations: 19.88 kB / 0.5908 GB, free: 7.305 MB / 394.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 () * 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.0001122/0.5417, allocations: 131.7 kB / 0.5909 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.5418, allocations: 39.52 kB / 0.5909 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/0.5426, allocations: 0.5279 MB / 0.5915 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5426, allocations: 7.953 kB / 0.5915 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5427, allocations: 4 kB / 0.5915 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5427, allocations: 3.984 kB / 0.5915 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.5441, allocations: 1.095 MB / 0.5925 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5442, allocations: 4 kB / 0.5925 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.5446, allocations: 91 kB / 0.5926 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5446, allocations: 4 kB / 0.5926 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.5447, allocations: 10.81 kB / 0.5926 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5447, allocations: 0 / 0.5926 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5447, allocations: 4.094 kB / 0.5927 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.5459, allocations: 0.8635 MB / 0.5935 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.546, allocations: 124.3 kB / 0.5936 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.5461, allocations: 7.25 kB / 0.5936 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.5464, allocations: 31.16 kB / 0.5937 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.5464, allocations: 23.92 kB / 0.5937 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.5465, allocations: 11.56 kB / 0.5937 GB, free: 4.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003089/0.5468, allocations: 255.6 kB / 0.5939 GB, free: 4.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5468, allocations: 3.938 kB / 0.5939 GB, free: 4.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006505/0.5475, allocations: 139.6 kB / 0.5941 GB, free: 4.492 MB / 394.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 () * 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.0002537/0.5477, allocations: 133.6 kB / 0.5942 GB, free: 4.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.5492, allocations: 0.8264 MB / 0.595 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5493, allocations: 0 / 0.595 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.5496, allocations: 232.9 kB / 0.5952 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.55, allocations: 72.31 kB / 0.5953 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.5517, allocations: 1.056 MB / 0.5963 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.5521, allocations: 0.9113 MB / 0.5972 GB, free: 1.516 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003574/0.5525, allocations: 135.3 kB / 0.5973 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.5526, allocations: 38.61 kB / 0.5974 GB, free: 1.348 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5526, allocations: 0 / 0.5974 GB, free: 1.348 MB / 394.7 MB Notification: Performance of Templates: time 0.009809/0.5624, allocations: 5.883 MB / 0.6031 GB, free: 11.48 MB / 410.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/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