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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001065/0.001065, allocations: 183 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.438/1.438, allocations: 194.5 MB / 212.6 MB, free: 2.855 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.00155/0.00155, allocations: 125.4 kB / 257.9 MB, free: 4.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.212/0.212, allocations: 38.01 MB / 341.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004174, allocations: 16 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1057, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5137, allocations: 90.88 MB / 0.5363 GB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5141, allocations: 90.83 kB / 0.5363 GB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.13/0.6441, allocations: 54.91 MB / 0.59 GB, free: 4.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6442, allocations: 4 kB / 0.59 GB, free: 4.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.654e-05/0.6442, allocations: 16 kB / 0.59 GB, free: 4.441 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003285/0.6475, allocations: 1 MB / 0.591 GB, free: 3.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/0.6476, allocations: 8.031 kB / 0.591 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.6514, allocations: 399.4 kB / 0.5914 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.6525, allocations: 0.4888 MB / 0.5918 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6527, allocations: 54.36 kB / 0.5919 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.653, allocations: 72.36 kB / 0.5919 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.6554, allocations: 1.153 MB / 0.5931 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.6555, allocations: 192 / 0.5931 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.569e-05/0.6556, allocations: 39.91 kB / 0.5931 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002772/0.6559, allocations: 101.9 kB / 0.5932 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.6581, allocations: 1.194 MB / 0.5944 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006753/0.6648, allocations: 3.515 MB / 0.5978 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.6668, allocations: 1.062 MB / 0.5988 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009854/0.6678, allocations: 0.6447 MB / 0.5995 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.6679, allocations: 20.97 kB / 0.5995 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.668, allocations: 43.56 kB / 0.5995 GB, free: 10.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 5.6e-06/0.668, allocations: 0 / 0.5995 GB, free: 10.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.007275/0.6753, allocations: 3.084 MB / 0.6025 GB, free: 7.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.6754, allocations: 86.11 kB / 0.6026 GB, free: 7.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.6759, allocations: 361.6 kB / 0.603 GB, free: 6.828 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/0.676, allocations: 41.7 kB / 0.603 GB, free: 6.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.6762, allocations: 312.2 kB / 0.6033 GB, free: 6.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.6766, allocations: 315.4 kB / 0.6036 GB, free: 6.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.6767, allocations: 20 kB / 0.6036 GB, free: 6.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.6769, allocations: 370.8 kB / 0.604 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.6776, allocations: 433.8 kB / 0.6044 GB, free: 5.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/0.6784, allocations: 0.5539 MB / 0.6049 GB, free: 4.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.6799, allocations: 1.051 MB / 0.606 GB, free: 3.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.68, allocations: 0 / 0.606 GB, free: 3.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002497/0.6825, allocations: 1.427 MB / 0.6074 GB, free: 2.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.6825, allocations: 12.03 kB / 0.6074 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6825, allocations: 0 / 0.6074 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009892/0.6835, allocations: 330.9 kB / 0.6077 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.6843, allocations: 191.7 kB / 0.6079 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/0.6898, allocations: 3.907 MB / 0.6117 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.6905, allocations: 63.92 kB / 0.6117 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.6907, allocations: 27.98 kB / 0.6118 GB, free: 13.56 MB / 426.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 () * Number of clocked 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.0006205/0.6913, allocations: 293.5 kB / 0.6121 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.6915, allocations: 59.25 kB / 0.6121 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.6943, allocations: 1.528 MB / 0.6136 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/0.6943, allocations: 15.94 kB / 0.6136 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.6943, allocations: 7.938 kB / 0.6136 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6943, allocations: 7.984 kB / 0.6136 GB, free: 11.64 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/0.6996, allocations: 3.001 MB / 0.6166 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6997, allocations: 7.938 kB / 0.6166 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.7003, allocations: 171.7 kB / 0.6167 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008025/0.7012, allocations: 293.3 kB / 0.617 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.7012, allocations: 20 kB / 0.617 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.7063, allocations: 3.607 MB / 0.6206 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.7063, allocations: 8.062 kB / 0.6206 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.7091, allocations: 1.549 MB / 0.6221 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.7094, allocations: 152.3 kB / 0.6222 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.7096, allocations: 20 kB / 0.6222 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.7102, allocations: 51.94 kB / 0.6223 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.7105, allocations: 80.78 kB / 0.6224 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/0.7105, allocations: 32 kB / 0.6224 GB, free: 2.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004215/0.711, allocations: 255.1 kB / 0.6226 GB, free: 2.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.711, allocations: 4 kB / 0.6226 GB, free: 2.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001688/0.7127, allocations: 320 kB / 0.623 GB, free: 1.73 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 () * Number of clocked 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.0004154/0.7131, allocations: 127.1 kB / 0.6231 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.7163, allocations: 1.354 MB / 0.6244 GB, free: 236 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.7163, allocations: 0 / 0.6244 GB, free: 236 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.7178, allocations: 0.8321 MB / 0.6252 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.7189, allocations: 106.3 kB / 0.6253 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.7227, allocations: 2.113 MB / 0.6274 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009258/0.7237, allocations: 1.068 MB / 0.6284 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005267/0.7242, allocations: 180.6 kB / 0.6286 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.7244, allocations: 51.42 kB / 0.6286 GB, free: 11.77 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7244, allocations: 0 / 0.6286 GB, free: 11.77 MB / 442.7 MB Notification: Performance of Templates: time 0.01953/0.744, allocations: 9.015 MB / 0.6374 GB, free: 2.766 MB / 442.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)