Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.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.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001501, allocations: 181.7 kB / 15.76 MB, free: 6.344 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.042/2.042, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001131/0.001131, allocations: 102.7 kB / 270.3 MB, free: 13.35 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.2604/0.2604, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004567, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1244, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5977, allocations: 87.71 MB / 0.5535 GB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5981, allocations: 81.58 kB / 0.5535 GB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007094/0.6052, allocations: 1.75 MB / 0.5553 GB, free: 9.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6052, allocations: 0 / 0.5553 GB, free: 9.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.6052, allocations: 4 kB / 0.5553 GB, free: 9.453 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000639/0.6059, allocations: 411.3 kB / 0.5557 GB, free: 9.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6059, allocations: 8.031 kB / 0.5557 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.606, allocations: 7.906 kB / 0.5557 GB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.6062, allocations: 193.7 kB / 0.5559 GB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.6062, allocations: 4 kB / 0.5559 GB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.6062, allocations: 7.75 kB / 0.5559 GB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.6066, allocations: 95.53 kB / 0.556 GB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6066, allocations: 3.938 kB / 0.556 GB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.6066, allocations: 3.938 kB / 0.556 GB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.6067, allocations: 4 kB / 0.556 GB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.607, allocations: 81.88 kB / 0.556 GB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009192/0.608, allocations: 454.5 kB / 0.5565 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.6085, allocations: 104.5 kB / 0.5566 GB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.6085, allocations: 4 kB / 0.5566 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.6085, allocations: 30.56 kB / 0.5566 GB, free: 8.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.6085, allocations: 0 / 0.5566 GB, free: 8.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006905/0.6092, allocations: 166.9 kB / 0.5568 GB, free: 7.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.6093, allocations: 55.41 kB / 0.5568 GB, free: 7.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6094, allocations: 127.4 kB / 0.5569 GB, free: 7.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6094, allocations: 25.7 kB / 0.557 GB, free: 7.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.6095, allocations: 169.8 kB / 0.5571 GB, free: 7.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.6095, allocations: 27.59 kB / 0.5572 GB, free: 7.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.6095, allocations: 7.125 kB / 0.5572 GB, free: 7.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.6096, allocations: 310.8 kB / 0.5575 GB, free: 7.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.6098, allocations: 39.78 kB / 0.5575 GB, free: 7.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.61, allocations: 66.16 kB / 0.5576 GB, free: 7.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.6102, allocations: 44.97 kB / 0.5576 GB, free: 7.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6103, allocations: 0 / 0.5576 GB, free: 7.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004664/0.6107, allocations: 147.8 kB / 0.5577 GB, free: 6.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6108, allocations: 7.953 kB / 0.5578 GB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6108, allocations: 4 kB / 0.5578 GB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6108, allocations: 0 / 0.5578 GB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.6111, allocations: 27.98 kB / 0.5578 GB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.6111, allocations: 10.55 kB / 0.5578 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.6113, allocations: 16.75 kB / 0.5578 GB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.6113, allocations: 4 kB / 0.5578 GB, free: 6.852 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.572e-05/0.6114, allocations: 121 kB / 0.5579 GB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.6115, allocations: 7.906 kB / 0.5579 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.6119, allocations: 135.5 kB / 0.5581 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.612, allocations: 4 kB / 0.5581 GB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.612, allocations: 3.984 kB / 0.5581 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.612, allocations: 0 / 0.5581 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.6123, allocations: 214.4 kB / 0.5583 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6123, allocations: 0.875 kB / 0.5583 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.6126, allocations: 28.11 kB / 0.5583 GB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.6126, allocations: 8 kB / 0.5583 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.6126, allocations: 3.938 kB / 0.5583 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6126, allocations: 3.953 kB / 0.5583 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6126, allocations: 4 kB / 0.5583 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.6134, allocations: 263.3 kB / 0.5586 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.6134, allocations: 88.98 kB / 0.5587 GB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.6134, allocations: 7.234 kB / 0.5587 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.6136, allocations: 8 kB / 0.5587 GB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.6137, allocations: 7.938 kB / 0.5587 GB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.6137, allocations: 11.75 kB / 0.5587 GB, free: 5.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.098e-05/0.6138, allocations: 109.7 kB / 0.5588 GB, free: 5.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6138, allocations: 0 / 0.5588 GB, free: 5.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000322/0.6141, allocations: 23.06 kB / 0.5588 GB, free: 5.824 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001166/0.6143, allocations: 99.23 kB / 0.5589 GB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.6147, allocations: 100.7 kB / 0.559 GB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6148, allocations: 0 / 0.559 GB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.615, allocations: 46.03 kB / 0.5591 GB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.6152, allocations: 10.25 kB / 0.5591 GB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.616, allocations: 409.2 kB / 0.5595 GB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.6162, allocations: 0.7053 MB / 0.5601 GB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.6163, allocations: 11.44 kB / 0.5602 GB, free: 4.441 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.6163, allocations: 0 / 0.5602 GB, free: 4.441 MB / 362.7 MB Notification: Performance of Templates: time 0.003273/0.6196, allocations: 1.256 MB / 0.5614 GB, free: 3.195 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)