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.001874/0.001874, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002603/0.002603, allocations: 218.5 kB / 23.01 MB, free: 4.609 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.1131/0.1131, allocations: 24.11 MB / 337.3 MB, free: 11.5 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.002181/0.002181, allocations: 67.89 kB / 474.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3737, allocations: 59.61 MB / 0.5216 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.004389/0.3781, allocations: 3.042 MB / 0.5246 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.3802, allocations: 1.079 MB / 0.5257 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.3806, allocations: 24.16 kB / 0.5257 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3809, allocations: 87.66 kB / 0.5258 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.3811, allocations: 88.19 kB / 0.5259 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.3819, allocations: 324.3 kB / 0.5262 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.3825, allocations: 0.5539 MB / 0.5267 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.3828, allocations: 169.8 kB / 0.5269 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.383, allocations: 206 kB / 0.5271 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.3832, allocations: 200.4 kB / 0.5273 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.387e-05/0.3833, allocations: 46.25 kB / 0.5273 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.3833, allocations: 45.97 kB / 0.5273 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.3834, allocations: 109 kB / 0.5274 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.3836, allocations: 226.8 kB / 0.5277 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.3842, allocations: 0.5482 MB / 0.5282 GB, free: 5.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3842, allocations: 4 kB / 0.5282 GB, free: 5.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3842, allocations: 0 / 0.5282 GB, free: 5.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3842, allocations: 0 / 0.5282 GB, free: 5.984 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.001159/0.3854, allocations: 0.7568 MB / 0.5289 GB, free: 5.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3854, allocations: 15.23 kB / 0.529 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.3855, allocations: 63.89 kB / 0.529 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.3861, allocations: 364.9 kB / 0.5294 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3862, allocations: 28.25 kB / 0.5294 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.3862, allocations: 43.8 kB / 0.5294 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.3869, allocations: 440 kB / 0.5299 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3869, allocations: 0 / 0.5299 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.3869, allocations: 16.56 kB / 0.5299 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.387, allocations: 9.094 kB / 0.5299 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.3875, allocations: 282.2 kB / 0.5301 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.3894, allocations: 1.481 MB / 0.5316 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.3901, allocations: 332.9 kB / 0.5319 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.3904, allocations: 131.1 kB / 0.532 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.3904, allocations: 2.734 kB / 0.532 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3904, allocations: 34.44 kB / 0.5321 GB, free: 3.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.3904, allocations: 4 kB / 0.5321 GB, free: 3.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008848/0.3913, allocations: 410.9 kB / 0.5325 GB, free: 3.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.3914, allocations: 162 kB / 0.5326 GB, free: 3.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.3918, allocations: 410.4 kB / 0.533 GB, free: 2.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3918, allocations: 31.92 kB / 0.533 GB, free: 2.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.392, allocations: 270 kB / 0.5333 GB, free: 2.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.3921, allocations: 107.2 kB / 0.5334 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3922, allocations: 65.28 kB / 0.5335 GB, free: 2.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3923, allocations: 356.4 kB / 0.5338 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3926, allocations: 120.5 kB / 0.5339 GB, free: 2.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.3929, allocations: 206.2 kB / 0.5341 GB, free: 1.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.3944, allocations: 0.5226 MB / 0.5346 GB, free: 1.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3944, allocations: 0.7188 kB / 0.5346 GB, free: 1.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006745/0.3951, allocations: 391.7 kB / 0.535 GB, free: 1.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3951, allocations: 6.328 kB / 0.535 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3951, allocations: 2.312 kB / 0.535 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3952, allocations: 3.25 kB / 0.535 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.3955, allocations: 75.02 kB / 0.5351 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.3955, allocations: 4.172 kB / 0.5351 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.3957, allocations: 43.45 kB / 0.5351 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.3957, allocations: 13.5 kB / 0.5351 GB, free: 1.508 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.0003239/0.3961, allocations: 212.8 kB / 0.5353 GB, free: 1.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000187/0.3963, allocations: 172.9 kB / 0.5355 GB, free: 1.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.3973, allocations: 477 kB / 0.536 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.3973, allocations: 0 / 0.536 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004732/0.3977, allocations: 334.2 kB / 0.5363 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3978, allocations: 5.875 kB / 0.5363 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3978, allocations: 10.41 kB / 0.5363 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.3978, allocations: 5.984 kB / 0.5363 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.398, allocations: 58.17 kB / 0.5364 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.398, allocations: 3.406 kB / 0.5364 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3983, allocations: 30.84 kB / 0.5364 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.3983, allocations: 11.56 kB / 0.5364 GB, free: 0.793 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.0001369/0.3984, allocations: 212.8 kB / 0.5366 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.3985, allocations: 53.67 kB / 0.5367 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3986, allocations: 56.03 kB / 0.5367 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3986, allocations: 7.438 kB / 0.5367 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3986, allocations: 0 / 0.5367 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3986, allocations: 3.656 kB / 0.5367 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.3992, allocations: 432.8 kB / 0.5371 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3992, allocations: 1.125 kB / 0.5371 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.3995, allocations: 53 kB / 0.5372 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3995, allocations: 0.9688 kB / 0.5372 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.3995, allocations: 11.48 kB / 0.5372 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3995, allocations: 5.125 kB / 0.5372 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3995, allocations: 0 / 0.5372 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.4005, allocations: 0.55 MB / 0.5377 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4006, allocations: 75.08 kB / 0.5378 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.4007, allocations: 11.72 kB / 0.5378 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4009, allocations: 14.17 kB / 0.5378 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.401, allocations: 17.69 kB / 0.5379 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.401, allocations: 6.438 kB / 0.5379 GB, free: 15.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003478/0.4013, allocations: 286.3 kB / 0.5381 GB, free: 15.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4013, allocations: 0 / 0.5381 GB, free: 15.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005408/0.4019, allocations: 143.3 kB / 0.5383 GB, free: 15.67 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.0001323/0.402, allocations: 107.2 kB / 0.5384 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008997/0.4029, allocations: 398.1 kB / 0.5388 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4029, allocations: 1.25 kB / 0.5388 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.4032, allocations: 130 kB / 0.5389 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.4039, allocations: 128 kB / 0.539 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.4057, allocations: 0.8343 MB / 0.5398 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.4063, allocations: 0.828 MB / 0.5406 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.4064, allocations: 31.83 kB / 0.5407 GB, free: 14.14 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4064, allocations: 4 kB / 0.5407 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Templates: time 0.01015/0.4166, allocations: 5.298 MB / 0.5458 GB, free: 12.34 MB / 398.1 MB " [Timeout remaining time 660] 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: 7.973260774975643] Failed to read output from testmodel.py, exit status != 0: 0.42587128398008645 0.44343669900000005 0.055175470000000004 Calling exit ...