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.001139/0.001139, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001731/0.001731, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1732/0.1732, allocations: 38.02 MB / 329.3 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 70.16 kB / 398.1 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1212, allocations: 58.06 MB / 456.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004916/0.1262, allocations: 2.479 MB / 458.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.127, allocations: 431 kB / 459.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1271, allocations: 0 / 459.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1273, allocations: 7.922 kB / 459.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1276, allocations: 27.77 kB / 459.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.1277, allocations: 27.97 kB / 459.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1279, allocations: 91.59 kB / 459.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1281, allocations: 15.98 kB / 459.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1282, allocations: 39.86 kB / 459.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1283, allocations: 47.75 kB / 459.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1283, allocations: 7.938 kB / 459.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.1284, allocations: 8 kB / 459.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.1284, allocations: 11.92 kB / 459.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.1285, allocations: 47.8 kB / 459.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1286, allocations: 87.89 kB / 459.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1286, allocations: 0 / 459.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1286, allocations: 3.938 kB / 459.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1286, allocations: 4 kB / 459.5 MB, free: 5.145 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.0007529/0.1294, allocations: 411.2 kB / 459.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1295, allocations: 8.031 kB / 459.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1295, allocations: 12.83 kB / 459.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1297, allocations: 184.2 kB / 460.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1297, allocations: 8.375 kB / 460.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.1298, allocations: 16.02 kB / 460.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.13, allocations: 100.5 kB / 460.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1301, allocations: 0 / 460.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1301, allocations: 4 kB / 460.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1301, allocations: 4 kB / 460.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.1303, allocations: 71.94 kB / 460.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/0.1312, allocations: 461.3 kB / 460.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.1316, allocations: 90.67 kB / 460.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1317, allocations: 36.83 kB / 460.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1317, allocations: 4 kB / 460.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1318, allocations: 30.56 kB / 460.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1318, allocations: 0 / 460.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004537/0.1322, allocations: 145.6 kB / 461 MB, free: 3.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1323, allocations: 55.34 kB / 461.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1324, allocations: 141.8 kB / 461.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1324, allocations: 25.7 kB / 461.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.1325, allocations: 103.9 kB / 461.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1325, allocations: 27.64 kB / 461.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.1326, allocations: 21.72 kB / 461.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1327, allocations: 326.8 kB / 461.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1328, allocations: 31.97 kB / 461.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.133, allocations: 59.34 kB / 461.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1332, allocations: 99.41 kB / 461.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1332, allocations: 7.938 kB / 461.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002932/0.1335, allocations: 129.4 kB / 462 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.1336, allocations: 10.03 kB / 462 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1336, allocations: 4.094 kB / 462 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1336, allocations: 0 / 462 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1338, allocations: 31.92 kB / 462.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1338, allocations: 192 / 462.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1339, allocations: 19.89 kB / 462.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1339, allocations: 3.938 kB / 462.1 MB, free: 2.258 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.0001099/0.134, allocations: 122.6 kB / 462.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.1341, allocations: 7.906 kB / 462.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.1344, allocations: 130.3 kB / 462.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1344, allocations: 7.938 kB / 462.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1344, allocations: 0 / 462.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1345, allocations: 3.984 kB / 462.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1347, allocations: 197.6 kB / 462.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1347, allocations: 3.984 kB / 462.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1349, allocations: 27.92 kB / 462.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1349, allocations: 0 / 462.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1349, allocations: 8 kB / 462.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1349, allocations: 3.938 kB / 462.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1349, allocations: 0 / 462.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.1354, allocations: 251.8 kB / 462.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.1355, allocations: 88.95 kB / 462.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1355, allocations: 0 / 462.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1356, allocations: 19.98 kB / 463 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.1357, allocations: 7.984 kB / 463 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.1357, allocations: 0 / 463 MB, free: 1.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.892e-05/0.1358, allocations: 106 kB / 463.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1358, allocations: 0 / 463.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.136, allocations: 27.94 kB / 463.1 MB, free: 1.164 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 0.0001099/0.1361, allocations: 99.22 kB / 463.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.1364, allocations: 83.97 kB / 463.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1364, allocations: 0 / 463.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1366, allocations: 48.11 kB / 463.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1369, allocations: 8 kB / 463.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.1376, allocations: 353.9 kB / 463.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1379, allocations: 0.7004 MB / 464.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.138, allocations: 8.656 kB / 464.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.138, allocations: 11.44 kB / 464.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.138, allocations: 0 / 464.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.003349/0.1414, allocations: 0.9356 MB / 465.3 MB, free: 14.88 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)