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.001526/0.001526, allocations: 175.1 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.577/1.577, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.000937/0.0009368, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2037/0.2037, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.998e-05, allocations: 0 / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1402, allocations: 56.33 MB / 474.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.6131, allocations: 99.83 MB / 0.5604 GB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/0.6135, allocations: 87.11 kB / 0.5605 GB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08748/0.701, allocations: 26.18 MB / 0.5861 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.7011, allocations: 0 / 0.5861 GB, free: 12.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.7011, allocations: 16 kB / 0.5861 GB, free: 12.39 MB / 394.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.001847/0.703, allocations: 1.019 MB / 0.5871 GB, free: 11.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7031, allocations: 8.031 kB / 0.5871 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009369/0.704, allocations: 170.5 kB / 0.5873 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/0.7074, allocations: 1.288 MB / 0.5885 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.7075, allocations: 65.11 kB / 0.5886 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.7077, allocations: 82.97 kB / 0.5887 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.7095, allocations: 1.139 MB / 0.5898 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.7095, allocations: 3.938 kB / 0.5898 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.7096, allocations: 35.92 kB / 0.5898 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.765e-05/0.7097, allocations: 80.64 kB / 0.5899 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.7112, allocations: 0.9703 MB / 0.5908 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/0.7166, allocations: 4.374 MB / 0.5951 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7177, allocations: 0.6104 MB / 0.5957 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.7181, allocations: 325.8 kB / 0.596 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.7182, allocations: 12.55 kB / 0.596 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.7182, allocations: 45.75 kB / 0.5961 GB, free: 3.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.457e-06/0.7182, allocations: 0 / 0.5961 GB, free: 3.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.002399/0.7206, allocations: 1.532 MB / 0.5976 GB, free: 2.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.7207, allocations: 85.67 kB / 0.5977 GB, free: 2.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.7212, allocations: 482.6 kB / 0.5981 GB, free: 1.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.7213, allocations: 36.2 kB / 0.5981 GB, free: 1.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.7216, allocations: 446 kB / 0.5986 GB, free: 1.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.7217, allocations: 213.9 kB / 0.5988 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.7218, allocations: 22.12 kB / 0.5988 GB, free: 1.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7219, allocations: 380.1 kB / 0.5992 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.7223, allocations: 279.3 kB / 0.5994 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.7229, allocations: 0.6053 MB / 0.6 GB, free: 28 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.7235, allocations: 397.3 kB / 0.6004 GB, free: 15.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7235, allocations: 0 / 0.6004 GB, free: 15.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001901/0.7254, allocations: 1.171 MB / 0.6015 GB, free: 14.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.7254, allocations: 8 kB / 0.6015 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001187/0.7266, allocations: 0.7169 MB / 0.6022 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007036/0.7274, allocations: 216.7 kB / 0.6025 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/0.7281, allocations: 207 kB / 0.6027 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/0.7325, allocations: 4.918 MB / 0.6075 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.7332, allocations: 40.7 kB / 0.6075 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.7333, allocations: 45.88 kB / 0.6075 GB, free: 8.902 MB / 410.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 () * 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.0002542/0.7336, allocations: 186 kB / 0.6077 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.7337, allocations: 63.25 kB / 0.6078 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.7348, allocations: 0.6535 MB / 0.6084 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.7348, allocations: 8 kB / 0.6084 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.7348, allocations: 0 / 0.6084 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.7348, allocations: 3.984 kB / 0.6084 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.7374, allocations: 1.61 MB / 0.61 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.7375, allocations: 4 kB / 0.61 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.7382, allocations: 167.6 kB / 0.6102 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.7382, allocations: 4 kB / 0.6102 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.7383, allocations: 26.94 kB / 0.6102 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.7383, allocations: 4 kB / 0.6102 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7383, allocations: 0 / 0.6102 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.7398, allocations: 1.114 MB / 0.6113 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.7401, allocations: 184.3 kB / 0.6115 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.7402, allocations: 16.12 kB / 0.6115 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.7405, allocations: 23.98 kB / 0.6115 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.7407, allocations: 48.44 kB / 0.6115 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.7407, allocations: 20 kB / 0.6116 GB, free: 5.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004466/0.7412, allocations: 357.4 kB / 0.6119 GB, free: 5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7412, allocations: 4 kB / 0.6119 GB, free: 4.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001013/0.7422, allocations: 233.9 kB / 0.6121 GB, free: 4.77 MB / 410.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 () * 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.0002378/0.7424, allocations: 147 kB / 0.6123 GB, free: 4.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.7442, allocations: 1.091 MB / 0.6133 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7442, allocations: 0 / 0.6133 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.7446, allocations: 316.1 kB / 0.6136 GB, free: 3.184 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.7453, allocations: 142.2 kB / 0.6138 GB, free: 3.043 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.7477, allocations: 1.579 MB / 0.6153 GB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.7484, allocations: 1.092 MB / 0.6164 GB, free: 292 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006503/0.7491, allocations: 225.5 kB / 0.6166 GB, free: 64 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.7492, allocations: 55.44 kB / 0.6166 GB, free: 8 kB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7492, allocations: 0 / 0.6166 GB, free: 8 kB / 410.7 MB Notification: Performance of Templates: time 0.01426/0.7635, allocations: 7.952 MB / 0.6244 GB, free: 8.066 MB / 426.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