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.000846/0.0008459, allocations: 93.67 kB / 16.65 MB, free: 6.586 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.0009313/0.0009313, allocations: 182.7 kB / 17.56 MB, free: 6.203 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.364/1.365, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1784/0.1784, allocations: 38.08 MB / 330.8 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 400.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 59.16 MB / 459.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00374/0.123, allocations: 2.155 MB / 462 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.1237, allocations: 423 kB / 462.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.1238, allocations: 0 / 462.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.662e-05/0.1239, allocations: 3.938 kB / 462.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.124, allocations: 19.84 kB / 462.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.1241, allocations: 27.91 kB / 462.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1243, allocations: 95.59 kB / 462.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1244, allocations: 23.97 kB / 462.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1246, allocations: 31.86 kB / 462.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.1247, allocations: 43.83 kB / 462.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1247, allocations: 4 kB / 462.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.651e-05/0.1247, allocations: 4 kB / 462.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.1248, allocations: 19.91 kB / 462.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.1248, allocations: 61.44 kB / 462.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.125, allocations: 87.95 kB / 462.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.125, allocations: 4 kB / 462.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.125, allocations: 0 / 462.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.125, allocations: 0 / 462.9 MB, free: 4.051 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.0006839/0.1257, allocations: 399.2 kB / 463.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1258, allocations: 19.97 kB / 463.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.1258, allocations: 12.78 kB / 463.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.126, allocations: 192.1 kB / 463.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.126, allocations: 4.375 kB / 463.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.1261, allocations: 12.12 kB / 463.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.1264, allocations: 101 kB / 463.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1264, allocations: 0 / 463.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1264, allocations: 0 / 463.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1264, allocations: 8 kB / 463.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.1267, allocations: 83.88 kB / 463.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.1275, allocations: 465.3 kB / 464.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.1279, allocations: 94.61 kB / 464.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.128, allocations: 48.83 kB / 464.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.128, allocations: 0 / 464.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1281, allocations: 42.55 kB / 464.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1281, allocations: 0 / 464.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005152/0.1286, allocations: 153.5 kB / 464.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1287, allocations: 59.28 kB / 464.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.1288, allocations: 137.8 kB / 464.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1288, allocations: 25.7 kB / 464.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.1289, allocations: 104 kB / 464.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1289, allocations: 31.78 kB / 464.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.129, allocations: 13.72 kB / 464.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1291, allocations: 322.8 kB / 465.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1293, allocations: 35.98 kB / 465.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1294, allocations: 67.41 kB / 465.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1297, allocations: 115.3 kB / 465.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1297, allocations: 0 / 465.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003297/0.13, allocations: 137.8 kB / 465.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1301, allocations: 4 kB / 465.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1301, allocations: 8.172 kB / 465.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1301, allocations: 0 / 465.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1303, allocations: 35.86 kB / 465.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1303, allocations: 3.984 kB / 465.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1304, allocations: 19.89 kB / 465.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1304, allocations: 4 kB / 465.6 MB, free: 1.09 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.0001078/0.1305, allocations: 126.7 kB / 465.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1306, allocations: 11.84 kB / 465.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.1309, allocations: 134.3 kB / 465.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1309, allocations: 3.938 kB / 465.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.131, allocations: 0 / 465.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.131, allocations: 4 kB / 465.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.1312, allocations: 209.6 kB / 466 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1313, allocations: 0 / 466 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1314, allocations: 27.98 kB / 466.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1314, allocations: 0 / 466.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1314, allocations: 3.984 kB / 466.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1315, allocations: 3.938 kB / 466.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1315, allocations: 0 / 466.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.132, allocations: 279.3 kB / 466.3 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.132, allocations: 81.2 kB / 466.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.132, allocations: 8.062 kB / 466.4 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1322, allocations: 15.86 kB / 466.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.1322, allocations: 4 kB / 466.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.1322, allocations: 4 kB / 466.5 MB, free: 92 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1324, allocations: 110.5 kB / 466.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1324, allocations: 4 kB / 466.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1326, allocations: 16 kB / 466.6 MB, free: 15.96 MB / 350.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.0001272/0.1328, allocations: 103.2 kB / 466.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.1331, allocations: 95.86 kB / 466.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1331, allocations: 0 / 466.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1333, allocations: 52.11 kB / 466.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1336, allocations: 11.98 kB / 466.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.1344, allocations: 400.4 kB / 467.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1347, allocations: 0.7004 MB / 467.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1348, allocations: 8.672 kB / 467.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1348, allocations: 11.44 kB / 467.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1349, allocations: 0 / 467.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of Templates: time 0.003585/0.1384, allocations: 0.9207 MB / 468.9 MB, free: 13.62 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)