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.001073/0.001073, allocations: 176.4 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.567/1.567, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0008202/0.00082, allocations: 94.2 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1779/0.1779, allocations: 37.99 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.413e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09751, allocations: 56.34 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4575, allocations: 99.16 MB / 0.5528 GB, free: 11.76 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4578, allocations: 79.95 kB / 0.5529 GB, free: 11.68 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07267/0.5305, allocations: 26 MB / 0.5783 GB, free: 1.391 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5305, allocations: 0 / 0.5783 GB, free: 1.391 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.578e-05/0.5306, allocations: 16 kB / 0.5783 GB, free: 1.375 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001704/0.5323, allocations: 1.014 MB / 0.5793 GB, free: 320 kB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5323, allocations: 8.031 kB / 0.5793 GB, free: 312 kB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.5332, allocations: 170.6 kB / 0.5794 GB, free: 140 kB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/0.5367, allocations: 1.28 MB / 0.5807 GB, free: 14.81 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.5368, allocations: 32 kB / 0.5807 GB, free: 14.78 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.537, allocations: 55.91 kB / 0.5808 GB, free: 14.73 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001373/0.5383, allocations: 0.8238 MB / 0.5816 GB, free: 13.9 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.5399, allocations: 1.016 MB / 0.5826 GB, free: 12.83 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.5399, allocations: 7.938 kB / 0.5826 GB, free: 12.82 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.54, allocations: 0 / 0.5826 GB, free: 12.82 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-05/0.5401, allocations: 81.95 kB / 0.5827 GB, free: 12.75 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.5451, allocations: 4.087 MB / 0.5867 GB, free: 8.465 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.546, allocations: 0.5781 MB / 0.5872 GB, free: 7.871 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.5464, allocations: 299.4 kB / 0.5875 GB, free: 7.574 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.5465, allocations: 8.562 kB / 0.5875 GB, free: 7.562 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5465, allocations: 43.08 kB / 0.5876 GB, free: 7.512 MB / 427.1 MB Notification: Performance of pre-optimization done (n=63): time 2.295e-06/0.5465, allocations: 4 kB / 0.5876 GB, free: 7.508 MB / 427.1 MB Notification: Performance of matching and sorting (n=64): time 0.002125/0.5487, allocations: 1.44 MB / 0.589 GB, free: 6.012 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.5487, allocations: 86.42 kB / 0.589 GB, free: 5.91 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.5492, allocations: 453.8 kB / 0.5895 GB, free: 5.461 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.5493, allocations: 29.69 kB / 0.5895 GB, free: 5.426 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.5495, allocations: 446.6 kB / 0.5899 GB, free: 4.98 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.5497, allocations: 205 kB / 0.5901 GB, free: 4.777 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.5497, allocations: 4.031 kB / 0.5901 GB, free: 4.773 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5499, allocations: 378.8 kB / 0.5905 GB, free: 4.395 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.5503, allocations: 266.5 kB / 0.5907 GB, free: 4.137 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.5509, allocations: 0.6019 MB / 0.5913 GB, free: 3.383 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.5514, allocations: 377.8 kB / 0.5917 GB, free: 3.012 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.5514, allocations: 4 kB / 0.5917 GB, free: 3.008 MB / 427.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00183/0.5532, allocations: 1.083 MB / 0.5928 GB, free: 1.906 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5533, allocations: 8 kB / 0.5928 GB, free: 1.898 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001188/0.5545, allocations: 0.6678 MB / 0.5934 GB, free: 1.223 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000696/0.5552, allocations: 214.4 kB / 0.5936 GB, free: 1.004 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.5559, allocations: 211.6 kB / 0.5938 GB, free: 0.7969 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/0.5602, allocations: 4.721 MB / 0.5984 GB, free: 11.73 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/0.561, allocations: 15.91 kB / 0.5984 GB, free: 11.71 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.5611, allocations: 43.98 kB / 0.5985 GB, free: 11.67 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * 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.0002586/0.5613, allocations: 167.9 kB / 0.5986 GB, free: 11.5 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5615, allocations: 63.2 kB / 0.5987 GB, free: 11.43 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.5625, allocations: 0.5954 MB / 0.5993 GB, free: 10.82 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5625, allocations: 8 kB / 0.5993 GB, free: 10.82 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.5625, allocations: 0 / 0.5993 GB, free: 10.82 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5625, allocations: 11.98 kB / 0.5993 GB, free: 10.8 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.565, allocations: 1.43 MB / 0.6007 GB, free: 9.309 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.565, allocations: 4 kB / 0.6007 GB, free: 9.305 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.5657, allocations: 159.8 kB / 0.6009 GB, free: 9.148 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.5657, allocations: 8 kB / 0.6009 GB, free: 9.141 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.5658, allocations: 4.219 kB / 0.6009 GB, free: 9.137 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.5658, allocations: 11.98 kB / 0.6009 GB, free: 9.125 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5658, allocations: 4 kB / 0.6009 GB, free: 9.121 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.5671, allocations: 1.066 MB / 0.6019 GB, free: 7.965 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.5674, allocations: 180.4 kB / 0.6021 GB, free: 7.77 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.5674, allocations: 7.984 kB / 0.6021 GB, free: 7.762 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.5677, allocations: 7.906 kB / 0.6021 GB, free: 7.754 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.5678, allocations: 52.38 kB / 0.6022 GB, free: 7.703 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.5679, allocations: 24.12 kB / 0.6022 GB, free: 7.68 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.5682, allocations: 322.8 kB / 0.6025 GB, free: 7.367 MB / 443.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5682, allocations: 4 kB / 0.6025 GB, free: 7.363 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.000851/0.5691, allocations: 209.8 kB / 0.6027 GB, free: 7.16 MB / 443.1 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 () * 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.0001909/0.5693, allocations: 127.1 kB / 0.6028 GB, free: 7.027 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.5707, allocations: 1.028 MB / 0.6038 GB, free: 5.973 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5707, allocations: 0 / 0.6038 GB, free: 5.973 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.5711, allocations: 302.8 kB / 0.6041 GB, free: 5.68 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.5717, allocations: 134.2 kB / 0.6042 GB, free: 5.547 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.5741, allocations: 1.544 MB / 0.6058 GB, free: 3.949 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.5749, allocations: 1.088 MB / 0.6068 GB, free: 2.836 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.5755, allocations: 229.6 kB / 0.607 GB, free: 2.609 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.5756, allocations: 59.42 kB / 0.6071 GB, free: 2.551 MB / 443.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5756, allocations: 3.938 kB / 0.6071 GB, free: 2.547 MB / 443.1 MB Notification: Performance of Templates: time 0.01367/0.5893, allocations: 7.599 MB / 0.6145 GB, free: 10.95 MB / 459.1 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/jenkins/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