Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001275/0.001275, allocations: 191.6 kB / 8.135 MB, free: 2.195 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.385/1.385, allocations: 194.2 MB / 202.8 MB, free: 8.723 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.001786/0.001786, allocations: 123.4 kB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1776/0.1776, allocations: 37.92 MB / 330.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.336e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 53.23 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4383, allocations: 93.81 MB / 0.5243 GB, free: 9.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.4387, allocations: 81.95 kB / 0.5243 GB, free: 9.637 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/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.1169/0.5557, allocations: 51.27 MB / 0.5744 GB, free: 1.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.5557, allocations: 4 kB / 0.5744 GB, free: 1.418 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001716/0.5575, allocations: 0.6824 MB / 0.5751 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.5575, allocations: 12.03 kB / 0.5751 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.5597, allocations: 131.3 kB / 0.5752 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.5604, allocations: 337.3 kB / 0.5755 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.5605, allocations: 46.7 kB / 0.5756 GB, free: 132 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.5606, allocations: 20 kB / 0.5756 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000712/0.5613, allocations: 311.5 kB / 0.5759 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000844/0.5622, allocations: 0.5184 MB / 0.5764 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.5622, allocations: 7.938 kB / 0.5764 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.5622, allocations: 7.984 kB / 0.5764 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.5624, allocations: 40.62 kB / 0.5764 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.5652, allocations: 2.544 MB / 0.5789 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.5658, allocations: 399.9 kB / 0.5793 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.5662, allocations: 198.6 kB / 0.5795 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.5662, allocations: 8 kB / 0.5795 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.5662, allocations: 34.5 kB / 0.5795 GB, free: 11.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 3.347e-06/0.5662, allocations: 0 / 0.5795 GB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008438/0.5671, allocations: 405.4 kB / 0.5799 GB, free: 11.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.5672, allocations: 114.7 kB / 0.58 GB, free: 11.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.5675, allocations: 247.5 kB / 0.5803 GB, free: 11.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5675, allocations: 25.7 kB / 0.5803 GB, free: 11.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5676, allocations: 223.6 kB / 0.5805 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.5678, allocations: 114.3 kB / 0.5806 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.5678, allocations: 0 / 0.5806 GB, free: 10.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.568, allocations: 342.8 kB / 0.581 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.5682, allocations: 120.9 kB / 0.5811 GB, free: 10.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.5685, allocations: 267.2 kB / 0.5813 GB, free: 9.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.5688, allocations: 177.2 kB / 0.5815 GB, free: 9.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5688, allocations: 0 / 0.5815 GB, free: 9.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008657/0.5697, allocations: 0.5152 MB / 0.582 GB, free: 9.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5697, allocations: 7.906 kB / 0.582 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5697, allocations: 4 kB / 0.582 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.5702, allocations: 116.7 kB / 0.5821 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.5705, allocations: 67.91 kB / 0.5822 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.5731, allocations: 2.128 MB / 0.5843 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.5734, allocations: 31.53 kB / 0.5843 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.5734, allocations: 24.06 kB / 0.5843 GB, free: 6.711 MB / 394.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.0001344/0.5736, allocations: 120.8 kB / 0.5844 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.5737, allocations: 31.62 kB / 0.5845 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.5738, allocations: 47.08 kB / 0.5845 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5738, allocations: 4 kB / 0.5845 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.5739, allocations: 4 kB / 0.5845 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5739, allocations: 0 / 0.5845 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.5753, allocations: 0.8831 MB / 0.5854 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5753, allocations: 4 kB / 0.5854 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.5755, allocations: 31.98 kB / 0.5854 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.5757, allocations: 108.9 kB / 0.5855 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.5758, allocations: 0 / 0.5855 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.578, allocations: 2.125 MB / 0.5876 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.5781, allocations: 0 / 0.5876 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007917/0.5789, allocations: 0.6372 MB / 0.5882 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.579, allocations: 112.7 kB / 0.5883 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.5791, allocations: 11.89 kB / 0.5883 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.5793, allocations: 4 kB / 0.5883 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.5793, allocations: 15.98 kB / 0.5883 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5793, allocations: 8 kB / 0.5884 GB, free: 2.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002035/0.5796, allocations: 187.1 kB / 0.5885 GB, free: 2.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007661/0.5803, allocations: 135.8 kB / 0.5887 GB, free: 2.023 MB / 394.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.0001509/0.5805, allocations: 99.12 kB / 0.5888 GB, free: 1.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008479/0.5813, allocations: 473.4 kB / 0.5892 GB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5814, allocations: 1.312 kB / 0.5892 GB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.5818, allocations: 297.7 kB / 0.5895 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.5823, allocations: 48.16 kB / 0.5895 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.5835, allocations: 0.6146 MB / 0.5901 GB, free: 464 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.5841, allocations: 0.9044 MB / 0.591 GB, free: 15.53 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5841, allocations: 0 / 0.591 GB, free: 15.53 MB / 410.7 MB Notification: Performance of Templates: time 0.008298/0.5924, allocations: 3.639 MB / 0.5946 GB, free: 11.91 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)