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.001417/0.001417, allocations: 87.56 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001725/0.001725, allocations: 177 kB / 24.28 MB, free: 280 kB / 18.57 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.135/1.135, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.07886/0.07886, allocations: 18.13 MB / 279.2 MB, free: 11.38 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 357.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.367e-05, allocations: 2.312 kB / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003191/0.003215, allocations: 2.857 MB / 360.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004509, allocations: 1.052 MB / 361.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.004706, allocations: 23.81 kB / 361.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.004926, allocations: 87 kB / 361.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.005083, allocations: 91.08 kB / 361.3 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.005577, allocations: 323.4 kB / 361.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.00599, allocations: 0.5622 MB / 362.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.00623, allocations: 163.5 kB / 362.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.006372, allocations: 183.4 kB / 362.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.006506, allocations: 131.5 kB / 362.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.006554, allocations: 48 kB / 362.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.641e-05/0.00659, allocations: 44 kB / 362.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.00665, allocations: 107.5 kB / 362.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.006741, allocations: 139.5 kB / 363 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.007027, allocations: 362.4 kB / 363.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.007029, allocations: 0 / 363.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00703, allocations: 4 kB / 363.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.007035, allocations: 0 / 363.4 MB, free: 2.016 MB / 282.7 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.000749/0.007784, allocations: 0.8384 MB / 364.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.007818, allocations: 16.92 kB / 364.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.007918, allocations: 92.52 kB / 364.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.008299, allocations: 385 kB / 364.7 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.008326, allocations: 29.38 kB / 364.7 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.008369, allocations: 36.38 kB / 364.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.008831, allocations: 492.4 kB / 365.2 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.008843, allocations: 192 / 365.2 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.00888, allocations: 16.42 kB / 365.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.008894, allocations: 11.94 kB / 365.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.009115, allocations: 135.7 kB / 365.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01036, allocations: 1.626 MB / 367 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.01071, allocations: 188.6 kB / 367.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.01106, allocations: 64.12 kB / 367.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.01109, allocations: 4.234 kB / 367.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.01111, allocations: 49.55 kB / 367.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.01111, allocations: 0 / 367.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004565/0.01157, allocations: 252 kB / 367.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.01164, allocations: 158.2 kB / 367.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.01193, allocations: 410.7 kB / 368.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01195, allocations: 33.64 kB / 368.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.01209, allocations: 323 kB / 368.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.01214, allocations: 103.7 kB / 368.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.01222, allocations: 75.31 kB / 368.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01234, allocations: 0.5196 MB / 369.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.165e-05/0.01243, allocations: 59.73 kB / 369.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.0126, allocations: 271.6 kB / 369.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.01295, allocations: 251.8 kB / 369.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01295, allocations: 0 / 369.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003139/0.01326, allocations: 275.1 kB / 370 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01328, allocations: 4 kB / 370 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01328, allocations: 4 kB / 370 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.0133, allocations: 3.938 kB / 370 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.01347, allocations: 67.91 kB / 370.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01348, allocations: 4 kB / 370.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.01359, allocations: 35.77 kB / 370.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.0136, allocations: 16 kB / 370.1 MB, free: 10.8 MB / 298.7 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.0001959/0.0138, allocations: 175.3 kB / 370.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001649/0.01396, allocations: 267.7 kB / 370.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002711/0.01423, allocations: 238 kB / 370.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.01424, allocations: 0 / 370.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002827/0.01452, allocations: 269.1 kB / 371.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.01452, allocations: 4 kB / 371.1 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.01453, allocations: 4 kB / 371.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.01453, allocations: 0 / 371.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01467, allocations: 67.84 kB / 371.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01467, allocations: 7.938 kB / 371.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.01477, allocations: 28.11 kB / 371.2 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.01478, allocations: 12 kB / 371.2 MB, free: 9.629 MB / 298.7 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.0001176/0.01489, allocations: 300 kB / 371.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.01495, allocations: 59.61 kB / 371.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.015, allocations: 48.62 kB / 371.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01501, allocations: 7.938 kB / 371.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01501, allocations: 0 / 371.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01502, allocations: 3.984 kB / 371.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.01528, allocations: 316.3 kB / 371.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01528, allocations: 4 kB / 371.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.01543, allocations: 55.91 kB / 372 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01543, allocations: 0 / 372 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01545, allocations: 8 kB / 372 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01545, allocations: 0 / 372 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01545, allocations: 3.938 kB / 372 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.01585, allocations: 413.9 kB / 372.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.01593, allocations: 71.62 kB / 372.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.01596, allocations: 7.984 kB / 372.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.01606, allocations: 16 kB / 372.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.0161, allocations: 23.84 kB / 372.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01611, allocations: 11.98 kB / 372.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.01628, allocations: 271.1 kB / 372.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01628, allocations: 0 / 372.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.01658, allocations: 147.6 kB / 372.9 MB, free: 7.84 MB / 298.7 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 8.194e-05/0.01666, allocations: 99.25 kB / 373 MB, free: 7.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.01704, allocations: 277.9 kB / 373.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01704, allocations: 0 / 373.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01715, allocations: 91.5 kB / 373.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.01757, allocations: 130.7 kB / 373.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008268/0.0184, allocations: 0.7351 MB / 374.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.636e-05/0.01847, allocations: 113.5 kB / 374.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.01858, allocations: 47.27 kB / 374.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.01865, allocations: 32.48 kB / 374.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01865, allocations: 0 / 374.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of Templates: time 0.006396/0.02504, allocations: 4.56 MB / 379 MB, free: 1.793 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.17689217091538]