Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [: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.002701/0.002701, allocations: 189 kB / 7.803 MB, free: 2.484 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.678/1.678, 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.001275/0.001275, allocations: 96.14 kB / 261.4 MB, free: 13.62 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.2951/0.2951, allocations: 37.97 MB / 347.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.045e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09533, allocations: 56.32 MB / 465.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4371, allocations: 98.69 MB / 0.5511 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.4375, allocations: 79.95 kB / 0.5512 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2924/0.7299, allocations: 58.46 MB / 0.6083 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.943e-05/0.7301, allocations: 20 kB / 0.6083 GB, free: 0.918 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00429/0.7344, allocations: 1.136 MB / 0.6094 GB, free: 15.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.7344, allocations: 12.03 kB / 0.6094 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.7445, allocations: 0.5058 MB / 0.6099 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.7469, allocations: 0.5554 MB / 0.6104 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/0.747, allocations: 28 kB / 0.6105 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.7474, allocations: 55.91 kB / 0.6105 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004812/0.7522, allocations: 1.214 MB / 0.6117 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005211/0.7575, allocations: 1.364 MB / 0.613 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.056e-05/0.7576, allocations: 0 / 0.613 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.7578, allocations: 4 kB / 0.613 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007915/0.7586, allocations: 129.9 kB / 0.6132 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.776, allocations: 4.814 MB / 0.6179 GB, free: 6.785 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.7792, allocations: 1.075 MB / 0.6189 GB, free: 5.691 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.7811, allocations: 0.7303 MB / 0.6196 GB, free: 4.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.7813, allocations: 25.44 kB / 0.6197 GB, free: 4.934 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.7813, allocations: 43.5 kB / 0.6197 GB, free: 4.883 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 4.288e-06/0.7813, allocations: 0 / 0.6197 GB, free: 4.883 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.007586/0.7889, allocations: 2.307 MB / 0.622 GB, free: 2.559 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.789, allocations: 98.03 kB / 0.622 GB, free: 2.441 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007697/0.7898, allocations: 389 kB / 0.6224 GB, free: 2.055 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.79, allocations: 25.7 kB / 0.6224 GB, free: 2.023 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.7904, allocations: 413.8 kB / 0.6228 GB, free: 1.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005852/0.791, allocations: 354.7 kB / 0.6232 GB, free: 1.262 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.7911, allocations: 0 / 0.6232 GB, free: 1.262 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.7913, allocations: 358.8 kB / 0.6235 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.7927, allocations: 0.5141 MB / 0.624 GB, free: 400 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.7944, allocations: 0.7164 MB / 0.6247 GB, free: 15.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.7963, allocations: 0.6392 MB / 0.6253 GB, free: 14.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.7963, allocations: 0 / 0.6253 GB, free: 14.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005444/0.8018, allocations: 1.672 MB / 0.627 GB, free: 13.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.8018, allocations: 4 kB / 0.627 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.8019, allocations: 8 kB / 0.627 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.8037, allocations: 379.8 kB / 0.6273 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.8058, allocations: 223.7 kB / 0.6276 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.8169, allocations: 5.051 MB / 0.6325 GB, free: 7.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.8182, allocations: 35.86 kB / 0.6325 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.8183, allocations: 44 kB / 0.6326 GB, free: 7.305 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.8187, allocations: 53.44 kB / 0.6326 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.8189, allocations: 75.16 kB / 0.6327 GB, free: 7.172 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/0.8245, allocations: 1.715 MB / 0.6344 GB, free: 5.441 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.8246, allocations: 16 kB / 0.6344 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.8246, allocations: 8 kB / 0.6344 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.8247, allocations: 7.969 kB / 0.6344 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.8352, allocations: 3.285 MB / 0.6376 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.8353, allocations: 4 kB / 0.6376 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.8369, allocations: 179.7 kB / 0.6378 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.8388, allocations: 349.7 kB / 0.6381 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.8391, allocations: 12 kB / 0.6381 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1613/1, allocations: 4.874 MB / 0.6429 GB, free: 176.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1, allocations: 10.53 kB / 0.6429 GB, free: 176.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004476/1.005, allocations: 1.902 MB / 0.6448 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/1.005, allocations: 155.6 kB / 0.6449 GB, free: 175.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.006, allocations: 7.328 kB / 0.6449 GB, free: 175.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.007, allocations: 20.66 kB / 0.6449 GB, free: 175.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.007, allocations: 72.22 kB / 0.645 GB, free: 175.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.007, allocations: 37.72 kB / 0.645 GB, free: 175.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004644/1.007, allocations: 298.1 kB / 0.6453 GB, free: 175.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00161/1.009, allocations: 335.9 kB / 0.6456 GB, free: 175.7 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002613/1.009, allocations: 116 kB / 0.6457 GB, free: 175.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00383/1.013, allocations: 1.591 MB / 0.6473 GB, free: 175.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.013, allocations: 0 / 0.6473 GB, free: 175.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/1.016, allocations: 0.9819 MB / 0.6483 GB, free: 175.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/1.017, allocations: 86.97 kB / 0.6483 GB, free: 175.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/1.022, allocations: 1.9 MB / 0.6502 GB, free: 174.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.024, allocations: 1.265 MB / 0.6514 GB, free: 174 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/1.024, allocations: 0 / 0.6514 GB, free: 174 MB / 474.7 MB Notification: Performance of Templates: time 0.03044/1.054, allocations: 18.06 MB / 0.6691 GB, free: 173.6 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)