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.002296/0.002296, allocations: 185.4 kB / 13.19 MB, free: 2.125 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.179/2.179, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001096/0.001095, allocations: 88.89 kB / 267.1 MB, free: 9.266 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.2807/0.2807, allocations: 37.98 MB / 353.1 MB, free: 3.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.098e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6263, allocations: 95.02 MB / 0.5548 GB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.6268, allocations: 79.95 kB / 0.5549 GB, free: 8.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.058/0.6848, allocations: 10.2 MB / 0.5649 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.6848, allocations: 4 kB / 0.5649 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.079e-05/0.6849, allocations: 20.06 kB / 0.5649 GB, free: 14.3 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001564/0.6865, allocations: 0.6723 MB / 0.5655 GB, free: 13.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6865, allocations: 12.03 kB / 0.5656 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.6867, allocations: 55.3 kB / 0.5656 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.6909, allocations: 1.014 MB / 0.5666 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.691, allocations: 24.78 kB / 0.5666 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6911, allocations: 36 kB / 0.5667 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.6922, allocations: 452.5 kB / 0.5671 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.6922, allocations: 0 / 0.5671 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.6923, allocations: 16 kB / 0.5671 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6923, allocations: 8 kB / 0.5671 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.6932, allocations: 304.7 kB / 0.5674 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.6964, allocations: 1.761 MB / 0.5691 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.6967, allocations: 143.8 kB / 0.5693 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.6969, allocations: 58.73 kB / 0.5693 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.6969, allocations: 11.98 kB / 0.5693 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.697, allocations: 34.56 kB / 0.5694 GB, free: 9.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.206e-06/0.697, allocations: 0 / 0.5694 GB, free: 9.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001353/0.6984, allocations: 0.5684 MB / 0.5699 GB, free: 8.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.6985, allocations: 106.8 kB / 0.57 GB, free: 8.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.699, allocations: 326.8 kB / 0.5703 GB, free: 8.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.6991, allocations: 25.7 kB / 0.5704 GB, free: 8.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.6993, allocations: 333.7 kB / 0.5707 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.6994, allocations: 51.3 kB / 0.5707 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.6994, allocations: 4 kB / 0.5707 GB, free: 7.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6996, allocations: 322.8 kB / 0.571 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.6997, allocations: 44 kB / 0.5711 GB, free: 7.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.7, allocations: 198.9 kB / 0.5713 GB, free: 7.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.7002, allocations: 72.05 kB / 0.5713 GB, free: 7.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.7003, allocations: 8 kB / 0.5713 GB, free: 7.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006263/0.7009, allocations: 265.5 kB / 0.5716 GB, free: 6.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7009, allocations: 4.062 kB / 0.5716 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.701, allocations: 12 kB / 0.5716 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.701, allocations: 11.98 kB / 0.5716 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.7015, allocations: 63.86 kB / 0.5717 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.7016, allocations: 11.98 kB / 0.5717 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.7019, allocations: 15.91 kB / 0.5717 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.702, allocations: 16 kB / 0.5717 GB, free: 6.828 MB / 410.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 0.0001279/0.7021, allocations: 124.8 kB / 0.5718 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.7022, allocations: 35.58 kB / 0.5719 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.7027, allocations: 168.8 kB / 0.572 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.7027, allocations: 4 kB / 0.572 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7027, allocations: 0 / 0.572 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.7028, allocations: 8.078 kB / 0.5721 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.7038, allocations: 0.5342 MB / 0.5726 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7038, allocations: 0 / 0.5726 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.7042, allocations: 35.92 kB / 0.5726 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.7042, allocations: 4.031 kB / 0.5726 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.7042, allocations: 8 kB / 0.5726 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.7043, allocations: 0 / 0.5726 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.7043, allocations: 7.984 kB / 0.5726 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.7049, allocations: 429.3 kB / 0.573 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.7051, allocations: 112.7 kB / 0.5731 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.7051, allocations: 4 kB / 0.5731 GB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.7054, allocations: 4 kB / 0.5732 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.7055, allocations: 16.19 kB / 0.5732 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.7055, allocations: 11.94 kB / 0.5732 GB, free: 5.211 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004153/0.706, allocations: 245.2 kB / 0.5734 GB, free: 4.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.706, allocations: 4 kB / 0.5734 GB, free: 4.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006058/0.7066, allocations: 76 kB / 0.5735 GB, free: 4.895 MB / 410.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.0001816/0.7068, allocations: 119.1 kB / 0.5736 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.7072, allocations: 145.4 kB / 0.5737 GB, free: 4.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7073, allocations: 384 / 0.5737 GB, free: 4.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.7074, allocations: 56.56 kB / 0.5738 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.7083, allocations: 89.58 kB / 0.5739 GB, free: 4.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.7102, allocations: 0.6902 MB / 0.5746 GB, free: 3.758 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.7108, allocations: 0.8467 MB / 0.5754 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7109, allocations: 31.44 kB / 0.5754 GB, free: 2.852 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7109, allocations: 0 / 0.5754 GB, free: 2.852 MB / 410.7 MB Notification: Performance of Templates: time 0.01158/0.7225, allocations: 4.514 MB / 0.5798 GB, free: 14.33 MB / 426.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)