Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.001609, allocations: 183.8 kB / 15.76 MB, free: 6.344 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.052/2.052, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001161/0.00116, allocations: 98.73 kB / 270.2 MB, free: 13.35 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.3457/0.3457, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004758, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 56.32 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.6143, allocations: 99.58 MB / 0.5651 GB, free: 1.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.6147, allocations: 86.83 kB / 0.5651 GB, free: 1.027 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1999/0.8146, allocations: 52.14 MB / 0.6161 GB, free: 3.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.8146, allocations: 0 / 0.6161 GB, free: 3.441 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.308e-05/0.8147, allocations: 8 kB / 0.6161 GB, free: 3.434 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001812/0.8165, allocations: 0.7255 MB / 0.6168 GB, free: 2.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.8166, allocations: 8.031 kB / 0.6168 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/0.8191, allocations: 135.3 kB / 0.6169 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.82, allocations: 330.2 kB / 0.6172 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.845e-05/0.8201, allocations: 62.69 kB / 0.6173 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/0.8202, allocations: 39.98 kB / 0.6173 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.8217, allocations: 0.5827 MB / 0.6179 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.8218, allocations: 0 / 0.6179 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.8219, allocations: 19.98 kB / 0.6179 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.8221, allocations: 48.55 kB / 0.618 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.8232, allocations: 378.1 kB / 0.6183 GB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.8275, allocations: 2.615 MB / 0.6209 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.8287, allocations: 434.7 kB / 0.6213 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.8288, allocations: 8 kB / 0.6213 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.8289, allocations: 38.56 kB / 0.6213 GB, free: 13.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.607e-06/0.8289, allocations: 0 / 0.6213 GB, free: 13.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.003008/0.8319, allocations: 0.7616 MB / 0.6221 GB, free: 12.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.832, allocations: 106.8 kB / 0.6222 GB, free: 12.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.8325, allocations: 283.7 kB / 0.6225 GB, free: 12.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.8326, allocations: 33.7 kB / 0.6225 GB, free: 12.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.8329, allocations: 294.4 kB / 0.6228 GB, free: 12.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.833, allocations: 118.4 kB / 0.6229 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.8331, allocations: 12 kB / 0.6229 GB, free: 12.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.8333, allocations: 326.8 kB / 0.6232 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.8336, allocations: 124.8 kB / 0.6233 GB, free: 11.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.8341, allocations: 284 kB / 0.6236 GB, free: 11.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.8346, allocations: 181.2 kB / 0.6238 GB, free: 11.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.8346, allocations: 0 / 0.6238 GB, free: 11.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001451/0.8361, allocations: 0.5349 MB / 0.6243 GB, free: 10.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.8361, allocations: 8 kB / 0.6243 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.8362, allocations: 4 kB / 0.6243 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/0.8367, allocations: 121.4 kB / 0.6244 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.8372, allocations: 79.86 kB / 0.6245 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/0.8415, allocations: 2.385 MB / 0.6268 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.842, allocations: 47.59 kB / 0.6269 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.8421, allocations: 20 kB / 0.6269 GB, free: 7.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004163/0.8425, allocations: 205.5 kB / 0.6271 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.8427, allocations: 39.53 kB / 0.6271 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.8428, allocations: 47.95 kB / 0.6272 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.8428, allocations: 4 kB / 0.6272 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.8428, allocations: 7.984 kB / 0.6272 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.8429, allocations: 384 / 0.6272 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.8452, allocations: 0.9344 MB / 0.6281 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.8453, allocations: 0 / 0.6281 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.8456, allocations: 39.92 kB / 0.6281 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.8461, allocations: 112.8 kB / 0.6282 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.8461, allocations: 8 kB / 0.6282 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.8503, allocations: 2.373 MB / 0.6306 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.8504, allocations: 4.031 kB / 0.6306 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.8518, allocations: 0.6724 MB / 0.6312 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.852, allocations: 108.7 kB / 0.6313 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.852, allocations: 8 kB / 0.6313 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.8523, allocations: 7.984 kB / 0.6313 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.8524, allocations: 27.97 kB / 0.6314 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.8525, allocations: 12 kB / 0.6314 GB, free: 2.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003884/0.8529, allocations: 219 kB / 0.6316 GB, free: 2.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8529, allocations: 0 / 0.6316 GB, free: 2.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009562/0.8538, allocations: 163.7 kB / 0.6317 GB, free: 2.465 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.854, allocations: 103.2 kB / 0.6318 GB, free: 2.352 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.8554, allocations: 0.5117 MB / 0.6323 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8555, allocations: 0 / 0.6323 GB, free: 1.828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.8562, allocations: 346.9 kB / 0.6327 GB, free: 1.477 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.8569, allocations: 57.75 kB / 0.6327 GB, free: 1.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.859, allocations: 1.015 MB / 0.6337 GB, free: 364 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/0.8598, allocations: 0.8902 MB / 0.6346 GB, free: 15.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.86, allocations: 31.38 kB / 0.6346 GB, free: 15.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.86, allocations: 0 / 0.6346 GB, free: 15.41 MB / 442.7 MB Notification: Performance of Templates: time 0.0138/0.8738, allocations: 5.909 MB / 0.6404 GB, free: 9.484 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)