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.00088/0.00088, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.000841/0.000841, allocations: 166.3 kB / 24.09 MB, free: 428 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 0.9156/0.9156, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.06053/0.06053, allocations: 18.13 MB / 279 MB, free: 11.47 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 2.735e-06/2.735e-06, allocations: 0 / 416.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.741e-05/4.015e-05, allocations: 3.125 kB / 416.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.002972/0.003012, allocations: 2.767 MB / 419.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.005031, allocations: 1.034 MB / 420.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.00534, allocations: 24.03 kB / 420.4 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.005601, allocations: 91.75 kB / 420.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.005807, allocations: 88.81 kB / 420.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.006534, allocations: 320.8 kB / 420.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.007136, allocations: 0.5618 MB / 421.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.00742, allocations: 157.4 kB / 421.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.007622, allocations: 186.5 kB / 421.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.007814, allocations: 141.7 kB / 421.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-05/0.007884, allocations: 45.06 kB / 421.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.334e-05/0.007937, allocations: 45.91 kB / 422 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.008009, allocations: 104.7 kB / 422.1 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.008119, allocations: 136.2 kB / 422.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.008644, allocations: 0.5446 MB / 422.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.008648, allocations: 1.25 kB / 422.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.00865, allocations: 3.938 kB / 422.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.008662, allocations: 0 / 422.8 MB, free: 8.438 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.0009024/0.009565, allocations: 0.7514 MB / 423.5 MB, free: 7.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.009611, allocations: 9.938 kB / 423.5 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.009704, allocations: 63.12 kB / 423.6 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.01024, allocations: 386.1 kB / 424 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.01027, allocations: 32.12 kB / 424 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.01033, allocations: 37.55 kB / 424 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.01096, allocations: 0.5281 MB / 424.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.01097, allocations: 1.594 kB / 424.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.011, allocations: 16.17 kB / 424.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.01101, allocations: 13.16 kB / 424.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.01141, allocations: 281.8 kB / 424.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.01264, allocations: 1.343 MB / 426.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.01319, allocations: 335.9 kB / 426.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.01338, allocations: 128.4 kB / 426.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.01342, allocations: 4.234 kB / 426.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.01344, allocations: 34.09 kB / 426.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.01345, allocations: 0 / 426.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006787/0.01412, allocations: 420.8 kB / 427.1 MB, free: 5.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.01416, allocations: 159.2 kB / 427.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.01451, allocations: 381.1 kB / 427.6 MB, free: 5.289 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01453, allocations: 31.2 kB / 427.7 MB, free: 5.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.01467, allocations: 270.4 kB / 427.9 MB, free: 5.035 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.01472, allocations: 103.4 kB / 428 MB, free: 4.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.0148, allocations: 65.48 kB / 428.1 MB, free: 4.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.01486, allocations: 354.9 kB / 428.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.01503, allocations: 112.6 kB / 428.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.01523, allocations: 312.2 kB / 428.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.01618, allocations: 0.5185 MB / 429.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01618, allocations: 0 / 429.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000488/0.01667, allocations: 381.7 kB / 429.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01669, allocations: 7.062 kB / 429.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01669, allocations: 2.5 kB / 429.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01671, allocations: 11.12 kB / 429.8 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.0169, allocations: 71.17 kB / 429.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.01691, allocations: 4.047 kB / 429.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.01704, allocations: 34.36 kB / 429.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.01706, allocations: 13.86 kB / 429.9 MB, free: 3.824 MB / 330.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.0002653/0.01733, allocations: 212 kB / 430.1 MB, free: 3.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001783/0.01751, allocations: 287.1 kB / 430.4 MB, free: 3.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006654/0.01817, allocations: 473.7 kB / 430.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.01817, allocations: 0.9688 kB / 430.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003574/0.01853, allocations: 333.8 kB / 431.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.01854, allocations: 5.031 kB / 431.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.01854, allocations: 2.531 kB / 431.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.01855, allocations: 4.734 kB / 431.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01869, allocations: 72.88 kB / 431.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.0187, allocations: 5.141 kB / 431.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.01881, allocations: 24.61 kB / 431.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01882, allocations: 13.31 kB / 431.3 MB, free: 2.977 MB / 330.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.0001065/0.01893, allocations: 208.2 kB / 431.5 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.01898, allocations: 49.77 kB / 431.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.01906, allocations: 53.72 kB / 431.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.01906, allocations: 6.719 kB / 431.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.01907, allocations: 0.9375 kB / 431.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.01908, allocations: 1.875 kB / 431.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.01945, allocations: 327.4 kB / 431.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01945, allocations: 3.938 kB / 431.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.01963, allocations: 57.08 kB / 432 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01964, allocations: 6.438 kB / 432 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01965, allocations: 2.062 kB / 432 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01965, allocations: 1.25 kB / 432 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01966, allocations: 4.641 kB / 432 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.02028, allocations: 0.545 MB / 432.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.02039, allocations: 64.5 kB / 432.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.02042, allocations: 10.86 kB / 432.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.02053, allocations: 17.34 kB / 432.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.02058, allocations: 22.84 kB / 432.7 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.02059, allocations: 6.016 kB / 432.7 MB, free: 2.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.02079, allocations: 267.7 kB / 432.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02079, allocations: 0 / 432.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000351/0.02114, allocations: 146.5 kB / 433.1 MB, free: 1.941 MB / 330.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.673e-05/0.02122, allocations: 107.1 kB / 433.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.0218, allocations: 406.3 kB / 433.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02181, allocations: 1.406 kB / 433.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.02197, allocations: 123.5 kB / 433.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.02244, allocations: 124.1 kB / 433.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/0.02341, allocations: 0.7782 MB / 434.6 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.02359, allocations: 232.2 kB / 434.8 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.02376, allocations: 51.55 kB / 434.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.02383, allocations: 29.56 kB / 434.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02383, allocations: 0 / 434.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of Templates: time 0.00702/0.03085, allocations: 4.533 MB / 439.4 MB, free: 15.46 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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.002115024253726] Failed to read output from testmodel.py, exit status != 0: 0.03739702049642801 0.046010558 0.035635745 Calling exit ...