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.001357/0.001357, allocations: 108.2 kB / 17.14 MB, free: 6.043 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.001495/0.001495, allocations: 208.5 kB / 20.11 MB, free: 3.086 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1074/0.1074, allocations: 24.03 MB / 333.5 MB, free: 1.578 MB / 254.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.002072/0.002072, allocations: 67.19 kB / 468.9 MB, free: 31.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09321, allocations: 59.55 MB / 0.516 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.004378/0.09759, allocations: 3.017 MB / 0.519 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.09974, allocations: 1.067 MB / 0.52 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.09999, allocations: 23.81 kB / 0.5201 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1002, allocations: 91.06 kB / 0.5201 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1004, allocations: 83.14 kB / 0.5202 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.1012, allocations: 323.1 kB / 0.5205 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.1018, allocations: 0.5544 MB / 0.5211 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.1021, allocations: 175 kB / 0.5212 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1023, allocations: 195.1 kB / 0.5214 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1025, allocations: 206.8 kB / 0.5216 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.1026, allocations: 44 kB / 0.5217 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.1026, allocations: 48 kB / 0.5217 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.1027, allocations: 107.6 kB / 0.5218 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1029, allocations: 230.5 kB / 0.522 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.1035, allocations: 0.5443 MB / 0.5226 GB, free: 5.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1035, allocations: 0 / 0.5226 GB, free: 5.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1035, allocations: 0 / 0.5226 GB, free: 5.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1035, allocations: 0 / 0.5226 GB, free: 5.105 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.001269/0.1048, allocations: 0.8371 MB / 0.5234 GB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1048, allocations: 12.62 kB / 0.5234 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1049, allocations: 60.56 kB / 0.5235 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.1056, allocations: 434.1 kB / 0.5239 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.1056, allocations: 29.38 kB / 0.5239 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.1056, allocations: 36.38 kB / 0.5239 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.1064, allocations: 437.5 kB / 0.5243 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1064, allocations: 3.938 kB / 0.5243 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.1065, allocations: 20 kB / 0.5244 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1065, allocations: 8 kB / 0.5244 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006361/0.1071, allocations: 278.4 kB / 0.5246 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1091, allocations: 1.535 MB / 0.5261 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.1099, allocations: 331.4 kB / 0.5265 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.1102, allocations: 129.2 kB / 0.5266 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1102, allocations: 4.234 kB / 0.5266 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1103, allocations: 38.8 kB / 0.5266 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.1103, allocations: 0 / 0.5266 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009447/0.1112, allocations: 408 kB / 0.527 GB, free: 332 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1113, allocations: 166.2 kB / 0.5272 GB, free: 128 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.1118, allocations: 410 kB / 0.5276 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1118, allocations: 33.64 kB / 0.5276 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.112, allocations: 272.3 kB / 0.5278 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/0.1121, allocations: 107.7 kB / 0.528 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1122, allocations: 61.7 kB / 0.528 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1124, allocations: 362.8 kB / 0.5284 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.1127, allocations: 116.9 kB / 0.5285 GB, free: 14.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.113, allocations: 198.9 kB / 0.5287 GB, free: 14.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.1145, allocations: 0.5293 MB / 0.5292 GB, free: 13.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1145, allocations: 0 / 0.5292 GB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007621/0.1153, allocations: 398.6 kB / 0.5296 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1153, allocations: 8 kB / 0.5296 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1153, allocations: 0 / 0.5296 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1153, allocations: 4 kB / 0.5296 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.1157, allocations: 63.91 kB / 0.5296 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1157, allocations: 7.984 kB / 0.5296 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.1159, allocations: 47.72 kB / 0.5297 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.116, allocations: 12.22 kB / 0.5297 GB, free: 13.44 MB / 398.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.000346/0.1163, allocations: 216.4 kB / 0.5299 GB, free: 13.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002483/0.1166, allocations: 174.9 kB / 0.5301 GB, free: 13.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/0.1177, allocations: 467 kB / 0.5305 GB, free: 12.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.1177, allocations: 0 / 0.5305 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005541/0.1183, allocations: 341.3 kB / 0.5308 GB, free: 12.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1183, allocations: 8 kB / 0.5308 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.1183, allocations: 0 / 0.5308 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.1183, allocations: 4.094 kB / 0.5308 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.1186, allocations: 63.91 kB / 0.5309 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1186, allocations: 11.92 kB / 0.5309 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.1188, allocations: 24.11 kB / 0.5309 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1188, allocations: 16 kB / 0.531 GB, free: 12.07 MB / 398.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.0001727/0.119, allocations: 212 kB / 0.5312 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.1191, allocations: 55.55 kB / 0.5312 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1192, allocations: 48.7 kB / 0.5313 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1192, allocations: 4 kB / 0.5313 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1192, allocations: 0 / 0.5313 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1192, allocations: 3.984 kB / 0.5313 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.1198, allocations: 461.2 kB / 0.5317 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1198, allocations: 7.984 kB / 0.5317 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.1201, allocations: 55.91 kB / 0.5318 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1201, allocations: 0 / 0.5318 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1201, allocations: 8 kB / 0.5318 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1201, allocations: 0 / 0.5318 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1201, allocations: 0 / 0.5318 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.1212, allocations: 0.542 MB / 0.5323 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.1213, allocations: 156.7 kB / 0.5325 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1214, allocations: 8.125 kB / 0.5325 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.1216, allocations: 19.98 kB / 0.5325 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.1217, allocations: 19.92 kB / 0.5325 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1217, allocations: 8 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003389/0.122, allocations: 283.1 kB / 0.5328 GB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.122, allocations: 0 / 0.5328 GB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.1225, allocations: 143.6 kB / 0.5329 GB, free: 9.977 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.0001252/0.1227, allocations: 106.4 kB / 0.533 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008778/0.1235, allocations: 399.6 kB / 0.5334 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1236, allocations: 0 / 0.5334 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.1238, allocations: 127.8 kB / 0.5335 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.1245, allocations: 137.9 kB / 0.5337 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1259, allocations: 0.8024 MB / 0.5344 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.1264, allocations: 0.8312 MB / 0.5352 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.1266, allocations: 59.19 kB / 0.5353 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.1267, allocations: 27.44 kB / 0.5353 GB, free: 7.453 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1267, allocations: 0 / 0.5353 GB, free: 7.453 MB / 398.1 MB Notification: Performance of Templates: time 0.009994/0.1367, allocations: 4.478 MB / 0.5397 GB, free: 3.02 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: 4.71147421002388] Failed to read output from testmodel.py, exit status != 0: 0.14441717229783535 0.158327085 0.051949248 Calling exit ...