Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001521/0.001521, allocations: 191.2 kB / 8.134 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.543/1.543, allocations: 194.2 MB / 202.8 MB, free: 8.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001636/0.001637, allocations: 118.3 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.203/0.203, allocations: 37.91 MB / 330.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.153e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 53.23 MB / 443 MB, free: 25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4565, allocations: 90.07 MB / 0.5206 GB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/0.457, allocations: 82.7 kB / 0.5207 GB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1373/0.5943, allocations: 53.94 MB / 0.5734 GB, free: 2.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.657e-05/0.5944, allocations: 20 kB / 0.5734 GB, free: 2.207 MB / 378.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.003604/0.598, allocations: 0.9833 MB / 0.5743 GB, free: 1.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.5981, allocations: 11.97 kB / 0.5743 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004364/0.6025, allocations: 390.5 kB / 0.5747 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.6039, allocations: 483.3 kB / 0.5752 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.6039, allocations: 28 kB / 0.5752 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.6042, allocations: 40 kB / 0.5752 GB, free: 216 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002094/0.6063, allocations: 0.9371 MB / 0.5762 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.6085, allocations: 1.063 MB / 0.5772 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.6085, allocations: 3.906 kB / 0.5772 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.6086, allocations: 4 kB / 0.5772 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002991/0.6089, allocations: 101.9 kB / 0.5773 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006813/0.6158, allocations: 3.434 MB / 0.5806 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.6175, allocations: 0.9648 MB / 0.5816 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008976/0.6184, allocations: 0.6322 MB / 0.5822 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/0.6185, allocations: 16.38 kB / 0.5822 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.6186, allocations: 43.34 kB / 0.5823 GB, free: 8.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 3.416e-06/0.6186, allocations: 4 kB / 0.5823 GB, free: 8.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.00408/0.6227, allocations: 1.939 MB / 0.5842 GB, free: 6.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.6228, allocations: 89.88 kB / 0.5842 GB, free: 6.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.6233, allocations: 293.9 kB / 0.5845 GB, free: 6.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.6233, allocations: 25.7 kB / 0.5846 GB, free: 6.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.6235, allocations: 272.2 kB / 0.5848 GB, free: 6.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.6239, allocations: 303.5 kB / 0.5851 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.6239, allocations: 0 / 0.5851 GB, free: 5.961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6241, allocations: 374.6 kB / 0.5855 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.6248, allocations: 437.8 kB / 0.5859 GB, free: 5.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/0.6256, allocations: 0.5246 MB / 0.5864 GB, free: 4.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.6264, allocations: 0.5119 MB / 0.5869 GB, free: 4.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6264, allocations: 0 / 0.5869 GB, free: 4.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002434/0.6288, allocations: 1.36 MB / 0.5882 GB, free: 2.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6288, allocations: 8 kB / 0.5882 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6289, allocations: 0 / 0.5882 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.6299, allocations: 320.1 kB / 0.5885 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.6307, allocations: 171.8 kB / 0.5887 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.636, allocations: 3.46 MB / 0.5921 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.6368, allocations: 31.95 kB / 0.5921 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.637, allocations: 24 kB / 0.5921 GB, free: 14.6 MB / 410.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.000269/0.6373, allocations: 124.8 kB / 0.5922 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.6375, allocations: 59.33 kB / 0.5923 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.6407, allocations: 1.471 MB / 0.5937 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.6408, allocations: 12 kB / 0.5938 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.6408, allocations: 7.984 kB / 0.5938 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.6408, allocations: 3.984 kB / 0.5938 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006448/0.6473, allocations: 2.868 MB / 0.5966 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.6473, allocations: 4 kB / 0.5966 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.6481, allocations: 167.7 kB / 0.5967 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009219/0.6491, allocations: 283.3 kB / 0.597 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.221e-05/0.6492, allocations: 15.98 kB / 0.597 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/0.6543, allocations: 3.252 MB / 0.6002 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.6544, allocations: 12 kB / 0.6002 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002916/0.6573, allocations: 1.678 MB / 0.6018 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.6576, allocations: 140.3 kB / 0.602 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.6578, allocations: 8 kB / 0.602 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.6583, allocations: 23.97 kB / 0.602 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.6585, allocations: 64.61 kB / 0.6021 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-05/0.6586, allocations: 31.98 kB / 0.6021 GB, free: 4.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003467/0.6589, allocations: 228.6 kB / 0.6023 GB, free: 3.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001243/0.6602, allocations: 272 kB / 0.6026 GB, free: 3.531 MB / 410.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.0002347/0.6604, allocations: 114.9 kB / 0.6027 GB, free: 3.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.6627, allocations: 1.257 MB / 0.6039 GB, free: 2.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6627, allocations: 0 / 0.6039 GB, free: 2.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.6639, allocations: 0.7543 MB / 0.6046 GB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.6645, allocations: 73.95 kB / 0.6047 GB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.6678, allocations: 1.491 MB / 0.6062 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.6689, allocations: 1.131 MB / 0.6073 GB, free: 14.58 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6689, allocations: 0 / 0.6073 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Templates: time 0.01904/0.688, allocations: 9.993 MB / 0.617 GB, free: 4.617 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)