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.001419/0.001419, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001683/0.001683, allocations: 173 kB / 23.82 MB, free: 0.7461 MB / 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.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.08181/0.08181, allocations: 18.13 MB / 278.9 MB, free: 11.18 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.914e-06/1.914e-06, allocations: 0 / 357.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.717e-05, allocations: 2.312 kB / 357.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003408/0.003435, allocations: 2.865 MB / 360.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.005413, allocations: 1.052 MB / 361.2 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.005741, allocations: 23.81 kB / 361.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.005973, allocations: 83.06 kB / 361.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.006191, allocations: 99.02 kB / 361.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.006882, allocations: 335.3 kB / 361.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.00756, allocations: 0.5466 MB / 362.3 MB, free: 3.809 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.007851, allocations: 163.5 kB / 362.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.00807, allocations: 179.4 kB / 362.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.008226, allocations: 143.4 kB / 362.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.008283, allocations: 44 kB / 362.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.008325, allocations: 48 kB / 362.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.008386, allocations: 107.5 kB / 363 MB, free: 3.133 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.00848, allocations: 135.5 kB / 363.1 MB, free: 3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.008839, allocations: 358.4 kB / 363.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.008843, allocations: 0 / 363.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.008844, allocations: 0 / 363.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.008852, allocations: 0 / 363.4 MB, free: 2.648 MB / 330.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.0009185/0.009771, allocations: 0.8461 MB / 364.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.009812, allocations: 8.922 kB / 364.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.009931, allocations: 88.56 kB / 364.4 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.01036, allocations: 396.9 kB / 364.8 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.01039, allocations: 37.31 kB / 364.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.01044, allocations: 40.38 kB / 364.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.01096, allocations: 488.4 kB / 365.3 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01097, allocations: 192 / 365.3 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.011, allocations: 16.38 kB / 365.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.01101, allocations: 11.94 kB / 365.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.01123, allocations: 139.7 kB / 365.5 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.01263, allocations: 1.622 MB / 367.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.01297, allocations: 187.9 kB / 367.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01307, allocations: 68.06 kB / 367.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.0131, allocations: 8.234 kB / 367.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.01312, allocations: 37.62 kB / 367.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.01312, allocations: 0 / 367.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004088/0.01353, allocations: 253.2 kB / 367.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.0136, allocations: 158.2 kB / 367.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.01389, allocations: 414.7 kB / 368.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01391, allocations: 33.7 kB / 368.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.01407, allocations: 319 kB / 368.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.01412, allocations: 103.8 kB / 368.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.01419, allocations: 67.31 kB / 368.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.01434, allocations: 0.5274 MB / 369.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.01442, allocations: 55.92 kB / 369.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.01459, allocations: 267.7 kB / 369.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.01487, allocations: 247.8 kB / 369.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01488, allocations: 0 / 369.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003024/0.01518, allocations: 275 kB / 370.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.0152, allocations: 9.938 kB / 370.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.0152, allocations: 4 kB / 370.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01522, allocations: 7.938 kB / 370.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.01538, allocations: 63.91 kB / 370.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.01539, allocations: 4 kB / 370.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01549, allocations: 39.77 kB / 370.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01551, allocations: 8 kB / 370.2 MB, free: 11.43 MB / 346.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.0001884/0.0157, allocations: 183.2 kB / 370.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001497/0.01585, allocations: 271.6 kB / 370.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002421/0.01609, allocations: 234.1 kB / 370.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.01609, allocations: 0 / 370.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002663/0.01636, allocations: 265.1 kB / 371.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.01636, allocations: 8 kB / 371.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.01637, allocations: 0 / 371.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-06/0.01637, allocations: 4 kB / 371.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.0165, allocations: 71.78 kB / 371.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.0165, allocations: 4 kB / 371.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/0.0166, allocations: 23.89 kB / 371.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01661, allocations: 12 kB / 371.3 MB, free: 10.26 MB / 346.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.0001305/0.01674, allocations: 300.2 kB / 371.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.0168, allocations: 59.67 kB / 371.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.01685, allocations: 52.62 kB / 371.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01686, allocations: 3.938 kB / 371.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01686, allocations: 0 / 371.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01687, allocations: 3.984 kB / 371.7 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.01714, allocations: 316.3 kB / 372 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01714, allocations: 0 / 372 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.0173, allocations: 55.91 kB / 372 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.0173, allocations: 8 kB / 372 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01732, allocations: 4 kB / 372 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01732, allocations: 0 / 372 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01732, allocations: 3.938 kB / 372 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.01772, allocations: 416.3 kB / 372.5 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.0178, allocations: 67.62 kB / 372.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.01783, allocations: 8 kB / 372.5 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.01793, allocations: 15.98 kB / 372.5 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.01797, allocations: 19.91 kB / 372.6 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.01798, allocations: 12 kB / 372.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.01815, allocations: 279 kB / 372.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01815, allocations: 0 / 372.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.01847, allocations: 147.5 kB / 373 MB, free: 8.469 MB / 346.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 9.302e-05/0.01856, allocations: 103.2 kB / 373.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.01896, allocations: 277.4 kB / 373.4 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01896, allocations: 4.125 kB / 373.4 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.01905, allocations: 79.58 kB / 373.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.01947, allocations: 126.3 kB / 373.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009065/0.02037, allocations: 0.7346 MB / 374.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.305e-05/0.02044, allocations: 113.6 kB / 374.4 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.02057, allocations: 47.3 kB / 374.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.02064, allocations: 28.5 kB / 374.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02064, allocations: 0 / 374.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of Templates: time 0.007397/0.02804, allocations: 4.844 MB / 379.3 MB, free: 2.145 MB / 346.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.0494553381577134]