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.001051/0.001051, allocations: 179.3 kB / 16.38 MB, free: 5.762 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.218/1.218, allocations: 194.5 MB / 211.6 MB, free: 3.062 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.001517/0.001517, allocations: 120.7 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1654/0.1654, allocations: 38 MB / 340.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004334, allocations: 8 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.08272, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/0.396, allocations: 90.85 MB / 0.535 GB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.3962, allocations: 88.52 kB / 0.5351 GB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1234/0.5196, allocations: 54.85 MB / 0.5887 GB, free: 4.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5197, allocations: 0 / 0.5887 GB, free: 4.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.5197, allocations: 16 kB / 0.5887 GB, free: 4.91 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.001668/0.5214, allocations: 1.008 MB / 0.5897 GB, free: 3.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.5214, allocations: 12.02 kB / 0.5897 GB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.5246, allocations: 402.5 kB / 0.5901 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.5255, allocations: 483.5 kB / 0.5905 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.5255, allocations: 57.92 kB / 0.5906 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.5256, allocations: 71.98 kB / 0.5906 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.5273, allocations: 1.152 MB / 0.5918 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.5274, allocations: 0 / 0.5918 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.5274, allocations: 31.98 kB / 0.5918 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002515/0.5277, allocations: 105.8 kB / 0.5919 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.5294, allocations: 1.187 MB / 0.5931 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/0.5346, allocations: 3.519 MB / 0.5965 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.5362, allocations: 1.066 MB / 0.5975 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.5362, allocations: 17.06 kB / 0.5975 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5363, allocations: 47.55 kB / 0.5976 GB, free: 11.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 2.835e-06/0.5363, allocations: 0 / 0.5976 GB, free: 11.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.00635/0.5426, allocations: 3.054 MB / 0.6006 GB, free: 8.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.5427, allocations: 86.11 kB / 0.6007 GB, free: 8.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.5431, allocations: 320.8 kB / 0.601 GB, free: 8.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.5431, allocations: 37.7 kB / 0.601 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.5433, allocations: 312.2 kB / 0.6013 GB, free: 7.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.5436, allocations: 331.2 kB / 0.6016 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.5436, allocations: 20.03 kB / 0.6016 GB, free: 7.328 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5438, allocations: 366.8 kB / 0.602 GB, free: 6.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.5444, allocations: 433.7 kB / 0.6024 GB, free: 6.535 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.5451, allocations: 0.5461 MB / 0.6029 GB, free: 5.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.5459, allocations: 0.5105 MB / 0.6034 GB, free: 5.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5459, allocations: 4 kB / 0.6034 GB, free: 5.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00232/0.5482, allocations: 1.415 MB / 0.6048 GB, free: 4.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5482, allocations: 8 kB / 0.6048 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5482, allocations: 0 / 0.6048 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009119/0.5492, allocations: 335 kB / 0.6051 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.5499, allocations: 187.7 kB / 0.6053 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/0.5548, allocations: 4.009 MB / 0.6092 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.5555, allocations: 63.91 kB / 0.6093 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.5556, allocations: 31.98 kB / 0.6093 GB, free: 15.24 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.0004768/0.556, allocations: 289.6 kB / 0.6096 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.5562, allocations: 63.36 kB / 0.6097 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.5587, allocations: 1.528 MB / 0.6112 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5587, allocations: 12 kB / 0.6112 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.5587, allocations: 8 kB / 0.6112 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5588, allocations: 3.984 kB / 0.6112 GB, free: 13.32 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.004773/0.5635, allocations: 3.001 MB / 0.6141 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5636, allocations: 4 kB / 0.6141 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.5642, allocations: 171.8 kB / 0.6143 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000759/0.565, allocations: 286.9 kB / 0.6146 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.5651, allocations: 27.98 kB / 0.6146 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004473/0.5695, allocations: 3.696 MB / 0.6182 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5696, allocations: 7.953 kB / 0.6182 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.5719, allocations: 1.73 MB / 0.6199 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.5721, allocations: 144.4 kB / 0.62 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.5722, allocations: 20 kB / 0.62 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.5727, allocations: 51.94 kB / 0.6201 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5728, allocations: 76.86 kB / 0.6202 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.5729, allocations: 35.98 kB / 0.6202 GB, free: 3.637 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.5732, allocations: 251.2 kB / 0.6204 GB, free: 3.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5732, allocations: 3.938 kB / 0.6204 GB, free: 3.387 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009246/0.5741, allocations: 324 kB / 0.6207 GB, free: 3.07 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.0001956/0.5743, allocations: 135 kB / 0.6209 GB, free: 2.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.5763, allocations: 1.339 MB / 0.6222 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5763, allocations: 0 / 0.6222 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.5775, allocations: 0.8359 MB / 0.623 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.578, allocations: 94.42 kB / 0.6231 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.5807, allocations: 2.102 MB / 0.6251 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.5814, allocations: 1.089 MB / 0.6262 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004711/0.5819, allocations: 180.6 kB / 0.6264 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.5821, allocations: 55.42 kB / 0.6264 GB, free: 13.11 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5821, allocations: 0 / 0.6264 GB, free: 13.11 MB / 442.7 MB Notification: Performance of Templates: time 0.01452/0.5966, allocations: 8.997 MB / 0.6352 GB, free: 4.121 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)