Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001589/0.001589, allocations: 191.1 kB / 8.139 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.382/1.382, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.00198/0.00198, allocations: 122.4 kB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1806/0.1806, allocations: 37.91 MB / 330.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.384e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 53.24 MB / 443 MB, free: 24.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4695, allocations: 93.7 MB / 0.5241 GB, free: 9.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.4699, allocations: 83.08 kB / 0.5242 GB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1418/0.6117, allocations: 58.43 MB / 0.5813 GB, free: 10.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.6118, allocations: 20 kB / 0.5813 GB, free: 10.82 MB / 394.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.002792/0.6146, allocations: 1.143 MB / 0.5824 GB, free: 9.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6146, allocations: 8.031 kB / 0.5824 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.619, allocations: 0.5058 MB / 0.5829 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.6202, allocations: 0.5543 MB / 0.5835 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.6203, allocations: 28 kB / 0.5835 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.6205, allocations: 55.84 kB / 0.5835 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/0.6225, allocations: 1.214 MB / 0.5847 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.6246, allocations: 1.364 MB / 0.5861 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.6247, allocations: 4 kB / 0.5861 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.6248, allocations: 3.984 kB / 0.5861 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003029/0.6251, allocations: 137.9 kB / 0.5862 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00813/0.6332, allocations: 4.779 MB / 0.5909 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.6349, allocations: 1.081 MB / 0.5919 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009772/0.6359, allocations: 0.7319 MB / 0.5926 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.636, allocations: 24.28 kB / 0.5927 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.6361, allocations: 47.56 kB / 0.5927 GB, free: 14.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.006e-06/0.6361, allocations: 0 / 0.5927 GB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.004299/0.6404, allocations: 2.31 MB / 0.595 GB, free: 12.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.6404, allocations: 86.11 kB / 0.595 GB, free: 12.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.641, allocations: 389 kB / 0.5954 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.341e-05/0.641, allocations: 25.7 kB / 0.5954 GB, free: 12.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.6413, allocations: 371.4 kB / 0.5958 GB, free: 11.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.6417, allocations: 358.6 kB / 0.5961 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.6417, allocations: 0 / 0.5961 GB, free: 11.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6419, allocations: 382.8 kB / 0.5965 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007537/0.6427, allocations: 0.5102 MB / 0.597 GB, free: 10.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.6436, allocations: 0.7241 MB / 0.5977 GB, free: 9.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/0.6445, allocations: 0.6353 MB / 0.5983 GB, free: 8.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6446, allocations: 4 kB / 0.5983 GB, free: 8.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003043/0.6476, allocations: 1.692 MB / 0.6 GB, free: 7.266 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6476, allocations: 4 kB / 0.6 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.6477, allocations: 12 kB / 0.6 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.6488, allocations: 384.3 kB / 0.6004 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6499, allocations: 219.7 kB / 0.6006 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/0.6565, allocations: 5.091 MB / 0.6055 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/0.6573, allocations: 35.95 kB / 0.6056 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.6575, allocations: 43.94 kB / 0.6056 GB, free: 1.258 MB / 410.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.0002245/0.6577, allocations: 129.2 kB / 0.6057 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.6579, allocations: 71.06 kB / 0.6058 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.661, allocations: 1.716 MB / 0.6075 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.661, allocations: 12 kB / 0.6075 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.661, allocations: 8 kB / 0.6075 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.661, allocations: 7.969 kB / 0.6075 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005804/0.6668, allocations: 3.282 MB / 0.6107 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.6669, allocations: 4 kB / 0.6107 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.6677, allocations: 183.7 kB / 0.6109 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009813/0.6687, allocations: 347 kB / 0.6112 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/0.6688, allocations: 11.91 kB / 0.6112 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005888/0.6747, allocations: 4.877 MB / 0.616 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.6747, allocations: 11.92 kB / 0.616 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003018/0.6777, allocations: 1.915 MB / 0.6179 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.678, allocations: 156.2 kB / 0.618 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6782, allocations: 7.906 kB / 0.618 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.6787, allocations: 23.97 kB / 0.6181 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.6789, allocations: 64.91 kB / 0.6181 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.679, allocations: 32 kB / 0.6182 GB, free: 3.922 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003574/0.6793, allocations: 299.2 kB / 0.6184 GB, free: 3.629 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001263/0.6806, allocations: 340 kB / 0.6188 GB, free: 3.297 MB / 426.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.0002222/0.6808, allocations: 111 kB / 0.6189 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.6833, allocations: 1.597 MB / 0.6204 GB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6833, allocations: 0 / 0.6204 GB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.6847, allocations: 0.9682 MB / 0.6214 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.6853, allocations: 87.59 kB / 0.6215 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.689, allocations: 1.813 MB / 0.6232 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.6902, allocations: 1.242 MB / 0.6244 GB, free: 13.34 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6903, allocations: 3.938 kB / 0.6245 GB, free: 13.33 MB / 442.7 MB Notification: Performance of Templates: time 0.02195/0.7122, allocations: 12.4 MB / 0.6366 GB, free: 0.9336 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)