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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 183.8 kB / 7.803 MB, free: 2.488 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 1.787/1.787, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.001274/0.001274, allocations: 101.5 kB / 261.4 MB, free: 13.61 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.2781/0.2781, allocations: 37.97 MB / 347.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.715e-06, allocations: 0 / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 56.32 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4473, allocations: 99.15 MB / 0.5515 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4476, allocations: 79.95 kB / 0.5516 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1327/0.5803, allocations: 25.65 MB / 0.5767 GB, free: 1.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.321e-05/0.5804, allocations: 20 kB / 0.5767 GB, free: 1.668 MB / 410.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.003476/0.5839, allocations: 1.026 MB / 0.5777 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.584, allocations: 12.03 kB / 0.5777 GB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.5859, allocations: 170.6 kB / 0.5779 GB, free: 420 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.592, allocations: 1.294 MB / 0.5791 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.5922, allocations: 32 kB / 0.5792 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.5924, allocations: 48 kB / 0.5792 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002749/0.5952, allocations: 0.8627 MB / 0.5801 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.5983, allocations: 1.032 MB / 0.5811 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/0.5984, allocations: 3.938 kB / 0.5811 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.5985, allocations: 4 kB / 0.5811 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.5987, allocations: 89.94 kB / 0.5812 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.6092, allocations: 4.125 MB / 0.5852 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.6111, allocations: 0.5858 MB / 0.5858 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007939/0.612, allocations: 311.2 kB / 0.586 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.668e-05/0.612, allocations: 4.5 kB / 0.5861 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.6121, allocations: 39.06 kB / 0.5861 GB, free: 7.664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 3.436e-06/0.6121, allocations: 0 / 0.5861 GB, free: 7.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.003953/0.6161, allocations: 1.463 MB / 0.5875 GB, free: 6.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.6162, allocations: 85.77 kB / 0.5876 GB, free: 6.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/0.6171, allocations: 461.8 kB / 0.588 GB, free: 5.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.6173, allocations: 25.7 kB / 0.5881 GB, free: 5.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.6176, allocations: 433 kB / 0.5885 GB, free: 5.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.6179, allocations: 205 kB / 0.5887 GB, free: 4.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.6179, allocations: 0 / 0.5887 GB, free: 4.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.6181, allocations: 358.7 kB / 0.589 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/0.6189, allocations: 277.9 kB / 0.5893 GB, free: 4.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.62, allocations: 0.5996 MB / 0.5899 GB, free: 3.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.621, allocations: 398.8 kB / 0.5902 GB, free: 3.145 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.6211, allocations: 4 kB / 0.5903 GB, free: 3.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00351/0.6246, allocations: 1.068 MB / 0.5913 GB, free: 2.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.6246, allocations: 12.06 kB / 0.5913 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002354/0.627, allocations: 0.6808 MB / 0.592 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.6282, allocations: 214.3 kB / 0.5922 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.6298, allocations: 207.7 kB / 0.5924 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00731/0.6371, allocations: 4.641 MB / 0.5969 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.6379, allocations: 12 kB / 0.5969 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.6381, allocations: 48.03 kB / 0.597 GB, free: 11.88 MB / 442.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 {(2,100.0%) 2,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002629/0.6383, allocations: 84.55 kB / 0.597 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.6385, allocations: 63.25 kB / 0.5971 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.6403, allocations: 0.6196 MB / 0.5977 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6403, allocations: 4 kB / 0.5977 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6403, allocations: 11.94 kB / 0.5977 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6404, allocations: 0 / 0.5977 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.6449, allocations: 1.484 MB / 0.5992 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.645, allocations: 8.062 kB / 0.5992 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.6466, allocations: 163.8 kB / 0.5993 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.6466, allocations: 4 kB / 0.5993 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.6467, allocations: 12 kB / 0.5994 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/0.6467, allocations: 4 kB / 0.5994 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.6467, allocations: 4 kB / 0.5994 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002382/0.6491, allocations: 1.135 MB / 0.6005 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.6497, allocations: 180.2 kB / 0.6006 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.6498, allocations: 7.984 kB / 0.6006 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.6504, allocations: 11.91 kB / 0.6007 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.6506, allocations: 44.38 kB / 0.6007 GB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.6507, allocations: 20 kB / 0.6007 GB, free: 7.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0006162/0.6513, allocations: 326.9 kB / 0.601 GB, free: 7.512 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001297/0.6526, allocations: 205.8 kB / 0.6012 GB, free: 7.312 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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.0002952/0.653, allocations: 127 kB / 0.6013 GB, free: 7.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.6556, allocations: 1.037 MB / 0.6024 GB, free: 6.117 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.6557, allocations: 4.062 kB / 0.6024 GB, free: 6.113 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.6565, allocations: 321.6 kB / 0.6027 GB, free: 5.793 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.6578, allocations: 114.6 kB / 0.6028 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.6627, allocations: 1.669 MB / 0.6044 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/0.6642, allocations: 1.145 MB / 0.6055 GB, free: 2.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6642, allocations: 4 kB / 0.6055 GB, free: 2.766 MB / 442.7 MB Notification: Performance of Templates: time 0.03028/0.6945, allocations: 13.8 MB / 0.619 GB, free: 4.957 MB / 458.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)