Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002754/0.002754, allocations: 364.4 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.872/3.872, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003571/0.003571, allocations: 229.6 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.754/0.754, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.000471, allocations: 8 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09291, allocations: 53.24 MB / 0.6742 GB, free: 60.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5522, allocations: 90.68 MB / 0.7628 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5526, allocations: 91.38 kB / 0.7629 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2017/0.7543, allocations: 57.78 MB / 0.8193 GB, free: 59.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7544, allocations: 0 / 0.8193 GB, free: 59.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.7544, allocations: 16 kB / 0.8193 GB, free: 59.72 MB / 442.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.002444/0.7569, allocations: 1.046 MB / 0.8203 GB, free: 58.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.757, allocations: 8.031 kB / 0.8203 GB, free: 58.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/0.7626, allocations: 426 kB / 0.8207 GB, free: 58.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.7638, allocations: 0.4883 MB / 0.8212 GB, free: 57.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.7639, allocations: 62.03 kB / 0.8213 GB, free: 57.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.7641, allocations: 78.62 kB / 0.8214 GB, free: 57.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.7667, allocations: 1.202 MB / 0.8225 GB, free: 56.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.7668, allocations: 4 kB / 0.8225 GB, free: 56.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.7669, allocations: 35.83 kB / 0.8226 GB, free: 56.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004508/0.7674, allocations: 113.8 kB / 0.8227 GB, free: 56.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.7702, allocations: 1.253 MB / 0.8239 GB, free: 54.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00829/0.7785, allocations: 3.701 MB / 0.8275 GB, free: 51.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.7813, allocations: 1.08 MB / 0.8286 GB, free: 50.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.7826, allocations: 0.6346 MB / 0.8292 GB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.7827, allocations: 24.62 kB / 0.8292 GB, free: 49.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.7827, allocations: 43.55 kB / 0.8293 GB, free: 49.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 3.997e-06/0.7828, allocations: 0 / 0.8293 GB, free: 49.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.01058/0.7933, allocations: 3.048 MB / 0.8322 GB, free: 46.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.7934, allocations: 86.11 kB / 0.8323 GB, free: 46.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/0.794, allocations: 377.6 kB / 0.8327 GB, free: 45.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.7941, allocations: 41.7 kB / 0.8327 GB, free: 45.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.7943, allocations: 331.9 kB / 0.833 GB, free: 45.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.7946, allocations: 318.9 kB / 0.8333 GB, free: 45.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.7947, allocations: 16 kB / 0.8333 GB, free: 45.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7948, allocations: 366.8 kB / 0.8337 GB, free: 44.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009878/0.7958, allocations: 445.7 kB / 0.8341 GB, free: 44.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.7969, allocations: 0.551 MB / 0.8347 GB, free: 43.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.7981, allocations: 0.5183 MB / 0.8352 GB, free: 43.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7981, allocations: 0 / 0.8352 GB, free: 43.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003682/0.8018, allocations: 1.431 MB / 0.8366 GB, free: 41.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.8018, allocations: 8 kB / 0.8366 GB, free: 41.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.8019, allocations: 4 kB / 0.8366 GB, free: 41.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.8034, allocations: 335.1 kB / 0.8369 GB, free: 41.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.8049, allocations: 190.9 kB / 0.8371 GB, free: 41.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007181/0.8121, allocations: 3.898 MB / 0.8409 GB, free: 37.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.8133, allocations: 63.91 kB / 0.8409 GB, free: 37.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.8134, allocations: 32 kB / 0.841 GB, free: 37.11 MB / 442.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 () * Number of clocked 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.0006753/0.8141, allocations: 313.5 kB / 0.8413 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.8143, allocations: 59.25 kB / 0.8413 GB, free: 36.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/0.8184, allocations: 1.52 MB / 0.8428 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.8184, allocations: 12 kB / 0.8428 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.8184, allocations: 4 kB / 0.8428 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.8184, allocations: 3.984 kB / 0.8428 GB, free: 35.18 MB / 442.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.007348/0.8258, allocations: 2.996 MB / 0.8458 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8258, allocations: 4 kB / 0.8458 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.8271, allocations: 171.8 kB / 0.8459 GB, free: 31.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.8284, allocations: 289.4 kB / 0.8462 GB, free: 31.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.8285, allocations: 27.98 kB / 0.8462 GB, free: 31.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006702/0.8353, allocations: 3.616 MB / 0.8498 GB, free: 27.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.8353, allocations: 4 kB / 0.8498 GB, free: 27.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.839, allocations: 1.547 MB / 0.8513 GB, free: 26.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.8392, allocations: 144.3 kB / 0.8514 GB, free: 26.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.8394, allocations: 31.94 kB / 0.8514 GB, free: 26.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/0.8402, allocations: 47.95 kB / 0.8515 GB, free: 25.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.8404, allocations: 72.89 kB / 0.8516 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.8405, allocations: 35.95 kB / 0.8516 GB, free: 25.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003877/0.8409, allocations: 271.1 kB / 0.8519 GB, free: 25.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.841, allocations: 0 / 0.8519 GB, free: 25.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001302/0.8423, allocations: 324.9 kB / 0.8522 GB, free: 25.29 MB / 442.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.0002203/0.8425, allocations: 131 kB / 0.8523 GB, free: 25.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.8455, allocations: 1.34 MB / 0.8536 GB, free: 23.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.8456, allocations: 4.625 kB / 0.8536 GB, free: 23.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.8474, allocations: 0.8204 MB / 0.8544 GB, free: 22.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.8485, allocations: 107.7 kB / 0.8545 GB, free: 22.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.853, allocations: 2.155 MB / 0.8566 GB, free: 20.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/0.8539, allocations: 1.099 MB / 0.8577 GB, free: 19.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008078/0.8547, allocations: 184.7 kB / 0.8579 GB, free: 19.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.855, allocations: 55.42 kB / 0.8579 GB, free: 19.28 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8551, allocations: 0 / 0.8579 GB, free: 19.28 MB / 442.7 MB Notification: Performance of Templates: time 0.0223/0.8774, allocations: 9.068 MB / 0.8668 GB, free: 10.32 MB / 442.7 MB