Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.593/1.593, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0008113/0.0008112, allocations: 89.55 kB / 271.9 MB, free: 8.254 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.07 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.305, allocations: 56.32 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4406, allocations: 99.96 MB / 0.5679 GB, free: 2.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4409, allocations: 91.81 kB / 0.568 GB, free: 2.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07388/0.5148, allocations: 26.19 MB / 0.5936 GB, free: 7.703 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5148, allocations: 4 kB / 0.5936 GB, free: 7.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.664e-05/0.5149, allocations: 20 kB / 0.5936 GB, free: 7.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003009/0.5179, allocations: 1.092 MB / 0.5946 GB, free: 6.535 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.518, allocations: 8.031 kB / 0.5947 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.5193, allocations: 163.5 kB / 0.5948 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.5214, allocations: 0.858 MB / 0.5956 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.5215, allocations: 74.3 kB / 0.5957 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.5216, allocations: 88.25 kB / 0.5958 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.5237, allocations: 1.149 MB / 0.5969 GB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.5237, allocations: 11.88 kB / 0.5969 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/0.5238, allocations: 32 kB / 0.597 GB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.5239, allocations: 77.95 kB / 0.597 GB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.5258, allocations: 1.003 MB / 0.598 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00583/0.5316, allocations: 4.366 MB / 0.6023 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.5327, allocations: 0.6384 MB / 0.6029 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.5332, allocations: 324.1 kB / 0.6032 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.5333, allocations: 12.56 kB / 0.6032 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5333, allocations: 47.06 kB / 0.6033 GB, free: 13.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 2.565e-06/0.5333, allocations: 0 / 0.6033 GB, free: 13.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.002809/0.5361, allocations: 1.765 MB / 0.605 GB, free: 11.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5362, allocations: 93.61 kB / 0.6051 GB, free: 11.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.5368, allocations: 0.5379 MB / 0.6056 GB, free: 10.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.5368, allocations: 33.7 kB / 0.6056 GB, free: 10.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.5371, allocations: 438.7 kB / 0.6061 GB, free: 10.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5373, allocations: 228.8 kB / 0.6063 GB, free: 10.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.5374, allocations: 19.94 kB / 0.6063 GB, free: 10.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5375, allocations: 382.7 kB / 0.6067 GB, free: 9.766 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.538, allocations: 289.8 kB / 0.6069 GB, free: 9.484 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.5387, allocations: 0.6158 MB / 0.6075 GB, free: 8.715 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5398, allocations: 0.977 MB / 0.6085 GB, free: 7.586 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5398, allocations: 0 / 0.6085 GB, free: 7.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002055/0.5419, allocations: 1.179 MB / 0.6096 GB, free: 6.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5419, allocations: 19.38 kB / 0.6097 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001259/0.5432, allocations: 0.7262 MB / 0.6104 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006944/0.5439, allocations: 214.4 kB / 0.6106 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.5446, allocations: 215.6 kB / 0.6108 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.5487, allocations: 4.921 MB / 0.6156 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.5492, allocations: 35.91 kB / 0.6156 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.5492, allocations: 48.22 kB / 0.6157 GB, free: 15.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004805/0.5497, allocations: 353.5 kB / 0.616 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.5498, allocations: 59.25 kB / 0.6161 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.5508, allocations: 0.6732 MB / 0.6167 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5509, allocations: 11.94 kB / 0.6167 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.5509, allocations: 0 / 0.6167 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5509, allocations: 0 / 0.6167 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.5533, allocations: 1.617 MB / 0.6183 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5533, allocations: 0 / 0.6183 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.554, allocations: 163.8 kB / 0.6185 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.554, allocations: 4 kB / 0.6185 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.554, allocations: 19.98 kB / 0.6185 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.5541, allocations: 4 kB / 0.6185 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5541, allocations: 8.156 kB / 0.6185 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.5553, allocations: 1.048 MB / 0.6195 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.5556, allocations: 180.4 kB / 0.6197 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.5556, allocations: 15.98 kB / 0.6197 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.5559, allocations: 19.91 kB / 0.6197 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.556, allocations: 52.42 kB / 0.6198 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.5561, allocations: 20 kB / 0.6198 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003474/0.5564, allocations: 358.8 kB / 0.6201 GB, free: 11.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5564, allocations: 4 kB / 0.6201 GB, free: 11.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008097/0.5573, allocations: 236 kB / 0.6204 GB, free: 10.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * 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.0002042/0.5575, allocations: 151 kB / 0.6205 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.5591, allocations: 1.111 MB / 0.6216 GB, free: 9.523 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5591, allocations: 0 / 0.6216 GB, free: 9.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.5595, allocations: 318.9 kB / 0.6219 GB, free: 9.215 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008616/0.5604, allocations: 147.4 kB / 0.622 GB, free: 9.074 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.5637, allocations: 2.366 MB / 0.6244 GB, free: 6.652 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/0.5644, allocations: 1.068 MB / 0.6254 GB, free: 5.555 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006325/0.5651, allocations: 225.6 kB / 0.6256 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.5652, allocations: 59.42 kB / 0.6257 GB, free: 5.273 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.5652, allocations: 0 / 0.6257 GB, free: 5.273 MB / 458.7 MB Notification: Performance of Templates: time 0.01612/0.5814, allocations: 8.026 MB / 0.6335 GB, free: 13.26 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches