Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 108.3 kB / 19.73 MB, free: 1.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 210.1 kB / 23.01 MB, free: 4.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1133/0.1133, allocations: 24.03 MB / 337.2 MB, free: 11.33 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 71.91 kB / 474.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4601, allocations: 59.56 MB / 0.5214 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.005717/0.4658, allocations: 2.778 MB / 0.5241 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.4688, allocations: 1.035 MB / 0.5251 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.4692, allocations: 23.94 kB / 0.5251 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.4696, allocations: 86.53 kB / 0.5252 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.4699, allocations: 80.33 kB / 0.5253 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4711, allocations: 333.9 kB / 0.5256 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007503/0.4718, allocations: 0.5497 MB / 0.5261 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.4722, allocations: 157.8 kB / 0.5263 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.4725, allocations: 202.6 kB / 0.5265 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.4728, allocations: 183.8 kB / 0.5267 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.4729, allocations: 46 kB / 0.5267 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.473, allocations: 45.5 kB / 0.5267 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.4731, allocations: 109.8 kB / 0.5268 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.4733, allocations: 179.4 kB / 0.527 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.4741, allocations: 0.5461 MB / 0.5275 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4741, allocations: 0 / 0.5275 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4741, allocations: 1.469 kB / 0.5275 GB, free: 6.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4741, allocations: 0 / 0.5275 GB, free: 6.434 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001445/0.4756, allocations: 0.762 MB / 0.5283 GB, free: 5.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4756, allocations: 9.828 kB / 0.5283 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.4758, allocations: 62.47 kB / 0.5284 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.4766, allocations: 369.7 kB / 0.5287 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.4766, allocations: 27.41 kB / 0.5287 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.4767, allocations: 42.73 kB / 0.5288 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4777, allocations: 0.5312 MB / 0.5293 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.4777, allocations: 4 kB / 0.5293 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.4778, allocations: 16.19 kB / 0.5293 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4778, allocations: 9.875 kB / 0.5293 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.4787, allocations: 281.6 kB / 0.5296 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.481, allocations: 1.327 MB / 0.5309 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.482, allocations: 324.9 kB / 0.5312 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/0.4825, allocations: 126.9 kB / 0.5313 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.4825, allocations: 7.453 kB / 0.5313 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.4826, allocations: 46.58 kB / 0.5314 GB, free: 3.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.4826, allocations: 0 / 0.5314 GB, free: 3.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001412/0.484, allocations: 402.1 kB / 0.5318 GB, free: 3.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.4841, allocations: 159.2 kB / 0.5319 GB, free: 3.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.4847, allocations: 384.8 kB / 0.5323 GB, free: 3.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.4847, allocations: 36.17 kB / 0.5323 GB, free: 3.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.485, allocations: 270.1 kB / 0.5326 GB, free: 3.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.4851, allocations: 104.3 kB / 0.5327 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.4852, allocations: 73.75 kB / 0.5327 GB, free: 2.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4853, allocations: 355.2 kB / 0.5331 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.4857, allocations: 112.5 kB / 0.5332 GB, free: 2.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.4862, allocations: 308.5 kB / 0.5335 GB, free: 2.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.4884, allocations: 0.5237 MB / 0.534 GB, free: 2.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4884, allocations: 5.344 kB / 0.534 GB, free: 2.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001096/0.4895, allocations: 386 kB / 0.5344 GB, free: 1.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4895, allocations: 10.08 kB / 0.5344 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4896, allocations: 2.281 kB / 0.5344 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.4896, allocations: 4.141 kB / 0.5344 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.4899, allocations: 70.38 kB / 0.5344 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.49, allocations: 8.297 kB / 0.5345 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.4902, allocations: 42.27 kB / 0.5345 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.4902, allocations: 10.78 kB / 0.5345 GB, free: 1.805 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003432/0.4906, allocations: 206.8 kB / 0.5347 GB, free: 1.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002229/0.4908, allocations: 279.5 kB / 0.535 GB, free: 1.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001303/0.4921, allocations: 475.4 kB / 0.5354 GB, free: 1.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.4921, allocations: 0 / 0.5354 GB, free: 1.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007794/0.4929, allocations: 333.5 kB / 0.5357 GB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4929, allocations: 10.22 kB / 0.5358 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4929, allocations: 2.344 kB / 0.5358 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.4929, allocations: 3.812 kB / 0.5358 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.4933, allocations: 60.72 kB / 0.5358 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4933, allocations: 8.266 kB / 0.5358 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.4936, allocations: 32.97 kB / 0.5359 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.4936, allocations: 9.438 kB / 0.5359 GB, free: 0.9688 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,S.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.000178/0.4938, allocations: 213.6 kB / 0.5361 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4939, allocations: 50.41 kB / 0.5361 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.4941, allocations: 53.7 kB / 0.5362 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4941, allocations: 6.25 kB / 0.5362 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.4941, allocations: 1.859 kB / 0.5362 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4941, allocations: 1.078 kB / 0.5362 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.4948, allocations: 331.7 kB / 0.5365 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4948, allocations: 0 / 0.5365 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.4952, allocations: 49.58 kB / 0.5365 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.4952, allocations: 5.125 kB / 0.5365 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.4953, allocations: 6.906 kB / 0.5366 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4953, allocations: 1 kB / 0.5366 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4953, allocations: 1.734 kB / 0.5366 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.4966, allocations: 0.547 MB / 0.5371 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.4968, allocations: 73.08 kB / 0.5372 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/0.4969, allocations: 14.53 kB / 0.5372 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.4973, allocations: 25.23 kB / 0.5372 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.4973, allocations: 15.3 kB / 0.5372 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.4974, allocations: 11.5 kB / 0.5372 GB, free: 96 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004802/0.4978, allocations: 266.6 kB / 0.5375 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4978, allocations: 0 / 0.5375 GB, free: 15.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008936/0.4987, allocations: 147.4 kB / 0.5376 GB, free: 15.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,S.y,T.y,PIp.I.y,PIe.I.y) * 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 (28): * Single equations (assignments): 28 * 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.0001902/0.4989, allocations: 106.9 kB / 0.5377 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.5003, allocations: 401.4 kB / 0.5381 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5003, allocations: 1.125 kB / 0.5381 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.5008, allocations: 122.5 kB / 0.5382 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.5019, allocations: 122.6 kB / 0.5383 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.5041, allocations: 0.8049 MB / 0.5391 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.5045, allocations: 234.7 kB / 0.5393 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003483/0.5049, allocations: 50.31 kB / 0.5394 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.505, allocations: 29.08 kB / 0.5394 GB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.505, allocations: 0 / 0.5394 GB, free: 15.01 MB / 398.1 MB Notification: Performance of Templates: time 0.01699/0.522, allocations: 4.955 MB / 0.5443 GB, free: 13.61 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.TurbineFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.431414283812046] Failed to read output from testmodel.py, exit status != 0: 0.5328952707350254 0.559861009 0.080342905 Calling exit ...