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.0009212/0.0009213, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009471/0.0009472, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.56/1.56, allocations: 205.4 MB / 223.4 MB, free: 5.309 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3247/0.3247, allocations: 38.04 MB / 309.7 MB, free: 9.031 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.0005992/0.0005993, allocations: 16 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.146, allocations: 56.34 MB / 432.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002999/0.1491, allocations: 2.064 MB / 434.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005804/0.1497, allocations: 467.8 kB / 435.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.1498, allocations: 4 kB / 435.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.1498, allocations: 3.938 kB / 435.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.15, allocations: 27.88 kB / 435.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.873e-05/0.1501, allocations: 23.97 kB / 435.4 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1502, allocations: 63.84 kB / 435.5 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1504, allocations: 12 kB / 435.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1505, allocations: 43.83 kB / 435.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.1506, allocations: 43.83 kB / 435.6 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1506, allocations: 4 kB / 435.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.117e-05/0.1506, allocations: 4 kB / 435.6 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.1507, allocations: 15.86 kB / 435.6 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.1507, allocations: 45.64 kB / 435.6 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.1508, allocations: 64.08 kB / 435.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1508, allocations: 0 / 435.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1508, allocations: 0 / 435.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1509, allocations: 0 / 435.7 MB, free: 3.801 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.0006931/0.1516, allocations: 414.9 kB / 436.1 MB, free: 3.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1516, allocations: 8.031 kB / 436.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1517, allocations: 7.906 kB / 436.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1519, allocations: 186.9 kB / 436.3 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1519, allocations: 8 kB / 436.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.152, allocations: 8 kB / 436.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1522, allocations: 97.52 kB / 436.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1523, allocations: 0 / 436.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.1523, allocations: 7.953 kB / 436.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1523, allocations: 4 kB / 436.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.1525, allocations: 83.89 kB / 436.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.1534, allocations: 465.2 kB / 437 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.1537, allocations: 102.6 kB / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1538, allocations: 0 / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1538, allocations: 34.56 kB / 437.1 MB, free: 2.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.1538, allocations: 0 / 437.1 MB, free: 2.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004542/0.1543, allocations: 153.7 kB / 437.2 MB, free: 2.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1543, allocations: 55.34 kB / 437.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1544, allocations: 137.7 kB / 437.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1545, allocations: 33.7 kB / 437.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1545, allocations: 104 kB / 437.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1546, allocations: 23.78 kB / 437.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.1546, allocations: 4 kB / 437.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1547, allocations: 318.8 kB / 437.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1549, allocations: 39.97 kB / 437.9 MB, free: 1.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.155, allocations: 67.41 kB / 438 MB, free: 1.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1551, allocations: 39.98 kB / 438 MB, free: 1.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1551, allocations: 8 kB / 438.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002927/0.1554, allocations: 137.4 kB / 438.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1555, allocations: 4 kB / 438.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1555, allocations: 4.328 kB / 438.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1555, allocations: 8.281 kB / 438.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1556, allocations: 27.98 kB / 438.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1557, allocations: 11.92 kB / 438.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1558, allocations: 15.84 kB / 438.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1558, allocations: 4 kB / 438.3 MB, free: 0.9922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/0.1559, allocations: 125.7 kB / 438.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1559, allocations: 15.89 kB / 438.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.1563, allocations: 130.3 kB / 438.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1563, allocations: 3.984 kB / 438.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1563, allocations: 8 kB / 438.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1563, allocations: 0 / 438.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1565, allocations: 213.6 kB / 438.7 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1566, allocations: 0 / 438.7 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.1567, allocations: 27.92 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1567, allocations: 0 / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1567, allocations: 4 kB / 438.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1568, allocations: 0 / 438.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1568, allocations: 0 / 438.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.1572, allocations: 275.2 kB / 439 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1573, allocations: 89.05 kB / 439.1 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1573, allocations: 3.984 kB / 439.1 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1574, allocations: 12.06 kB / 439.2 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1575, allocations: 3.984 kB / 439.2 MB, free: 0 / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1575, allocations: 4.047 kB / 439.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.321e-05/0.1576, allocations: 107.2 kB / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1578, allocations: 16 kB / 439.3 MB, free: 15.88 MB / 382.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 (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.0001082/0.1579, allocations: 99.17 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.1582, allocations: 95.89 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1582, allocations: 0 / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1583, allocations: 52.16 kB / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1586, allocations: 19.8 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.1592, allocations: 388.8 kB / 439.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1595, allocations: 0.6965 MB / 440.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.1595, allocations: 8.672 kB / 440.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.1596, allocations: 15.42 kB / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1596, allocations: 3.938 kB / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.003034/0.1626, allocations: 0.8914 MB / 441.5 MB, free: 13.55 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: