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.001546/0.001546, allocations: 185.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 94.45 kB / 267.1 MB, free: 9.27 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.2764/0.2764, allocations: 37.97 MB / 353.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.386e-05/4.401e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5211/0.6481, allocations: 99.84 MB / 0.5595 GB, free: 3.891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.6484, allocations: 83.95 kB / 0.5596 GB, free: 3.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1259/0.7743, allocations: 26.18 MB / 0.5852 GB, free: 9.332 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.7744, allocations: 0 / 0.5852 GB, free: 9.332 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.438e-05/0.7745, allocations: 23.94 kB / 0.5852 GB, free: 9.309 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.003389/0.7779, allocations: 1.01 MB / 0.5862 GB, free: 8.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.7779, allocations: 8.031 kB / 0.5862 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.7797, allocations: 174.5 kB / 0.5864 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/0.7854, allocations: 1.287 MB / 0.5876 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.7856, allocations: 65.98 kB / 0.5877 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.7858, allocations: 87.83 kB / 0.5878 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.7887, allocations: 1.126 MB / 0.5889 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/0.7887, allocations: 3.938 kB / 0.5889 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.7889, allocations: 39.98 kB / 0.5889 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.7891, allocations: 77.95 kB / 0.589 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.7917, allocations: 0.9758 MB / 0.5899 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009333/0.8011, allocations: 4.37 MB / 0.5942 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.803, allocations: 0.6102 MB / 0.5948 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007758/0.8038, allocations: 331.2 kB / 0.5951 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.8039, allocations: 8.547 kB / 0.5951 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.804, allocations: 43.06 kB / 0.5952 GB, free: 14.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.107e-06/0.804, allocations: 0 / 0.5952 GB, free: 14.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.00395/0.8079, allocations: 1.539 MB / 0.5967 GB, free: 13.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.8081, allocations: 81.67 kB / 0.5967 GB, free: 13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.809, allocations: 484.5 kB / 0.5972 GB, free: 12.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.8091, allocations: 37.7 kB / 0.5972 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.8095, allocations: 481.1 kB / 0.5977 GB, free: 12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.8098, allocations: 216.9 kB / 0.5979 GB, free: 11.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.8098, allocations: 20 kB / 0.5979 GB, free: 11.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.81, allocations: 354.8 kB / 0.5983 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.8108, allocations: 277.9 kB / 0.5985 GB, free: 11.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.8119, allocations: 0.6036 MB / 0.5991 GB, free: 10.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.8129, allocations: 399 kB / 0.5995 GB, free: 9.992 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.8129, allocations: 0 / 0.5995 GB, free: 9.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003446/0.8164, allocations: 1.145 MB / 0.6006 GB, free: 8.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.8165, allocations: 14.03 kB / 0.6006 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002244/0.8187, allocations: 0.7107 MB / 0.6013 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.82, allocations: 222.8 kB / 0.6015 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.8215, allocations: 203.7 kB / 0.6017 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.8284, allocations: 4.915 MB / 0.6065 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/0.8294, allocations: 31.91 kB / 0.6066 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8296, allocations: 52.05 kB / 0.6066 GB, free: 2.27 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 () * 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.0003053/0.8299, allocations: 191.8 kB / 0.6068 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.8301, allocations: 63.25 kB / 0.6069 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.8318, allocations: 0.6538 MB / 0.6075 GB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.8318, allocations: 4 kB / 0.6075 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8318, allocations: 0 / 0.6075 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.8319, allocations: 7.984 kB / 0.6075 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.8363, allocations: 1.609 MB / 0.6091 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.8363, allocations: 4 kB / 0.6091 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.8378, allocations: 164 kB / 0.6092 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/0.8379, allocations: 8 kB / 0.6092 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.838, allocations: 15.95 kB / 0.6093 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.838, allocations: 11.98 kB / 0.6093 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.838, allocations: 0 / 0.6093 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.8404, allocations: 1.115 MB / 0.6104 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.8409, allocations: 180.3 kB / 0.6105 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.8411, allocations: 19.98 kB / 0.6105 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.8417, allocations: 20.12 kB / 0.6106 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.8419, allocations: 56.42 kB / 0.6106 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.842, allocations: 20 kB / 0.6106 GB, free: 13.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007105/0.8427, allocations: 353.5 kB / 0.611 GB, free: 13.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8427, allocations: 3.828 kB / 0.611 GB, free: 13.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00134/0.844, allocations: 237.9 kB / 0.6112 GB, free: 13.36 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 () * 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.0002994/0.8444, allocations: 140.8 kB / 0.6113 GB, free: 13.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.8473, allocations: 1.099 MB / 0.6124 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.8473, allocations: 0 / 0.6124 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.8482, allocations: 311 kB / 0.6127 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.8495, allocations: 143.2 kB / 0.6128 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.8539, allocations: 1.667 MB / 0.6145 GB, free: 9.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.855, allocations: 1.088 MB / 0.6155 GB, free: 8.793 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.8554, allocations: 63.36 kB / 0.6156 GB, free: 8.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8554, allocations: 0 / 0.6156 GB, free: 8.73 MB / 458.7 MB Notification: Performance of Templates: time 0.03039/0.8858, allocations: 13.6 MB / 0.6289 GB, free: 11.12 MB / 474.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)