Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00223/0.00223, allocations: 173.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007531/0.0007532, allocations: 85.42 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1867/0.1867, allocations: 38.08 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 16 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2744, allocations: 56.32 MB / 480.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.406, allocations: 95.71 MB / 0.5625 GB, free: 6.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4063, allocations: 87.94 kB / 0.5625 GB, free: 6.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1364/0.5428, allocations: 57.86 MB / 0.6191 GB, free: 12.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5428, allocations: 0 / 0.6191 GB, free: 12.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.5428, allocations: 12 kB / 0.6191 GB, free: 12.02 MB / 458.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.001736/0.5446, allocations: 1.039 MB / 0.6201 GB, free: 10.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5446, allocations: 8.031 kB / 0.6201 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.548, allocations: 431.3 kB / 0.6205 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.5488, allocations: 0.5012 MB / 0.621 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.5488, allocations: 58.36 kB / 0.621 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.549, allocations: 76.27 kB / 0.6211 GB, free: 9.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.5508, allocations: 1.2 MB / 0.6223 GB, free: 8.598 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.5509, allocations: 12.17 kB / 0.6223 GB, free: 8.586 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.5509, allocations: 35.92 kB / 0.6223 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/0.5512, allocations: 101.9 kB / 0.6224 GB, free: 8.449 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.5531, allocations: 1.261 MB / 0.6237 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.5586, allocations: 3.704 MB / 0.6273 GB, free: 3.375 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.5604, allocations: 1.094 MB / 0.6283 GB, free: 2.254 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008636/0.5612, allocations: 0.633 MB / 0.629 GB, free: 1.613 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.5613, allocations: 21.12 kB / 0.629 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5614, allocations: 39.56 kB / 0.629 GB, free: 1.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 3.506e-06/0.5614, allocations: 4 kB / 0.629 GB, free: 1.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.006624/0.568, allocations: 3.08 MB / 0.632 GB, free: 14.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.5681, allocations: 90.09 kB / 0.6321 GB, free: 14.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.5685, allocations: 369.6 kB / 0.6325 GB, free: 13.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.5686, allocations: 45.73 kB / 0.6325 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.5688, allocations: 332 kB / 0.6328 GB, free: 13.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.5691, allocations: 311.4 kB / 0.6331 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.5691, allocations: 16 kB / 0.6331 GB, free: 13.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5693, allocations: 370.8 kB / 0.6335 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.57, allocations: 441.7 kB / 0.6339 GB, free: 12.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.5707, allocations: 0.5548 MB / 0.6345 GB, free: 11.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.5721, allocations: 1.067 MB / 0.6355 GB, free: 10.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5721, allocations: 0 / 0.6355 GB, free: 10.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002373/0.5745, allocations: 1.431 MB / 0.6369 GB, free: 9.328 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5746, allocations: 8 kB / 0.6369 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.5746, allocations: 0 / 0.6369 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009235/0.5755, allocations: 343 kB / 0.6372 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.5762, allocations: 195.7 kB / 0.6374 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005049/0.5813, allocations: 3.904 MB / 0.6412 GB, free: 4.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.582, allocations: 63.91 kB / 0.6413 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/0.5821, allocations: 32 kB / 0.6413 GB, free: 4.633 MB / 474.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.0005296/0.5826, allocations: 297.5 kB / 0.6416 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5828, allocations: 75.23 kB / 0.6417 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.5854, allocations: 1.516 MB / 0.6432 GB, free: 2.727 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5854, allocations: 12 kB / 0.6432 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5854, allocations: 11.94 kB / 0.6432 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.5854, allocations: 7.969 kB / 0.6432 GB, free: 2.695 MB / 474.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.179/0.7644, allocations: 2.994 MB / 0.6461 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7645, allocations: 3.781 kB / 0.6461 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.7652, allocations: 166.9 kB / 0.6463 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008251/0.766, allocations: 281.1 kB / 0.6465 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.7661, allocations: 26.03 kB / 0.6466 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.7706, allocations: 3.612 MB / 0.6501 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7706, allocations: 9.938 kB / 0.6501 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.773, allocations: 1.541 MB / 0.6516 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.7732, allocations: 143.7 kB / 0.6518 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.7732, allocations: 32.58 kB / 0.6518 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.7737, allocations: 47.12 kB / 0.6518 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.7739, allocations: 81.7 kB / 0.6519 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.7739, allocations: 34.12 kB / 0.6519 GB, free: 119 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.7743, allocations: 262.9 kB / 0.6522 GB, free: 118.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7743, allocations: 0 / 0.6522 GB, free: 118.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000972/0.7753, allocations: 326.6 kB / 0.6525 GB, free: 118.9 MB / 474.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.0001838/0.7754, allocations: 135.2 kB / 0.6526 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.7775, allocations: 1.342 MB / 0.6539 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7776, allocations: 4.281 kB / 0.6539 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.7788, allocations: 0.8218 MB / 0.6547 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000813/0.7796, allocations: 105.1 kB / 0.6548 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.7827, allocations: 2.235 MB / 0.657 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.7833, allocations: 1.084 MB / 0.6581 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.7836, allocations: 65.19 kB / 0.6582 GB, free: 116.9 MB / 474.7 MB Notification: Performance of SimCode: time 8.62e-07/0.7836, allocations: 0 / 0.6582 GB, free: 116.9 MB / 474.7 MB Notification: Performance of Templates: time 0.01717/0.8008, allocations: 12.42 MB / 0.6703 GB, free: 116.3 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)