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.001621/0.001621, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.561/1.561, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008541/0.0008541, allocations: 96.95 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1765/0.1765, allocations: 38.05 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2656, allocations: 56.31 MB / 480.3 MB, free: 9.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4004, allocations: 99.94 MB / 0.5666 GB, free: 2.477 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4007, allocations: 83.95 kB / 0.5667 GB, free: 2.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07313/0.4738, allocations: 26.19 MB / 0.5923 GB, free: 7.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4739, allocations: 0 / 0.5923 GB, free: 7.891 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.4739, allocations: 20 kB / 0.5923 GB, free: 7.871 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.002143/0.4761, allocations: 1.1 MB / 0.5934 GB, free: 6.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4761, allocations: 8.031 kB / 0.5934 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008869/0.477, allocations: 174.5 kB / 0.5936 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.4804, allocations: 1.306 MB / 0.5948 GB, free: 5.188 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.4805, allocations: 65.98 kB / 0.5949 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.4807, allocations: 87.89 kB / 0.595 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.4824, allocations: 1.149 MB / 0.5961 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.4825, allocations: 4 kB / 0.5961 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/0.4825, allocations: 35.98 kB / 0.5961 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.4827, allocations: 77.89 kB / 0.5962 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.4842, allocations: 0.9991 MB / 0.5972 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005119/0.4894, allocations: 4.373 MB / 0.6015 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.4905, allocations: 0.6296 MB / 0.6021 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.4905, allocations: 16.56 kB / 0.6021 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.4906, allocations: 39.12 kB / 0.6021 GB, free: 13.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 2.204e-06/0.4906, allocations: 0 / 0.6021 GB, free: 13.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.002819/0.4934, allocations: 1.773 MB / 0.6039 GB, free: 11.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.4935, allocations: 89.67 kB / 0.6039 GB, free: 11.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/0.494, allocations: 481.9 kB / 0.6044 GB, free: 11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.4941, allocations: 37.7 kB / 0.6044 GB, free: 10.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.4944, allocations: 438.7 kB / 0.6049 GB, free: 10.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.4946, allocations: 225 kB / 0.6051 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.4947, allocations: 24 kB / 0.6051 GB, free: 10.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4949, allocations: 382.8 kB / 0.6055 GB, free: 9.887 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.4953, allocations: 285.8 kB / 0.6057 GB, free: 9.609 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.4961, allocations: 0.6075 MB / 0.6063 GB, free: 8.848 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.4967, allocations: 409.8 kB / 0.6067 GB, free: 8.449 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4967, allocations: 4 kB / 0.6067 GB, free: 8.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00202/0.4987, allocations: 1.176 MB / 0.6079 GB, free: 7.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4987, allocations: 14.66 kB / 0.6079 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0013/0.5001, allocations: 0.7301 MB / 0.6086 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000724/0.5008, allocations: 214.4 kB / 0.6088 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.5015, allocations: 203.7 kB / 0.609 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/0.506, allocations: 4.993 MB / 0.6139 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.5066, allocations: 39.89 kB / 0.6139 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.5066, allocations: 40 kB / 0.614 GB, free: 0.6055 MB / 442.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.0005409/0.5072, allocations: 361.5 kB / 0.6143 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.5073, allocations: 63.25 kB / 0.6144 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.5084, allocations: 0.6655 MB / 0.615 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5084, allocations: 8 kB / 0.615 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5084, allocations: 0 / 0.615 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5084, allocations: 11.92 kB / 0.615 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.511, allocations: 1.616 MB / 0.6166 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.511, allocations: 4 kB / 0.6166 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.5118, allocations: 159.8 kB / 0.6168 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5118, allocations: 8 kB / 0.6168 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.5118, allocations: 15.95 kB / 0.6168 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5118, allocations: 4 kB / 0.6168 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5118, allocations: 4.219 kB / 0.6168 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.5133, allocations: 1.135 MB / 0.6179 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.5136, allocations: 184.3 kB / 0.6181 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.5136, allocations: 20.12 kB / 0.6181 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.5139, allocations: 19.98 kB / 0.6181 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5141, allocations: 48.44 kB / 0.6182 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.5141, allocations: 20 kB / 0.6182 GB, free: 12.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004199/0.5145, allocations: 354.8 kB / 0.6185 GB, free: 11.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5146, allocations: 0 / 0.6185 GB, free: 11.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009345/0.5155, allocations: 245.8 kB / 0.6188 GB, free: 11.49 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.0002266/0.5157, allocations: 151 kB / 0.6189 GB, free: 11.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.5174, allocations: 1.115 MB / 0.62 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5174, allocations: 0 / 0.62 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.5179, allocations: 331.1 kB / 0.6203 GB, free: 9.855 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.5186, allocations: 134.6 kB / 0.6204 GB, free: 9.727 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.5217, allocations: 2.37 MB / 0.6227 GB, free: 7.301 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.5224, allocations: 1.088 MB / 0.6238 GB, free: 6.184 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.523, allocations: 217.6 kB / 0.624 GB, free: 5.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.5232, allocations: 63.42 kB / 0.6241 GB, free: 5.906 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5232, allocations: 0 / 0.6241 GB, free: 5.906 MB / 458.7 MB Notification: Performance of Templates: time 0.01443/0.5376, allocations: 7.948 MB / 0.6318 GB, free: 13.97 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/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