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: "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.Test.RotorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 105.3 kB / 17.06 MB, free: 6.027 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.001935/0.001935, allocations: 195 kB / 18 MB, free: 5.109 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.464/1.464, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1792/0.1792, allocations: 37.99 MB / 309.2 MB, free: 5.953 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.00164/0.00164, allocations: 71.89 kB / 431.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1218, allocations: 55.25 MB / 486.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.00556/0.1274, allocations: 2.444 MB / 489 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1288, allocations: 491.7 kB / 489.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.129, allocations: 0 / 489.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1292, allocations: 11.86 kB / 489.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1295, allocations: 27.72 kB / 489.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1297, allocations: 27.97 kB / 489.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.13, allocations: 103.6 kB / 489.7 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1301, allocations: 26.72 kB / 489.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1303, allocations: 43.86 kB / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1304, allocations: 39.83 kB / 489.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.1305, allocations: 8 kB / 489.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.1305, allocations: 8 kB / 489.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.1305, allocations: 23.91 kB / 489.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.1306, allocations: 55.72 kB / 489.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1308, allocations: 79.75 kB / 490 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1308, allocations: 4 kB / 490 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1309, allocations: 0 / 490 MB, free: 5.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1309, allocations: 0 / 490 MB, free: 5.445 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.0009407/0.1318, allocations: 419.9 kB / 490.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/0.1319, allocations: 11.89 kB / 490.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/0.132, allocations: 46.62 kB / 490.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.1321, allocations: 8.844 kB / 490.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.1324, allocations: 188.2 kB / 490.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1325, allocations: 8.375 kB / 490.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1325, allocations: 7.938 kB / 490.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1328, allocations: 89.64 kB / 490.7 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.1329, allocations: 3.906 kB / 490.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1329, allocations: 4 kB / 490.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1329, allocations: 4 kB / 490.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.1331, allocations: 71.88 kB / 490.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.1342, allocations: 461.3 kB / 491.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.1345, allocations: 94.61 kB / 491.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1347, allocations: 36.83 kB / 491.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1347, allocations: 0 / 491.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1347, allocations: 38.56 kB / 491.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1347, allocations: 0 / 491.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004847/0.1352, allocations: 145.6 kB / 491.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1353, allocations: 51.41 kB / 491.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1354, allocations: 137.8 kB / 491.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1354, allocations: 25.7 kB / 491.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.1355, allocations: 116.2 kB / 491.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.1356, allocations: 23.7 kB / 491.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.1357, allocations: 21.72 kB / 491.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1358, allocations: 322.8 kB / 492.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.136, allocations: 31.98 kB / 492.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1362, allocations: 63.34 kB / 492.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1364, allocations: 107.4 kB / 492.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1365, allocations: 0 / 492.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003196/0.1368, allocations: 125.5 kB / 492.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1368, allocations: 7.938 kB / 492.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1368, allocations: 8.094 kB / 492.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1368, allocations: 3.938 kB / 492.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.137, allocations: 23.98 kB / 492.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.137, allocations: 4 kB / 492.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1372, allocations: 19.83 kB / 492.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1372, allocations: 4 kB / 492.6 MB, free: 2.5 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 0.0001642/0.1374, allocations: 117.8 kB / 492.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.1375, allocations: 7.906 kB / 492.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.138, allocations: 134.3 kB / 492.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.138, allocations: 3.938 kB / 492.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.138, allocations: 4 kB / 492.9 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.138, allocations: 0 / 492.9 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.1384, allocations: 205.6 kB / 493.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1384, allocations: 4 kB / 493.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1387, allocations: 27.97 kB / 493.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1387, allocations: 0 / 493.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1387, allocations: 4 kB / 493.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1387, allocations: 3.938 kB / 493.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1388, allocations: 0 / 493.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.1395, allocations: 255.3 kB / 493.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.1396, allocations: 84.95 kB / 493.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.1397, allocations: 12.09 kB / 493.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1399, allocations: 19.81 kB / 493.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.1399, allocations: 7.984 kB / 493.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.14, allocations: 0 / 493.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.1401, allocations: 107.2 kB / 493.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1401, allocations: 0 / 493.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1404, allocations: 20 kB / 493.6 MB, free: 1.402 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.0007956/0.1412, allocations: 0.7867 MB / 494.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1415, allocations: 79.89 kB / 494.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1415, allocations: 4.25 kB / 494.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1416, allocations: 43.97 kB / 494.6 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.142, allocations: 16.47 kB / 494.6 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1444, allocations: 1.746 MB / 496.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1447, allocations: 0.6961 MB / 497 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.1447, allocations: 12.66 kB / 497 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1448, allocations: 23.44 kB / 497.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1448, allocations: 0 / 497.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.174, allocations: 2.425 MB / 499.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.21, allocations: 27.94 kB / 499.5 MB, free: 11.35 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1)