Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") [: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.001785/0.001785, allocations: 192.8 kB / 7.806 MB, free: 2.492 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.695/1.695, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001214/0.001214, allocations: 86.58 kB / 261.4 MB, free: 13.63 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.2903/0.2903, allocations: 37.98 MB / 347.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.698e-06, allocations: 0 / 409.3 MB, free: 47.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 56.32 MB / 465.6 MB, free: 6.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.4984, allocations: 95.07 MB / 0.5476 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.4988, allocations: 79.95 kB / 0.5476 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2379/0.7367, allocations: 53.99 MB / 0.6004 GB, free: 9.035 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.59e-05/0.7368, allocations: 16 kB / 0.6004 GB, free: 9.02 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003036/0.7399, allocations: 0.9721 MB / 0.6013 GB, free: 8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.7399, allocations: 12.02 kB / 0.6013 GB, free: 7.988 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006269/0.7462, allocations: 394.5 kB / 0.6017 GB, free: 7.602 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.7478, allocations: 484.2 kB / 0.6022 GB, free: 7.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.7479, allocations: 24 kB / 0.6022 GB, free: 7.066 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.7482, allocations: 44 kB / 0.6022 GB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003009/0.7512, allocations: 0.937 MB / 0.6032 GB, free: 6.086 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.7546, allocations: 1.067 MB / 0.6042 GB, free: 4.992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.7547, allocations: 7.844 kB / 0.6042 GB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.7549, allocations: 0 / 0.6042 GB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005231/0.7554, allocations: 101.9 kB / 0.6043 GB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.7663, allocations: 3.437 MB / 0.6077 GB, free: 1.363 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.7693, allocations: 0.9689 MB / 0.6086 GB, free: 380 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.7711, allocations: 0.6294 MB / 0.6092 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.7712, allocations: 16.72 kB / 0.6092 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.7713, allocations: 47.34 kB / 0.6093 GB, free: 15.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.548e-06/0.7713, allocations: 3.938 kB / 0.6093 GB, free: 15.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006667/0.778, allocations: 1.936 MB / 0.6112 GB, free: 13.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.7781, allocations: 93.88 kB / 0.6113 GB, free: 13.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.7787, allocations: 289.9 kB / 0.6115 GB, free: 13.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.7789, allocations: 29.7 kB / 0.6116 GB, free: 13.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.7792, allocations: 314.6 kB / 0.6119 GB, free: 12.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/0.7796, allocations: 303.5 kB / 0.6122 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.7797, allocations: 8.031 kB / 0.6122 GB, free: 12.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.7799, allocations: 346.7 kB / 0.6125 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.7812, allocations: 433.8 kB / 0.6129 GB, free: 11.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.7825, allocations: 0.5207 MB / 0.6134 GB, free: 11.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.784, allocations: 0.5158 MB / 0.6139 GB, free: 10.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.7841, allocations: 0 / 0.6139 GB, free: 10.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004642/0.7887, allocations: 1.347 MB / 0.6152 GB, free: 9.469 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7888, allocations: 4 kB / 0.6152 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7888, allocations: 0 / 0.6152 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.7905, allocations: 312.4 kB / 0.6155 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.7922, allocations: 175.8 kB / 0.6157 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008601/0.8009, allocations: 3.446 MB / 0.6191 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.802, allocations: 31.89 kB / 0.6191 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.8021, allocations: 35.98 kB / 0.6191 GB, free: 5.348 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002653/0.8024, allocations: 33.58 kB / 0.6192 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.8026, allocations: 59.25 kB / 0.6192 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.8075, allocations: 1.483 MB / 0.6207 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.8076, allocations: 12 kB / 0.6207 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.8076, allocations: 4 kB / 0.6207 GB, free: 3.742 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.8076, allocations: 3.984 kB / 0.6207 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009538/0.8172, allocations: 2.875 MB / 0.6235 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.8173, allocations: 7.984 kB / 0.6235 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.8188, allocations: 155.8 kB / 0.6237 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.8204, allocations: 280.9 kB / 0.6239 GB, free: 320 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/0.8207, allocations: 15.94 kB / 0.6239 GB, free: 304 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008008/0.8287, allocations: 3.259 MB / 0.6271 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/0.8288, allocations: 7.938 kB / 0.6271 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00461/0.8334, allocations: 1.676 MB / 0.6288 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.8338, allocations: 140.3 kB / 0.6289 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.8341, allocations: 7.984 kB / 0.6289 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/0.835, allocations: 19.98 kB / 0.6289 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.8352, allocations: 68.58 kB / 0.629 GB, free: 10.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.8354, allocations: 36 kB / 0.629 GB, free: 10.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000461/0.8358, allocations: 232.6 kB / 0.6292 GB, free: 10.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001522/0.8374, allocations: 264 kB / 0.6295 GB, free: 10.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003087/0.8377, allocations: 123 kB / 0.6296 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.8415, allocations: 1.249 MB / 0.6308 GB, free: 8.918 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.8415, allocations: 4.5 kB / 0.6308 GB, free: 8.914 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.8439, allocations: 0.7542 MB / 0.6316 GB, free: 8.152 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.8449, allocations: 70.02 kB / 0.6316 GB, free: 8.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.8502, allocations: 1.575 MB / 0.6332 GB, free: 6.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/0.8519, allocations: 1.143 MB / 0.6343 GB, free: 5.254 MB / 474.7 MB Notification: Performance of SimCode: time 3.577e-06/0.852, allocations: 4 kB / 0.6343 GB, free: 5.25 MB / 474.7 MB Notification: Performance of Templates: time 0.1831/1.035, allocations: 12.39 MB / 0.6464 GB, free: 158.8 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)