Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 184.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001132/0.001132, allocations: 87.42 kB / 267.1 MB, free: 9.273 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.2707/0.2707, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.497e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/0.5772, allocations: 95.6 MB / 0.5554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.5775, allocations: 79.95 kB / 0.5555 GB, free: 8.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2486/0.8261, allocations: 57.48 MB / 0.6116 GB, free: 13.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8262, allocations: 4 kB / 0.6116 GB, free: 13.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.08e-05/0.8263, allocations: 16 kB / 0.6116 GB, free: 13.89 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003309/0.8296, allocations: 0.9955 MB / 0.6126 GB, free: 12.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.8296, allocations: 8.031 kB / 0.6126 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00585/0.8355, allocations: 438.3 kB / 0.613 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.8371, allocations: 0.4892 MB / 0.6135 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.8372, allocations: 53.98 kB / 0.6135 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.8375, allocations: 75.98 kB / 0.6136 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.8407, allocations: 1.187 MB / 0.6148 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.8408, allocations: 0 / 0.6148 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.841, allocations: 31.98 kB / 0.6148 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00053/0.8415, allocations: 113.8 kB / 0.6149 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.8454, allocations: 1.23 MB / 0.6161 GB, free: 9.164 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.8564, allocations: 3.704 MB / 0.6197 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.8597, allocations: 1.078 MB / 0.6208 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.8614, allocations: 0.6213 MB / 0.6214 GB, free: 3.621 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.8615, allocations: 20.75 kB / 0.6214 GB, free: 3.598 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.8616, allocations: 47.34 kB / 0.6215 GB, free: 3.543 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 4.689e-06/0.8616, allocations: 0 / 0.6215 GB, free: 3.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.00627/0.8679, allocations: 1.998 MB / 0.6234 GB, free: 1.535 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.868, allocations: 97.81 kB / 0.6235 GB, free: 1.418 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.8687, allocations: 327.5 kB / 0.6238 GB, free: 1.098 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.8688, allocations: 41.7 kB / 0.6238 GB, free: 1.051 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.8691, allocations: 366.5 kB / 0.6242 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/0.8696, allocations: 319.4 kB / 0.6245 GB, free: 380 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.8696, allocations: 16 kB / 0.6245 GB, free: 364 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.8698, allocations: 350.8 kB / 0.6249 GB, free: 4 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.8711, allocations: 437.9 kB / 0.6253 GB, free: 15.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.8724, allocations: 0.5353 MB / 0.6258 GB, free: 15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.8739, allocations: 0.5162 MB / 0.6263 GB, free: 14.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.8739, allocations: 0 / 0.6263 GB, free: 14.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004349/0.8783, allocations: 1.388 MB / 0.6277 GB, free: 13.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.8783, allocations: 10.03 kB / 0.6277 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.8784, allocations: 4 kB / 0.6277 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.8801, allocations: 339.1 kB / 0.628 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.8817, allocations: 187.7 kB / 0.6282 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/0.8907, allocations: 3.881 MB / 0.632 GB, free: 8.516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.8918, allocations: 67.91 kB / 0.632 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.892, allocations: 28 kB / 0.632 GB, free: 8.422 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0002865/0.8923, allocations: 152.8 kB / 0.6322 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.8925, allocations: 67.2 kB / 0.6323 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/0.8971, allocations: 1.508 MB / 0.6337 GB, free: 6.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.8971, allocations: 12 kB / 0.6337 GB, free: 6.668 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.8972, allocations: 12 kB / 0.6338 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.8972, allocations: 3.984 kB / 0.6338 GB, free: 6.652 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008724/0.9059, allocations: 2.98 MB / 0.6367 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/0.906, allocations: 7.953 kB / 0.6367 GB, free: 3.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.9073, allocations: 163.8 kB / 0.6368 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.9088, allocations: 285 kB / 0.6371 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.9089, allocations: 24 kB / 0.6371 GB, free: 3.074 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3321/1.241, allocations: 3.594 MB / 0.6406 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.241, allocations: 4.906 kB / 0.6406 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/1.246, allocations: 1.704 MB / 0.6423 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/1.246, allocations: 147.3 kB / 0.6424 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/1.246, allocations: 21.53 kB / 0.6425 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/1.247, allocations: 52.92 kB / 0.6425 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/1.248, allocations: 78.8 kB / 0.6426 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/1.248, allocations: 33.75 kB / 0.6426 GB, free: 117.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004915/1.248, allocations: 256.7 kB / 0.6429 GB, free: 117.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.248, allocations: 0 / 0.6429 GB, free: 117.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001684/1.25, allocations: 325.8 kB / 0.6432 GB, free: 117.8 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 (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.0002834/1.25, allocations: 137.6 kB / 0.6433 GB, free: 117.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003703/1.254, allocations: 1.319 MB / 0.6446 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.254, allocations: 1.062 kB / 0.6446 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002538/1.257, allocations: 0.806 MB / 0.6454 GB, free: 117.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/1.258, allocations: 91.39 kB / 0.6455 GB, free: 117.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/1.263, allocations: 1.586 MB / 0.647 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.264, allocations: 1.105 MB / 0.6481 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.264, allocations: 59.75 kB / 0.6482 GB, free: 116.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/1.264, allocations: 1.062 kB / 0.6482 GB, free: 116.3 MB / 474.7 MB Notification: Performance of Templates: time 0.03177/1.296, allocations: 12.09 MB / 0.66 GB, free: 116 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)