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.001029/0.001029, allocations: 83.69 kB / 20.45 MB, free: 4.133 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.001033/0.001033, allocations: 165 kB / 23.82 MB, free: 0.7656 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.049/1.049, allocations: 177.1 MB / 204.2 MB, free: 5.66 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.06557/0.06557, allocations: 18.14 MB / 278.9 MB, free: 11.34 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.714e-06/1.714e-06, allocations: 0 / 357.3 MB, free: 7.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.071e-05, allocations: 5.547 kB / 357.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003816/0.003846, allocations: 2.865 MB / 360.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.005821, allocations: 1.059 MB / 361.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/0.006143, allocations: 23.81 kB / 361.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.006371, allocations: 87 kB / 361.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.006571, allocations: 91.08 kB / 361.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.007273, allocations: 323.4 kB / 361.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006342/0.007907, allocations: 0.5583 MB / 362.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.008188, allocations: 159.6 kB / 362.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.008406, allocations: 179.3 kB / 362.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.008555, allocations: 143.4 kB / 362.8 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.008607, allocations: 44 kB / 362.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-05/0.008648, allocations: 48 kB / 362.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.008719, allocations: 107.5 kB / 363 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.008819, allocations: 131.5 kB / 363.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.009172, allocations: 370.4 kB / 363.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.009175, allocations: 0 / 363.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.009177, allocations: 4 kB / 363.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.009184, allocations: 0 / 363.4 MB, free: 1.652 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.0009085/0.01009, allocations: 0.8384 MB / 364.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.01013, allocations: 12.92 kB / 364.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.01026, allocations: 92.52 kB / 364.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.01071, allocations: 389 kB / 364.8 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.01075, allocations: 25.38 kB / 364.8 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.0108, allocations: 40.38 kB / 364.8 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.01134, allocations: 488.4 kB / 365.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.01136, allocations: 4.188 kB / 365.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.01138, allocations: 16.38 kB / 365.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.0114, allocations: 11.94 kB / 365.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.01162, allocations: 135.7 kB / 365.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.01306, allocations: 1.622 MB / 367.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.01343, allocations: 187.9 kB / 367.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.01354, allocations: 68.12 kB / 367.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.01357, allocations: 4.234 kB / 367.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.0136, allocations: 37.62 kB / 367.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.542e-06/0.01361, allocations: 3.938 kB / 367.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004349/0.01404, allocations: 260 kB / 367.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000362/0.0144, allocations: 158.2 kB / 367.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.01471, allocations: 414.7 kB / 368.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.01473, allocations: 29.7 kB / 368.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.01489, allocations: 319 kB / 368.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.01495, allocations: 107.7 kB / 368.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.01503, allocations: 75.25 kB / 368.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01517, allocations: 0.5235 MB / 369.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.01527, allocations: 59.73 kB / 369.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.01545, allocations: 267.6 kB / 369.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.01577, allocations: 247.8 kB / 369.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01577, allocations: 4 kB / 369.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003277/0.0161, allocations: 267.2 kB / 370.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.01612, allocations: 8 kB / 370.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.01612, allocations: 7.938 kB / 370.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.01615, allocations: 7.938 kB / 370.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.01633, allocations: 63.91 kB / 370.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01634, allocations: 4 kB / 370.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.01646, allocations: 39.77 kB / 370.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.01647, allocations: 8 kB / 370.2 MB, free: 10.44 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.0002335/0.01671, allocations: 183.3 kB / 370.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001664/0.01687, allocations: 267.7 kB / 370.7 MB, free: 9.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002779/0.01715, allocations: 238 kB / 370.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.01715, allocations: 0 / 370.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003439/0.0175, allocations: 261.1 kB / 371.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.01751, allocations: 8 kB / 371.1 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.01751, allocations: 0 / 371.1 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-06/0.01751, allocations: 4 kB / 371.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.01766, allocations: 67.84 kB / 371.2 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01767, allocations: 7.938 kB / 371.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01778, allocations: 24.11 kB / 371.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01779, allocations: 16 kB / 371.3 MB, free: 9.266 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.0001324/0.01792, allocations: 296 kB / 371.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.01798, allocations: 55.67 kB / 371.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.01804, allocations: 52.62 kB / 371.7 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01805, allocations: 7.938 kB / 371.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01806, allocations: 3.938 kB / 371.7 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01806, allocations: 3.984 kB / 371.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.01836, allocations: 316.3 kB / 372 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01836, allocations: 4 kB / 372 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.01854, allocations: 51.91 kB / 372 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01854, allocations: 4 kB / 372 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.01856, allocations: 4 kB / 372 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01856, allocations: 4 kB / 372 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.01856, allocations: 3.938 kB / 372.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.01901, allocations: 409.9 kB / 372.5 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.01911, allocations: 71.62 kB / 372.5 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.01914, allocations: 4 kB / 372.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01925, allocations: 24.05 kB / 372.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.01931, allocations: 23.91 kB / 372.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.01932, allocations: 4 kB / 372.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.01951, allocations: 283 kB / 372.9 MB, free: 7.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01951, allocations: 0 / 372.9 MB, free: 7.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.01983, allocations: 143.6 kB / 373 MB, free: 7.477 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 0.0001039/0.01994, allocations: 99.25 kB / 373.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.02035, allocations: 277.8 kB / 373.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02035, allocations: 0 / 373.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.02047, allocations: 91.5 kB / 373.5 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.02092, allocations: 124.1 kB / 373.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009746/0.02189, allocations: 0.7391 MB / 374.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.303e-05/0.02196, allocations: 113.5 kB / 374.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.02209, allocations: 47.27 kB / 374.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.02217, allocations: 28.5 kB / 374.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02217, allocations: 0 / 374.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of Templates: time 0.007351/0.02952, allocations: 4.57 MB / 379.1 MB, free: 1.426 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.1377374781295657]