Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 112.1 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1787/0.1787, allocations: 37.98 MB / 309.2 MB, free: 5.941 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 71.91 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1537, allocations: 55.24 MB / 487.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.007589/0.1613, allocations: 2.452 MB / 489.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1629, allocations: 491.7 kB / 490 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.1631, allocations: 0 / 490 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.1633, allocations: 7.875 kB / 490 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.1636, allocations: 27.72 kB / 490.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1638, allocations: 27.95 kB / 490.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.1641, allocations: 99.58 kB / 490.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1643, allocations: 27.92 kB / 490.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.1645, allocations: 39.86 kB / 490.3 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1647, allocations: 43.81 kB / 490.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.1647, allocations: 8 kB / 490.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.1647, allocations: 8 kB / 490.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.1648, allocations: 31.84 kB / 490.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.1649, allocations: 43.73 kB / 490.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1651, allocations: 83.75 kB / 490.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1651, allocations: 3.938 kB / 490.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.628e-06/0.1651, allocations: 3.984 kB / 490.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1651, allocations: 4 kB / 490.5 MB, free: 4.934 MB / 366.1 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.0009359/0.1661, allocations: 407.1 kB / 490.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1661, allocations: 11.89 kB / 490.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.1662, allocations: 16.84 kB / 490.9 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1666, allocations: 188.2 kB / 491.1 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1666, allocations: 12.3 kB / 491.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.1667, allocations: 12.12 kB / 491.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1669, allocations: 93.58 kB / 491.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.167, allocations: 0 / 491.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.167, allocations: 4 kB / 491.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.167, allocations: 0 / 491.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.1672, allocations: 67.95 kB / 491.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.1681, allocations: 465.1 kB / 491.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.1685, allocations: 94.64 kB / 491.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1686, allocations: 40.84 kB / 491.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1686, allocations: 7.984 kB / 491.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1687, allocations: 30.56 kB / 491.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1687, allocations: 0 / 491.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004522/0.1691, allocations: 137.6 kB / 492 MB, free: 3.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1692, allocations: 59.33 kB / 492.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1694, allocations: 145.8 kB / 492.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1694, allocations: 25.7 kB / 492.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.1695, allocations: 107.9 kB / 492.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.1695, allocations: 23.8 kB / 492.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.1695, allocations: 21.7 kB / 492.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1697, allocations: 318.8 kB / 492.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1698, allocations: 35.97 kB / 492.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1699, allocations: 67.34 kB / 492.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1702, allocations: 99.69 kB / 492.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1702, allocations: 0 / 492.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002809/0.1705, allocations: 133.4 kB / 493.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1705, allocations: 4 kB / 493.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1705, allocations: 0 / 493.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1705, allocations: 7.984 kB / 493.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1707, allocations: 32.11 kB / 493.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1707, allocations: 0 / 493.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1708, allocations: 27.86 kB / 493.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1708, allocations: 4 kB / 493.1 MB, free: 2.031 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.816e-05/0.1709, allocations: 121.8 kB / 493.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.171, allocations: 7.906 kB / 493.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.1713, allocations: 122.3 kB / 493.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1713, allocations: 7.875 kB / 493.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1713, allocations: 0 / 493.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1713, allocations: 4 kB / 493.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1716, allocations: 205.6 kB / 493.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1716, allocations: 0 / 493.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1717, allocations: 27.92 kB / 493.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1718, allocations: 0 / 493.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1718, allocations: 0 / 493.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1718, allocations: 7.938 kB / 493.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1718, allocations: 0 / 493.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.1723, allocations: 255.4 kB / 493.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.1723, allocations: 92.98 kB / 494 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1724, allocations: 0 / 494 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1725, allocations: 11.92 kB / 494 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1726, allocations: 4 kB / 494 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.1726, allocations: 8 kB / 494 MB, free: 1.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.1727, allocations: 111.3 kB / 494.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1727, allocations: 4 kB / 494.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1729, allocations: 19.91 kB / 494.1 MB, free: 0.9414 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/0.1731, allocations: 99.19 kB / 494.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.1734, allocations: 79.89 kB / 494.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1734, allocations: 0 / 494.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1736, allocations: 44.16 kB / 494.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.1738, allocations: 8 kB / 494.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.1745, allocations: 328.4 kB / 494.7 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1749, allocations: 0.6973 MB / 495.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.175, allocations: 12.66 kB / 495.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.1751, allocations: 15.44 kB / 495.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1751, allocations: 0 / 495.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Templates: time 0.00424/0.1793, allocations: 1.079 MB / 496.5 MB, free: 14.54 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.sim & ./PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)