Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 180.7 kB / 8.012 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 74.72 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2842/0.2842, allocations: 37.99 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.866e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.51/0.6222, allocations: 99.17 MB / 0.5521 GB, free: 9.727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.6226, allocations: 82.36 kB / 0.5522 GB, free: 9.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1168/0.7394, allocations: 26 MB / 0.5776 GB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7395, allocations: 0 / 0.5776 GB, free: 6.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.24e-05/0.7396, allocations: 16 kB / 0.5776 GB, free: 6.293 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003323/0.7429, allocations: 1.013 MB / 0.5786 GB, free: 5.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.743, allocations: 15.97 kB / 0.5786 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.7448, allocations: 170.5 kB / 0.5787 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005777/0.7506, allocations: 1.289 MB / 0.58 GB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.7508, allocations: 31.88 kB / 0.58 GB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/0.7511, allocations: 51.91 kB / 0.5801 GB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002395/0.7535, allocations: 0.8228 MB / 0.5809 GB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.7562, allocations: 1.018 MB / 0.5819 GB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/0.7563, allocations: 0 / 0.5819 GB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7564, allocations: 7.938 kB / 0.5819 GB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.7566, allocations: 81.39 kB / 0.582 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009274/0.7659, allocations: 4.08 MB / 0.5859 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.7677, allocations: 0.5832 MB / 0.5865 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006934/0.7684, allocations: 301.2 kB / 0.5868 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.7685, allocations: 7.625 kB / 0.5868 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.7686, allocations: 46.7 kB / 0.5869 GB, free: 14.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.878e-06/0.7686, allocations: 0 / 0.5869 GB, free: 14.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.003932/0.7725, allocations: 1.444 MB / 0.5883 GB, free: 12.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.7726, allocations: 81.67 kB / 0.5883 GB, free: 12.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/0.7735, allocations: 452.1 kB / 0.5888 GB, free: 12.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.7736, allocations: 25.7 kB / 0.5888 GB, free: 12.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.774, allocations: 0.4891 MB / 0.5893 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.7743, allocations: 204.8 kB / 0.5895 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.7743, allocations: 0 / 0.5895 GB, free: 11.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.7745, allocations: 351.5 kB / 0.5898 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.7752, allocations: 265.1 kB / 0.5901 GB, free: 11.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009449/0.7762, allocations: 0.593 MB / 0.5906 GB, free: 10.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.7771, allocations: 386.2 kB / 0.591 GB, free: 10.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.7771, allocations: 4 kB / 0.591 GB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003296/0.7804, allocations: 1.054 MB / 0.592 GB, free: 9.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.7805, allocations: 8 kB / 0.592 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002144/0.7827, allocations: 0.6699 MB / 0.5927 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.7839, allocations: 214 kB / 0.5929 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.7855, allocations: 214.1 kB / 0.5931 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006873/0.7924, allocations: 4.717 MB / 0.5977 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/0.7934, allocations: 15.98 kB / 0.5977 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7936, allocations: 43.12 kB / 0.5978 GB, free: 3.781 MB / 394.7 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.0002997/0.7939, allocations: 158.8 kB / 0.5979 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.794, allocations: 67.2 kB / 0.598 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.7956, allocations: 0.6006 MB / 0.5986 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.7957, allocations: 8 kB / 0.5986 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7957, allocations: 4 kB / 0.5986 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.7957, allocations: 3.984 kB / 0.5986 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/0.8, allocations: 1.431 MB / 0.6 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.8001, allocations: 3.984 kB / 0.6 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.8017, allocations: 164.3 kB / 0.6002 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.8017, allocations: 4.312 kB / 0.6002 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/0.8018, allocations: 13.48 kB / 0.6002 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.8019, allocations: 8 kB / 0.6002 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8019, allocations: 3.984 kB / 0.6002 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.8041, allocations: 1.065 MB / 0.6012 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.8046, allocations: 181.8 kB / 0.6014 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.8048, allocations: 4 kB / 0.6014 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.8054, allocations: 7.984 kB / 0.6014 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.8055, allocations: 55.89 kB / 0.6015 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/0.8056, allocations: 14.69 kB / 0.6015 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006017/0.8062, allocations: 326.7 kB / 0.6018 GB, free: 280 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8063, allocations: 3.938 kB / 0.6018 GB, free: 276 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001443/0.8077, allocations: 213.8 kB / 0.602 GB, free: 64 kB / 394.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.0003474/0.8081, allocations: 138.8 kB / 0.6021 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.811, allocations: 1.024 MB / 0.6031 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.8111, allocations: 0 / 0.6031 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008441/0.812, allocations: 301.6 kB / 0.6034 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.8132, allocations: 131 kB / 0.6035 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.8174, allocations: 1.628 MB / 0.6051 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.8185, allocations: 1.092 MB / 0.6062 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.8188, allocations: 59.44 kB / 0.6062 GB, free: 11.81 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/0.8189, allocations: 0 / 0.6062 GB, free: 11.81 MB / 410.7 MB Notification: Performance of Templates: time 0.03016/0.849, allocations: 13.51 MB / 0.6194 GB, free: 14.28 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Display --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe 2>&1)