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.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.001402/0.001402, allocations: 104.8 kB / 16.45 MB, free: 6.449 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.001532/0.001532, allocations: 187.8 kB / 19.4 MB, free: 3.66 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.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.1028/0.1028, allocations: 22.7 MB / 325.4 MB, free: 3.539 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.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: 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: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.89 kB / 457.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 58.01 MB / 0.5036 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.004758/0.1368, allocations: 3.032 MB / 0.5065 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.1392, allocations: 1.036 MB / 0.5076 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.1396, allocations: 23.81 kB / 0.5076 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1399, allocations: 91.05 kB / 0.5077 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1401, allocations: 91.12 kB / 0.5077 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.1409, allocations: 323.3 kB / 0.5081 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006249/0.1415, allocations: 0.5544 MB / 0.5086 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.1418, allocations: 167.1 kB / 0.5088 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.1421, allocations: 203 kB / 0.5089 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.1423, allocations: 198.8 kB / 0.5091 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.1424, allocations: 44 kB / 0.5092 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.1425, allocations: 48 kB / 0.5092 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.1426, allocations: 111.5 kB / 0.5093 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.1428, allocations: 234.5 kB / 0.5096 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.1435, allocations: 0.5482 MB / 0.5101 GB, free: 456 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1435, allocations: 4 kB / 0.5101 GB, free: 452 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1435, allocations: 0 / 0.5101 GB, free: 452 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1435, allocations: 0 / 0.5101 GB, free: 452 kB / 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.2875/0.431, allocations: 0.8191 MB / 0.5109 GB, free: 16.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.431, allocations: 9.562 kB / 0.5109 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4312, allocations: 65.98 kB / 0.511 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.4318, allocations: 436.6 kB / 0.5114 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.4319, allocations: 25.78 kB / 0.5114 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.432, allocations: 38.12 kB / 0.5114 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.4327, allocations: 426.6 kB / 0.5119 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4327, allocations: 0 / 0.5119 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.4327, allocations: 23.94 kB / 0.5119 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4328, allocations: 8.312 kB / 0.5119 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.4334, allocations: 282.6 kB / 0.5122 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.4351, allocations: 1.526 MB / 0.5136 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.4358, allocations: 332.2 kB / 0.514 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.436, allocations: 122.2 kB / 0.5141 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.4361, allocations: 10.73 kB / 0.5141 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.4361, allocations: 36.92 kB / 0.5141 GB, free: 14.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.4361, allocations: 0 / 0.5141 GB, free: 14.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008458/0.4369, allocations: 414 kB / 0.5145 GB, free: 14.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.437, allocations: 108.3 kB / 0.5146 GB, free: 14.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.4373, allocations: 406.1 kB / 0.515 GB, free: 14.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.4373, allocations: 35.55 kB / 0.515 GB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4375, allocations: 269.9 kB / 0.5153 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.4375, allocations: 106.6 kB / 0.5154 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.4376, allocations: 61.56 kB / 0.5155 GB, free: 14.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.4377, allocations: 357.8 kB / 0.5158 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4379, allocations: 108.8 kB / 0.5159 GB, free: 13.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.4382, allocations: 200 kB / 0.5161 GB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.4396, allocations: 0.5251 MB / 0.5166 GB, free: 13.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4396, allocations: 0 / 0.5166 GB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007005/0.4403, allocations: 394.3 kB / 0.517 GB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4404, allocations: 6.375 kB / 0.517 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4404, allocations: 2.109 kB / 0.517 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4404, allocations: 3.656 kB / 0.517 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.4407, allocations: 71.62 kB / 0.5171 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.4407, allocations: 7.719 kB / 0.5171 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.4409, allocations: 40.17 kB / 0.5171 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.441, allocations: 10.17 kB / 0.5171 GB, free: 13.25 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.0003465/0.4413, allocations: 218.1 kB / 0.5173 GB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002029/0.4415, allocations: 166.5 kB / 0.5175 GB, free: 12.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/0.4427, allocations: 460.4 kB / 0.5179 GB, free: 12.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.4427, allocations: 3.391 kB / 0.5179 GB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005564/0.4433, allocations: 333.8 kB / 0.5182 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.4433, allocations: 12.47 kB / 0.5183 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4433, allocations: 2.312 kB / 0.5183 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.4433, allocations: 2.938 kB / 0.5183 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.4435, allocations: 62.98 kB / 0.5183 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4435, allocations: 10.48 kB / 0.5183 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.4438, allocations: 28.7 kB / 0.5184 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.4438, allocations: 14.56 kB / 0.5184 GB, free: 12.59 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.0001691/0.4439, allocations: 198 kB / 0.5186 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.444, allocations: 54.45 kB / 0.5186 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.4442, allocations: 55.3 kB / 0.5187 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4442, allocations: 2.438 kB / 0.5187 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4442, allocations: 5.953 kB / 0.5187 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4442, allocations: 2.625 kB / 0.5187 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.4448, allocations: 458.8 kB / 0.5191 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4448, allocations: 3.656 kB / 0.5191 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.4451, allocations: 53.8 kB / 0.5192 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4451, allocations: 1.156 kB / 0.5192 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.4451, allocations: 11.44 kB / 0.5192 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4451, allocations: 1.406 kB / 0.5192 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4451, allocations: 0 / 0.5192 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4462, allocations: 0.5512 MB / 0.5197 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.4463, allocations: 154.8 kB / 0.5199 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.4464, allocations: 7.422 kB / 0.5199 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4466, allocations: 20.58 kB / 0.5199 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.4467, allocations: 14.22 kB / 0.5199 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4467, allocations: 9.406 kB / 0.5199 GB, free: 11.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.447, allocations: 282.3 kB / 0.5202 GB, free: 11.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.447, allocations: 0 / 0.5202 GB, free: 11.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005525/0.4476, allocations: 144.2 kB / 0.5203 GB, free: 11.37 MB / 382.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.0001134/0.4477, allocations: 106.5 kB / 0.5204 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008643/0.4486, allocations: 397.8 kB / 0.5208 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4486, allocations: 0 / 0.5208 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.4488, allocations: 132.3 kB / 0.5209 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.4496, allocations: 132.6 kB / 0.5211 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.4515, allocations: 0.8274 MB / 0.5219 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.4519, allocations: 0.8287 MB / 0.5227 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.4521, allocations: 47.53 kB / 0.5227 GB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/0.4522, allocations: 29.59 kB / 0.5227 GB, free: 9.891 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4522, allocations: 0 / 0.5227 GB, free: 9.891 MB / 382.1 MB Notification: Performance of Templates: time 0.01243/0.4647, allocations: 4.515 MB / 0.5272 GB, free: 9.602 MB / 382.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: 5.13403000915423] Failed to read output from testmodel.py, exit status != 0: 0.47387371119111776 0.48600131799999996 0.33978721300000003 Calling exit ...