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.001625/0.001625, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001917/0.001917, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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.502/1.502, allocations: 177.2 MB / 203.9 MB, free: 5.598 MB / 186.7 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.1098/0.1098, allocations: 18.15 MB / 278.5 MB, free: 11.33 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.653e-06/1.653e-06, allocations: 0 / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.283e-05, allocations: 2.312 kB / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.006182/0.006215, allocations: 2.76 MB / 359.3 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.009099, allocations: 1.036 MB / 360.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.009412, allocations: 23.81 kB / 360.3 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.009785, allocations: 83.06 kB / 360.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.01015, allocations: 99.02 kB / 360.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.0112, allocations: 331.4 kB / 360.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.01221, allocations: 0.5504 MB / 361.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.01253, allocations: 163.6 kB / 361.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.01277, allocations: 183.3 kB / 361.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.01299, allocations: 143.4 kB / 361.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.01306, allocations: 44 kB / 361.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.01313, allocations: 44 kB / 361.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.01323, allocations: 111.5 kB / 362.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.0134, allocations: 135.5 kB / 362.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006357/0.01403, allocations: 0.5449 MB / 362.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.01404, allocations: 8 kB / 362.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01404, allocations: 3.938 kB / 362.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.01405, allocations: 0 / 362.7 MB, free: 1.945 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.001264/0.01531, allocations: 0.7424 MB / 363.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.01535, allocations: 12.92 kB / 363.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.01551, allocations: 92.52 kB / 363.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.01622, allocations: 390.2 kB / 364 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.01625, allocations: 25.38 kB / 364 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.01633, allocations: 40.38 kB / 364 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008996/0.01723, allocations: 0.5278 MB / 364.6 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.01725, allocations: 4.188 kB / 364.6 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/0.01731, allocations: 16.45 kB / 364.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.01732, allocations: 15.94 kB / 364.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.01798, allocations: 282.4 kB / 364.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.02025, allocations: 1.329 MB / 366.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.02105, allocations: 334.5 kB / 366.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.02133, allocations: 121.3 kB / 366.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.02137, allocations: 12.22 kB / 366.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.0214, allocations: 34.8 kB / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.0214, allocations: 0 / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009885/0.02239, allocations: 421.8 kB / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.0225, allocations: 158.2 kB / 367.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.02297, allocations: 389.9 kB / 367.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.02301, allocations: 29.7 kB / 367.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.02324, allocations: 264.3 kB / 367.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.02335, allocations: 107.7 kB / 368 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.02347, allocations: 69.69 kB / 368.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.02368, allocations: 354.8 kB / 368.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.02396, allocations: 112.9 kB / 368.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.02439, allocations: 309.7 kB / 368.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.02593, allocations: 0.5284 MB / 369.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.02593, allocations: 4 kB / 369.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007809/0.02671, allocations: 398.6 kB / 369.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.02673, allocations: 8 kB / 369.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.02674, allocations: 0 / 369.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.02676, allocations: 11.88 kB / 369.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.02708, allocations: 67.89 kB / 369.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.02709, allocations: 7.938 kB / 369.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.02732, allocations: 35.83 kB / 369.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.02734, allocations: 16.22 kB / 369.9 MB, free: 10.4 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.0003929/0.02774, allocations: 212.5 kB / 370.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003345/0.02807, allocations: 281.7 kB / 370.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001199/0.02927, allocations: 463.7 kB / 370.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.02927, allocations: 0 / 370.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005961/0.02987, allocations: 349.1 kB / 371.2 MB, free: 9.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.537e-06/0.02988, allocations: 4 kB / 371.2 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.02988, allocations: 4 kB / 371.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.02989, allocations: 7.984 kB / 371.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.03015, allocations: 59.86 kB / 371.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.03016, allocations: 4 kB / 371.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.03038, allocations: 39.98 kB / 371.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.0304, allocations: 12 kB / 371.3 MB, free: 8.895 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.0001945/0.0306, allocations: 204.2 kB / 371.5 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.0307, allocations: 51.72 kB / 371.6 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.03082, allocations: 56.55 kB / 371.6 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.03083, allocations: 7.938 kB / 371.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.03083, allocations: 4 kB / 371.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.03084, allocations: 0 / 371.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.03133, allocations: 337 kB / 372 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.03134, allocations: 0 / 372 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.03166, allocations: 47.97 kB / 372 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.03166, allocations: 3.984 kB / 372 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.03169, allocations: 8 kB / 372 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.03169, allocations: 0 / 372 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.03169, allocations: 3.938 kB / 372 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.03273, allocations: 0.5508 MB / 372.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.03288, allocations: 71.64 kB / 372.7 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.03292, allocations: 4 kB / 372.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.03315, allocations: 23.92 kB / 372.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.03321, allocations: 19.89 kB / 372.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.03323, allocations: 12 kB / 372.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005171/0.03375, allocations: 263.2 kB / 373 MB, free: 7.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03375, allocations: 0 / 373 MB, free: 7.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.03426, allocations: 147.6 kB / 373.1 MB, free: 7.055 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.0001334/0.03439, allocations: 103.2 kB / 373.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008665/0.03526, allocations: 405 kB / 373.6 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.03526, allocations: 4.25 kB / 373.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.03555, allocations: 128.1 kB / 373.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.03623, allocations: 126.6 kB / 373.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.03773, allocations: 0.8078 MB / 374.7 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.03798, allocations: 237.8 kB / 374.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.03817, allocations: 39.27 kB / 374.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.03826, allocations: 32.5 kB / 375 MB, free: 5.145 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03827, allocations: 0 / 375 MB, free: 5.145 MB / 298.7 MB Notification: Performance of Templates: time 0.01048/0.04874, allocations: 4.541 MB / 379.5 MB, free: 0.6836 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=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.685642044059932]