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.002482/0.002481, allocations: 183 kB / 15.76 MB, free: 6.359 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.045/2.045, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001154/0.001154, allocations: 102.8 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2634/0.2634, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006376, allocations: 19.98 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1091, allocations: 56.32 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6027, allocations: 95.68 MB / 0.5613 GB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6031, allocations: 83.77 kB / 0.5613 GB, free: 4.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2424/0.8455, allocations: 57.79 MB / 0.6178 GB, free: 1.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8456, allocations: 0 / 0.6178 GB, free: 1.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.036e-05/0.8457, allocations: 20 kB / 0.6178 GB, free: 1.941 MB / 410.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.003238/0.8489, allocations: 1.05 MB / 0.6188 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.849, allocations: 8.031 kB / 0.6188 GB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/0.8549, allocations: 426.4 kB / 0.6192 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.8565, allocations: 0.4922 MB / 0.6197 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.8566, allocations: 61.98 kB / 0.6198 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.8569, allocations: 75.98 kB / 0.6198 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/0.8603, allocations: 1.195 MB / 0.621 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/0.8604, allocations: 4 kB / 0.621 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.8605, allocations: 27.98 kB / 0.621 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000526/0.8611, allocations: 113.8 kB / 0.6212 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/0.8648, allocations: 1.257 MB / 0.6224 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.8756, allocations: 3.704 MB / 0.626 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.8789, allocations: 1.091 MB / 0.6271 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.8791, allocations: 17.19 kB / 0.6271 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.8791, allocations: 51.56 kB / 0.6271 GB, free: 8.113 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 4.709e-06/0.8792, allocations: 0 / 0.6271 GB, free: 8.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.01215/0.8913, allocations: 3.042 MB / 0.6301 GB, free: 5.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.8914, allocations: 94.11 kB / 0.6302 GB, free: 4.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.8921, allocations: 324.8 kB / 0.6305 GB, free: 4.613 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.8923, allocations: 41.7 kB / 0.6305 GB, free: 4.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.8926, allocations: 370.4 kB / 0.6309 GB, free: 4.199 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.8931, allocations: 319.4 kB / 0.6312 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.8932, allocations: 16 kB / 0.6312 GB, free: 3.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.8934, allocations: 346.8 kB / 0.6315 GB, free: 3.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.8946, allocations: 445.7 kB / 0.632 GB, free: 3.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.896, allocations: 0.543 MB / 0.6325 GB, free: 2.508 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.8975, allocations: 0.5222 MB / 0.633 GB, free: 1.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8975, allocations: 0 / 0.633 GB, free: 1.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004377/0.9019, allocations: 1.412 MB / 0.6344 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.902, allocations: 6.812 kB / 0.6344 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.902, allocations: 4 kB / 0.6344 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.9037, allocations: 346.9 kB / 0.6347 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.9053, allocations: 191.7 kB / 0.6349 GB, free: 32 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009286/0.9146, allocations: 3.998 MB / 0.6388 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.9158, allocations: 71.8 kB / 0.6389 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.916, allocations: 35.98 kB / 0.6389 GB, free: 11.76 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.0007051/0.9167, allocations: 289.6 kB / 0.6392 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.9169, allocations: 67.36 kB / 0.6393 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/0.9216, allocations: 1.52 MB / 0.6407 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.9216, allocations: 12 kB / 0.6408 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.9216, allocations: 8 kB / 0.6408 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/0.9217, allocations: 11.91 kB / 0.6408 GB, free: 9.832 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.009026/0.9307, allocations: 2.998 MB / 0.6437 GB, free: 6.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.9308, allocations: 4 kB / 0.6437 GB, free: 6.703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.9321, allocations: 171.7 kB / 0.6439 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.9336, allocations: 289 kB / 0.6441 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.9338, allocations: 20 kB / 0.6442 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008332/0.9421, allocations: 3.705 MB / 0.6478 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.022e-05/0.9422, allocations: 19.94 kB / 0.6478 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.9466, allocations: 1.715 MB / 0.6495 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.947, allocations: 144.3 kB / 0.6496 GB, free: 336 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.9472, allocations: 20 kB / 0.6496 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.948, allocations: 47.94 kB / 0.6497 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.9483, allocations: 84.8 kB / 0.6498 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.632e-05/0.9484, allocations: 35.98 kB / 0.6498 GB, free: 148 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005135/0.9489, allocations: 263.1 kB / 0.65 GB, free: 15.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.949, allocations: 0 / 0.65 GB, free: 15.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001438/0.9504, allocations: 324.1 kB / 0.6504 GB, free: 15.57 MB / 458.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.0002664/0.9507, allocations: 131.1 kB / 0.6505 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.9543, allocations: 1.343 MB / 0.6518 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.9543, allocations: 8.188 kB / 0.6518 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.9565, allocations: 0.8242 MB / 0.6526 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/0.9574, allocations: 90.47 kB / 0.6527 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.9625, allocations: 2.236 MB / 0.6549 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.9636, allocations: 1.101 MB / 0.6559 GB, free: 9.703 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.9641, allocations: 67.41 kB / 0.656 GB, free: 9.637 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.9642, allocations: 0 / 0.656 GB, free: 9.637 MB / 458.7 MB Notification: Performance of Templates: time 0.02661/0.9908, allocations: 12.08 MB / 0.6678 GB, free: 13.54 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)