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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001114/0.001114, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.001198/0.001198, allocations: 187.3 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1845/0.1845, allocations: 38.03 MB / 330.4 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 64.33 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1203, allocations: 58.06 MB / 457.5 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004463/0.1248, allocations: 2.438 MB / 460 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00077/0.1256, allocations: 434.9 kB / 460.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1257, allocations: 0 / 460.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1258, allocations: 11.86 kB / 460.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.126, allocations: 31.72 kB / 460.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.1262, allocations: 31.95 kB / 460.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1264, allocations: 103.6 kB / 460.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1265, allocations: 19.98 kB / 460.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1266, allocations: 39.84 kB / 460.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1267, allocations: 55.75 kB / 460.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1268, allocations: 8 kB / 460.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.418e-05/0.1268, allocations: 8 kB / 460.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.1268, allocations: 15.92 kB / 460.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.1269, allocations: 47.73 kB / 460.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1271, allocations: 95.95 kB / 460.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1271, allocations: 0 / 460.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1271, allocations: 0 / 460.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.1271, allocations: 0 / 460.9 MB, free: 4.727 MB / 334.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.0007514/0.1279, allocations: 415.1 kB / 461.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1279, allocations: 15.89 kB / 461.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.128, allocations: 16.78 kB / 461.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1282, allocations: 191.6 kB / 461.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1282, allocations: 4.375 kB / 461.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1282, allocations: 12.03 kB / 461.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1285, allocations: 101.5 kB / 461.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1285, allocations: 0 / 461.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1286, allocations: 0 / 461.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1286, allocations: 4 kB / 461.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.1288, allocations: 71.94 kB / 461.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.1297, allocations: 457.4 kB / 462.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.1301, allocations: 94.66 kB / 462.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.1302, allocations: 40.83 kB / 462.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1303, allocations: 0 / 462.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1303, allocations: 30.56 kB / 462.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1303, allocations: 4 kB / 462.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004771/0.1308, allocations: 145.6 kB / 462.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1308, allocations: 59.34 kB / 462.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.131, allocations: 136.4 kB / 462.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.131, allocations: 25.7 kB / 462.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.1311, allocations: 103.9 kB / 462.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1311, allocations: 23.66 kB / 462.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.1312, allocations: 29.7 kB / 462.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1313, allocations: 322.8 kB / 463.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1314, allocations: 31.98 kB / 463.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1316, allocations: 63.34 kB / 463.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.1318, allocations: 95.39 kB / 463.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1318, allocations: 0 / 463.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003173/0.1322, allocations: 133.4 kB / 463.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1322, allocations: 4 kB / 463.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1322, allocations: 0 / 463.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1322, allocations: 8.094 kB / 463.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1324, allocations: 27.92 kB / 463.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1324, allocations: 0 / 463.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1325, allocations: 19.89 kB / 463.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1325, allocations: 7.938 kB / 463.5 MB, free: 1.832 MB / 334.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 0.0001052/0.1326, allocations: 122.6 kB / 463.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1327, allocations: 8.094 kB / 463.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.133, allocations: 130.3 kB / 463.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.133, allocations: 7.875 kB / 463.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1331, allocations: 0 / 463.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1331, allocations: 0 / 463.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.1334, allocations: 201.6 kB / 463.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1334, allocations: 0 / 463.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1335, allocations: 35.91 kB / 464 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1336, allocations: 0 / 464 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1336, allocations: 8 kB / 464 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.1336, allocations: 7.938 kB / 464 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1336, allocations: 3.984 kB / 464 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.1341, allocations: 247.9 kB / 464.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.1341, allocations: 88.92 kB / 464.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1342, allocations: 0 / 464.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1343, allocations: 23.98 kB / 464.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1343, allocations: 0 / 464.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1344, allocations: 7.984 kB / 464.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.1344, allocations: 110.3 kB / 464.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1344, allocations: 0 / 464.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1347, allocations: 20 kB / 464.5 MB, free: 0.7305 MB / 334.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 9.805e-05/0.1348, allocations: 91.25 kB / 464.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.1351, allocations: 95.94 kB / 464.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1351, allocations: 0 / 464.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1353, allocations: 39.98 kB / 464.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1356, allocations: 11.98 kB / 464.7 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.1363, allocations: 342.2 kB / 465.1 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1366, allocations: 0.7002 MB / 465.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.1366, allocations: 11.44 kB / 465.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1367, allocations: 0 / 465.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Templates: time 0.00324/0.1399, allocations: 1.286 MB / 467.1 MB, free: 14.11 MB / 350.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)