Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [: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.001622/0.001622, allocations: 194.9 kB / 7.812 MB, free: 2.449 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.703/1.703, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001315/0.001315, allocations: 88.64 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.3273/0.3273, allocations: 37.97 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.107e-06, allocations: 4 kB / 409.3 MB, free: 47.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 56.31 MB / 465.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4537, allocations: 98.81 MB / 0.5512 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.454, allocations: 83.95 kB / 0.5513 GB, free: 11.96 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.1886/0.6427, allocations: 51.28 MB / 0.6014 GB, free: 7.715 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.6427, allocations: 8 kB / 0.6014 GB, free: 7.707 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001561/0.6443, allocations: 0.6863 MB / 0.6021 GB, free: 6.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6444, allocations: 12.03 kB / 0.6021 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.647, allocations: 143.2 kB / 0.6022 GB, free: 6.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.6479, allocations: 338.2 kB / 0.6025 GB, free: 6.449 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.648, allocations: 42.7 kB / 0.6026 GB, free: 6.402 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.6481, allocations: 23.94 kB / 0.6026 GB, free: 6.379 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009392/0.649, allocations: 305.9 kB / 0.6029 GB, free: 6.082 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6502, allocations: 0.53 MB / 0.6034 GB, free: 5.484 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6503, allocations: 3.938 kB / 0.6034 GB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.6503, allocations: 4 kB / 0.6034 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.6505, allocations: 44.61 kB / 0.6034 GB, free: 5.434 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.6545, allocations: 2.544 MB / 0.6059 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.6557, allocations: 398.5 kB / 0.6063 GB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.6562, allocations: 202.6 kB / 0.6065 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6562, allocations: 7.938 kB / 0.6065 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.6563, allocations: 34.56 kB / 0.6065 GB, free: 2.098 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.797e-06/0.6563, allocations: 0 / 0.6065 GB, free: 2.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001314/0.6576, allocations: 418.2 kB / 0.6069 GB, free: 1.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.6577, allocations: 106.8 kB / 0.607 GB, free: 1.551 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.6581, allocations: 243.6 kB / 0.6073 GB, free: 1.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.6582, allocations: 25.7 kB / 0.6073 GB, free: 1.281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.6584, allocations: 282 kB / 0.6076 GB, free: 1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.6585, allocations: 118.4 kB / 0.6077 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.6586, allocations: 0 / 0.6077 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6587, allocations: 326.8 kB / 0.608 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.6591, allocations: 120.8 kB / 0.6081 GB, free: 444 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.6596, allocations: 267.1 kB / 0.6084 GB, free: 104 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.6601, allocations: 177.2 kB / 0.6085 GB, free: 15.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6601, allocations: 4 kB / 0.6085 GB, free: 15.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001396/0.6615, allocations: 0.4919 MB / 0.609 GB, free: 15.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6615, allocations: 7.906 kB / 0.609 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6616, allocations: 4 kB / 0.609 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.6621, allocations: 113.4 kB / 0.6091 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.6626, allocations: 75.91 kB / 0.6092 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.6664, allocations: 2.099 MB / 0.6113 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.6668, allocations: 27.59 kB / 0.6113 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.6669, allocations: 20 kB / 0.6113 GB, free: 12.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.667, allocations: 46.02 kB / 0.6113 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.6672, allocations: 31.62 kB / 0.6114 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.6673, allocations: 39.14 kB / 0.6114 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6673, allocations: 7.906 kB / 0.6114 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6674, allocations: 8.156 kB / 0.6114 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6674, allocations: 7.922 kB / 0.6114 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.6694, allocations: 0.8728 MB / 0.6123 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6695, allocations: 0 / 0.6123 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.6698, allocations: 47.98 kB / 0.6123 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.6702, allocations: 104.5 kB / 0.6124 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.6703, allocations: 4 kB / 0.6124 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/0.6739, allocations: 2.118 MB / 0.6145 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6739, allocations: 0 / 0.6145 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00138/0.6753, allocations: 0.6448 MB / 0.6151 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.6755, allocations: 128.5 kB / 0.6153 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.6756, allocations: 0 / 0.6153 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.6759, allocations: 4 kB / 0.6153 GB, free: 8.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.676, allocations: 15.97 kB / 0.6153 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.676, allocations: 8 kB / 0.6153 GB, free: 8.637 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002903/0.6763, allocations: 187.1 kB / 0.6155 GB, free: 8.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009037/0.6772, allocations: 131.8 kB / 0.6156 GB, free: 8.324 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.6774, allocations: 107.1 kB / 0.6157 GB, free: 8.207 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.6787, allocations: 470.5 kB / 0.6161 GB, free: 7.734 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6787, allocations: 128 / 0.6161 GB, free: 7.734 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007816/0.6795, allocations: 305.2 kB / 0.6164 GB, free: 7.426 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.6801, allocations: 45.06 kB / 0.6165 GB, free: 7.383 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.6819, allocations: 0.659 MB / 0.6171 GB, free: 6.684 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007726/0.6827, allocations: 0.9121 MB / 0.618 GB, free: 5.742 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6828, allocations: 0 / 0.618 GB, free: 5.742 MB / 458.7 MB Notification: Performance of Templates: time 0.01345/0.6962, allocations: 6.187 MB / 0.6241 GB, free: 15.54 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)