Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002515/0.002514, allocations: 182.1 kB / 15.76 MB, free: 6.363 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.088/2.088, allocations: 205.4 MB / 221.9 MB, free: 13.75 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.001643/0.001644, allocations: 94.75 kB / 270.2 MB, free: 13.29 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.3072/0.3072, allocations: 38.06 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000739/0.000739, allocations: 8 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1336, allocations: 56.33 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4893/0.6229, allocations: 95.84 MB / 0.5614 GB, free: 4.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.6233, allocations: 84.7 kB / 0.5615 GB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2163/0.8396, allocations: 54.9 MB / 0.6151 GB, free: 4.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.8397, allocations: 0 / 0.6151 GB, free: 4.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.962e-05/0.8397, allocations: 12 kB / 0.6151 GB, free: 4.688 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002998/0.8427, allocations: 1.008 MB / 0.6161 GB, free: 3.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.8428, allocations: 12.03 kB / 0.6161 GB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.8484, allocations: 406.4 kB / 0.6165 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.8501, allocations: 479.5 kB / 0.617 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.8502, allocations: 57.98 kB / 0.617 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.8504, allocations: 71.98 kB / 0.6171 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.8537, allocations: 1.152 MB / 0.6182 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.8538, allocations: 7.984 kB / 0.6182 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.854, allocations: 24 kB / 0.6182 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005139/0.8545, allocations: 105.9 kB / 0.6183 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/0.8578, allocations: 1.191 MB / 0.6195 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009727/0.8676, allocations: 3.523 MB / 0.6229 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.8706, allocations: 1.054 MB / 0.624 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.8708, allocations: 24.97 kB / 0.624 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.8708, allocations: 43.56 kB / 0.624 GB, free: 11.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 3.947e-06/0.8709, allocations: 4 kB / 0.624 GB, free: 11.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01225/0.8831, allocations: 3.057 MB / 0.627 GB, free: 8.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.8832, allocations: 90.05 kB / 0.6271 GB, free: 8.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.8838, allocations: 320.8 kB / 0.6274 GB, free: 7.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.884, allocations: 41.7 kB / 0.6275 GB, free: 7.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.8843, allocations: 358.6 kB / 0.6278 GB, free: 7.395 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004898/0.8848, allocations: 315.3 kB / 0.6281 GB, free: 7.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.8849, allocations: 20 kB / 0.6281 GB, free: 7.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.8851, allocations: 346.8 kB / 0.6284 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.8863, allocations: 445.8 kB / 0.6289 GB, free: 6.277 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.8876, allocations: 0.5345 MB / 0.6294 GB, free: 5.715 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.8892, allocations: 0.5144 MB / 0.6299 GB, free: 5.203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8892, allocations: 0 / 0.6299 GB, free: 5.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004264/0.8935, allocations: 1.396 MB / 0.6313 GB, free: 3.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.8936, allocations: 10.81 kB / 0.6313 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.8936, allocations: 0 / 0.6313 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.8953, allocations: 343.1 kB / 0.6316 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.8969, allocations: 187.7 kB / 0.6318 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00927/0.9062, allocations: 3.993 MB / 0.6357 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.9074, allocations: 63.92 kB / 0.6357 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9075, allocations: 35.98 kB / 0.6358 GB, free: 15.02 MB / 442.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.0007034/0.9082, allocations: 289.6 kB / 0.636 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.9084, allocations: 55.34 kB / 0.6361 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/0.9132, allocations: 1.536 MB / 0.6376 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.9133, allocations: 12 kB / 0.6376 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.9133, allocations: 4 kB / 0.6376 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.9133, allocations: 3.984 kB / 0.6376 GB, free: 13.1 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.008954/0.9223, allocations: 3.013 MB / 0.6406 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.9224, allocations: 7.938 kB / 0.6406 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.9237, allocations: 171.8 kB / 0.6407 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.9252, allocations: 281.1 kB / 0.641 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.9253, allocations: 23.98 kB / 0.641 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008324/0.9337, allocations: 3.689 MB / 0.6446 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/0.9337, allocations: 11.94 kB / 0.6446 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/0.9382, allocations: 1.727 MB / 0.6463 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.9386, allocations: 144.3 kB / 0.6465 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.9388, allocations: 27.95 kB / 0.6465 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/0.9396, allocations: 47.94 kB / 0.6465 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.9399, allocations: 76.84 kB / 0.6466 GB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/0.94, allocations: 35.98 kB / 0.6466 GB, free: 3.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004706/0.9404, allocations: 255.1 kB / 0.6469 GB, free: 3.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9405, allocations: 0 / 0.6469 GB, free: 3.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001485/0.942, allocations: 327.9 kB / 0.6472 GB, free: 2.832 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.0002778/0.9423, allocations: 131 kB / 0.6473 GB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.946, allocations: 1.354 MB / 0.6486 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.946, allocations: 4 kB / 0.6486 GB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.9483, allocations: 0.828 MB / 0.6495 GB, free: 492 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.9492, allocations: 87.08 kB / 0.6495 GB, free: 404 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.9544, allocations: 2.201 MB / 0.6517 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.9555, allocations: 1.086 MB / 0.6527 GB, free: 13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.9561, allocations: 59.42 kB / 0.6528 GB, free: 12.94 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9561, allocations: 4 kB / 0.6528 GB, free: 12.94 MB / 458.7 MB Notification: Performance of Templates: time 0.02835/0.9845, allocations: 11.79 MB / 0.6643 GB, free: 1.133 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)