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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2068/0.2068, allocations: 38.51 MB / 342.5 MB, free: 8.125 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 66.86 kB / 478.6 MB, free: 33.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1171, allocations: 61.24 MB / 0.5272 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.003877/0.121, allocations: 2.462 MB / 0.5296 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000637/0.1216, allocations: 450.9 kB / 0.53 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.1217, allocations: 0 / 0.53 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1218, allocations: 15.86 kB / 0.53 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.1219, allocations: 23.78 kB / 0.5301 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.184e-05/0.122, allocations: 31.84 kB / 0.5301 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1221, allocations: 95.64 kB / 0.5302 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.1222, allocations: 12 kB / 0.5302 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1223, allocations: 47.83 kB / 0.5302 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.1224, allocations: 47.77 kB / 0.5303 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1224, allocations: 8 kB / 0.5303 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.1225, allocations: 8 kB / 0.5303 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.1225, allocations: 19.92 kB / 0.5303 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.1225, allocations: 47.73 kB / 0.5304 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1227, allocations: 95.83 kB / 0.5305 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1227, allocations: 0 / 0.5305 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1227, allocations: 0 / 0.5305 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1227, allocations: 0 / 0.5305 GB, free: 14.04 MB / 398.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.0007048/0.1234, allocations: 419 kB / 0.5309 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1234, allocations: 15.89 kB / 0.5309 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.1235, allocations: 38.73 kB / 0.5309 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.1235, allocations: 12.89 kB / 0.5309 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1238, allocations: 198.3 kB / 0.5311 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1238, allocations: 384 / 0.5311 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.1238, allocations: 11.94 kB / 0.5311 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.124, allocations: 93.58 kB / 0.5312 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.124, allocations: 0 / 0.5312 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1241, allocations: 7.984 kB / 0.5312 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1241, allocations: 0 / 0.5312 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.1243, allocations: 71.95 kB / 0.5313 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.1251, allocations: 465.2 kB / 0.5317 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.1255, allocations: 94.66 kB / 0.5318 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1256, allocations: 32.84 kB / 0.5319 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1256, allocations: 3.938 kB / 0.5319 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1256, allocations: 34.55 kB / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1256, allocations: 0 / 0.5319 GB, free: 12.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004283/0.126, allocations: 141.5 kB / 0.532 GB, free: 12.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1261, allocations: 59.34 kB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1262, allocations: 144.6 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1262, allocations: 25.7 kB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.1263, allocations: 108.1 kB / 0.5323 GB, free: 11.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1263, allocations: 23.8 kB / 0.5324 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.1264, allocations: 21.72 kB / 0.5324 GB, free: 11.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1265, allocations: 326.8 kB / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1266, allocations: 39.97 kB / 0.5327 GB, free: 11.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1268, allocations: 55.41 kB / 0.5328 GB, free: 11.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.127, allocations: 107.8 kB / 0.5329 GB, free: 11.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.127, allocations: 0 / 0.5329 GB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003128/0.1273, allocations: 133.5 kB / 0.533 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1273, allocations: 4 kB / 0.533 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1273, allocations: 4.094 kB / 0.533 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1274, allocations: 7.938 kB / 0.533 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.1275, allocations: 27.97 kB / 0.5331 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1275, allocations: 0 / 0.5331 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1276, allocations: 11.95 kB / 0.5331 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1276, allocations: 11.98 kB / 0.5331 GB, free: 11.08 MB / 398.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.0001085/0.1278, allocations: 117.8 kB / 0.5332 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1278, allocations: 7.953 kB / 0.5332 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.1281, allocations: 126.3 kB / 0.5333 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1281, allocations: 3.938 kB / 0.5333 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1281, allocations: 0 / 0.5333 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1281, allocations: 0 / 0.5333 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.1284, allocations: 213.5 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1284, allocations: 0 / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1286, allocations: 27.92 kB / 0.5336 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1286, allocations: 0 / 0.5336 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1286, allocations: 12 kB / 0.5336 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1286, allocations: 3.938 kB / 0.5336 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1286, allocations: 0 / 0.5336 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.129, allocations: 247.4 kB / 0.5338 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.1291, allocations: 89.08 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1291, allocations: 192 / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1292, allocations: 12 kB / 0.5339 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1293, allocations: 15.92 kB / 0.5339 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1293, allocations: 4 kB / 0.5339 GB, free: 10.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.1294, allocations: 107.2 kB / 0.534 GB, free: 10.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1294, allocations: 0 / 0.534 GB, free: 10.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1296, allocations: 20 kB / 0.5341 GB, free: 9.988 MB / 398.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.0008177/0.1304, allocations: 0.7826 MB / 0.5348 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1307, allocations: 87.88 kB / 0.5349 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1307, allocations: 0 / 0.5349 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1308, allocations: 40.17 kB / 0.5349 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.1311, allocations: 24.48 kB / 0.535 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.1335, allocations: 1.741 MB / 0.5367 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1339, allocations: 0.6963 MB / 0.5373 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.1339, allocations: 12.61 kB / 0.5374 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.134, allocations: 27.42 kB / 0.5374 GB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.134, allocations: 0 / 0.5374 GB, free: 6.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.1672, allocations: 2.399 MB / 0.5397 GB, free: 4.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.095, allocations: 13.7 kB / 0.5397 GB, free: 4.09 MB / 398.1 MB " [Timeout remaining time 652] (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 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_Test_RotorTest.fmu > PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.974581139162183] Failed to read output from testmodel.py, exit status != 0: 8.162855251692235 8.17845108 8.052834584 Calling exit ...