Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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="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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 171.5 kB / 16.76 MB, free: 5.051 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.579/1.579, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007469/0.0007469, allocations: 92.98 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1716/0.1716, allocations: 38.06 MB / 357.6 MB, free: 1.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003918, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2813, allocations: 56.32 MB / 480.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.4821, allocations: 99.96 MB / 0.5666 GB, free: 2.391 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.4825, allocations: 91.95 kB / 0.5667 GB, free: 2.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.112/0.5946, allocations: 26.2 MB / 0.5923 GB, free: 7.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.5947, allocations: 0 / 0.5923 GB, free: 7.789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.72e-05/0.5947, allocations: 24 kB / 0.5923 GB, free: 7.766 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.003308/0.598, allocations: 1.088 MB / 0.5934 GB, free: 6.625 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.939e-05/0.5981, allocations: 12.03 kB / 0.5934 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.5997, allocations: 159.5 kB / 0.5935 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.6025, allocations: 0.858 MB / 0.5944 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.6026, allocations: 78.28 kB / 0.5945 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.6029, allocations: 84.27 kB / 0.5945 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.6058, allocations: 1.149 MB / 0.5957 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/0.6059, allocations: 11.88 kB / 0.5957 GB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.6061, allocations: 32 kB / 0.5957 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.6062, allocations: 77.95 kB / 0.5958 GB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.609, allocations: 1.007 MB / 0.5968 GB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009234/0.6182, allocations: 4.366 MB / 0.601 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.6202, allocations: 0.6269 MB / 0.6016 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/0.621, allocations: 319.3 kB / 0.6019 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.6211, allocations: 16.55 kB / 0.602 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.015e-05/0.6212, allocations: 47.06 kB / 0.602 GB, free: 13.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 1.417e-05/0.6212, allocations: 0 / 0.602 GB, free: 13.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.005084/0.6263, allocations: 1.765 MB / 0.6037 GB, free: 11.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.6264, allocations: 93.66 kB / 0.6038 GB, free: 11.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6275, allocations: 0.5301 MB / 0.6043 GB, free: 10.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.6276, allocations: 37.7 kB / 0.6044 GB, free: 10.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.628, allocations: 446.7 kB / 0.6048 GB, free: 10.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.6283, allocations: 224.8 kB / 0.605 GB, free: 10.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.6284, allocations: 19.94 kB / 0.605 GB, free: 10.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.6287, allocations: 378.7 kB / 0.6054 GB, free: 9.863 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.6294, allocations: 289.8 kB / 0.6057 GB, free: 9.582 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.6305, allocations: 0.6158 MB / 0.6063 GB, free: 8.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.6325, allocations: 0.9808 MB / 0.6072 GB, free: 7.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.6325, allocations: 0 / 0.6072 GB, free: 7.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003319/0.6359, allocations: 1.183 MB / 0.6084 GB, free: 6.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.6359, allocations: 16.92 kB / 0.6084 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002087/0.638, allocations: 0.7262 MB / 0.6091 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.6392, allocations: 214.4 kB / 0.6093 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.6403, allocations: 211.6 kB / 0.6095 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007095/0.6474, allocations: 4.923 MB / 0.6143 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.6486, allocations: 39.89 kB / 0.6144 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6488, allocations: 44 kB / 0.6144 GB, free: 15.89 MB / 458.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.0009129/0.6497, allocations: 349.4 kB / 0.6147 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.6499, allocations: 63.25 kB / 0.6148 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.6517, allocations: 0.6694 MB / 0.6154 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.6517, allocations: 11.94 kB / 0.6155 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6518, allocations: 0 / 0.6155 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.6518, allocations: 3.984 kB / 0.6155 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/0.6567, allocations: 1.62 MB / 0.617 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6567, allocations: 0 / 0.617 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6578, allocations: 159.8 kB / 0.6172 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/0.6578, allocations: 4 kB / 0.6172 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.6579, allocations: 19.98 kB / 0.6172 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.6579, allocations: 4 kB / 0.6172 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.658, allocations: 8.391 kB / 0.6172 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.6604, allocations: 1.047 MB / 0.6182 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.6609, allocations: 180.4 kB / 0.6184 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.661, allocations: 20.12 kB / 0.6184 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.6615, allocations: 23.89 kB / 0.6185 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.6617, allocations: 48.44 kB / 0.6185 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.6618, allocations: 23.94 kB / 0.6185 GB, free: 11.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007323/0.6625, allocations: 362.8 kB / 0.6189 GB, free: 11.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6625, allocations: 0 / 0.6189 GB, free: 11.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001562/0.6641, allocations: 232.8 kB / 0.6191 GB, free: 10.93 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.0003796/0.6645, allocations: 147 kB / 0.6192 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.6673, allocations: 1.111 MB / 0.6203 GB, free: 9.617 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6673, allocations: 0 / 0.6203 GB, free: 9.617 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.6681, allocations: 318.9 kB / 0.6206 GB, free: 9.309 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.6697, allocations: 158 kB / 0.6208 GB, free: 9.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.6751, allocations: 2.438 MB / 0.6232 GB, free: 6.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.6762, allocations: 1.068 MB / 0.6242 GB, free: 5.562 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.6766, allocations: 63.44 kB / 0.6243 GB, free: 5.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.984e-06/0.6766, allocations: 0 / 0.6243 GB, free: 5.5 MB / 458.7 MB Notification: Performance of Templates: time 0.03154/0.7082, allocations: 14.03 MB / 0.638 GB, free: 7.453 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)