Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002231/0.00223, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.3 MB / 213.7 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 82.64 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2903/0.2903, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.03e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5382/0.6479, allocations: 94.35 MB / 0.5474 GB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.6482, allocations: 79.77 kB / 0.5475 GB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03883/0.6871, allocations: 10.13 MB / 0.5574 GB, free: 6.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6871, allocations: 0 / 0.5574 GB, free: 6.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.234e-05/0.6872, allocations: 11.66 kB / 0.5574 GB, free: 6.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001247/0.6884, allocations: 0.6727 MB / 0.558 GB, free: 6.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6885, allocations: 11.53 kB / 0.558 GB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.6886, allocations: 54.7 kB / 0.5581 GB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.6919, allocations: 1.008 MB / 0.5591 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.692, allocations: 16 kB / 0.5591 GB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.692, allocations: 24 kB / 0.5591 GB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006393/0.6927, allocations: 268.3 kB / 0.5594 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.6934, allocations: 392.4 kB / 0.5597 GB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.6935, allocations: 4 kB / 0.5598 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.6935, allocations: 0 / 0.5598 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.6935, allocations: 11.95 kB / 0.5598 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.6958, allocations: 1.686 MB / 0.5614 GB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.6961, allocations: 132.7 kB / 0.5615 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.6962, allocations: 48.7 kB / 0.5616 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.6962, allocations: 4 kB / 0.5616 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.6962, allocations: 34.52 kB / 0.5616 GB, free: 3.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.196e-06/0.6962, allocations: 7.922 kB / 0.5616 GB, free: 3.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009187/0.6972, allocations: 0.5485 MB / 0.5622 GB, free: 2.613 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.6972, allocations: 110.8 kB / 0.5623 GB, free: 2.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.6976, allocations: 293.3 kB / 0.5625 GB, free: 2.242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.6976, allocations: 25.7 kB / 0.5626 GB, free: 2.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.6977, allocations: 329.1 kB / 0.5629 GB, free: 1.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.6978, allocations: 49.3 kB / 0.5629 GB, free: 1.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.6978, allocations: 0 / 0.5629 GB, free: 1.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.6979, allocations: 329.2 kB / 0.5632 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.698, allocations: 38.06 kB / 0.5633 GB, free: 1.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.6982, allocations: 191.4 kB / 0.5635 GB, free: 1.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.6983, allocations: 69.91 kB / 0.5635 GB, free: 1.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6984, allocations: 4 kB / 0.5635 GB, free: 1.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004662/0.6988, allocations: 228 kB / 0.5638 GB, free: 1.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6989, allocations: 8 kB / 0.5638 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6989, allocations: 15.95 kB / 0.5638 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.6989, allocations: 8 kB / 0.5638 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.6994, allocations: 63.91 kB / 0.5638 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.6994, allocations: 11.94 kB / 0.5639 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.6997, allocations: 14.83 kB / 0.5639 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6997, allocations: 12 kB / 0.5639 GB, free: 0.9414 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.6998, allocations: 116.2 kB / 0.564 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.6999, allocations: 31.62 kB / 0.564 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.7002, allocations: 155.3 kB / 0.5642 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.7002, allocations: 7.953 kB / 0.5642 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7003, allocations: 0 / 0.5642 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.7003, allocations: 0 / 0.5642 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000699/0.701, allocations: 483 kB / 0.5646 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.701, allocations: 0 / 0.5646 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.7013, allocations: 39.92 kB / 0.5647 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7014, allocations: 0 / 0.5647 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.7014, allocations: 7.984 kB / 0.5647 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.7014, allocations: 4 kB / 0.5647 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7014, allocations: 0 / 0.5647 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.702, allocations: 423 kB / 0.5651 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.7021, allocations: 104.5 kB / 0.5652 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.7022, allocations: 4.094 kB / 0.5652 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.7024, allocations: 3.938 kB / 0.5652 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.7025, allocations: 8.031 kB / 0.5652 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.7025, allocations: 15.92 kB / 0.5652 GB, free: 15.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002945/0.7028, allocations: 212 kB / 0.5654 GB, free: 15.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7028, allocations: 0 / 0.5654 GB, free: 15.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006196/0.7035, allocations: 75.25 kB / 0.5655 GB, free: 15.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.7036, allocations: 115.1 kB / 0.5656 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.704, allocations: 130.9 kB / 0.5657 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.704, allocations: 1.25 kB / 0.5657 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.7041, allocations: 53.75 kB / 0.5658 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.7049, allocations: 84.58 kB / 0.5659 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.7066, allocations: 0.6616 MB / 0.5665 GB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.7072, allocations: 0.8523 MB / 0.5673 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.7073, allocations: 35.19 kB / 0.5674 GB, free: 13.5 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.7073, allocations: 0 / 0.5674 GB, free: 13.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01059/0.7179, allocations: 4.435 MB / 0.5717 GB, free: 9.125 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)