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.001608/0.001608, allocations: 81.19 kB / 19.96 MB, free: 1.742 MB / 14.72 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.001572/0.001572, allocations: 174.2 kB / 23.24 MB, free: 4.855 MB / 14.72 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.486/1.486, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 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.1026/0.1026, allocations: 18.14 MB / 278.1 MB, free: 15.04 MB / 270.1 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.493e-06/1.493e-06, allocations: 0 / 415.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.935e-05, allocations: 2.281 kB / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.00418/0.004209, allocations: 2.775 MB / 418.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.006214, allocations: 1.036 MB / 419.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.006447, allocations: 23.81 kB / 419.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.006685, allocations: 91 kB / 419.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.00691, allocations: 83.09 kB / 419.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.00764, allocations: 330.3 kB / 419.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.008295, allocations: 0.5582 MB / 420.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.008595, allocations: 155.6 kB / 420.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.008815, allocations: 179.4 kB / 420.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.009036, allocations: 143.4 kB / 420.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.009119, allocations: 44 kB / 421 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.009187, allocations: 48 kB / 421 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.009301, allocations: 107.5 kB / 421.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.009451, allocations: 135.5 kB / 421.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.01009, allocations: 0.5604 MB / 421.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01009, allocations: 0 / 421.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01009, allocations: 0 / 421.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.01011, allocations: 3.938 kB / 421.8 MB, free: 12.3 MB / 350.1 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.001369/0.01148, allocations: 0.7501 MB / 422.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.01152, allocations: 8.922 kB / 422.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.01164, allocations: 64.56 kB / 422.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.01226, allocations: 370.1 kB / 423 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.0123, allocations: 29.38 kB / 423 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.01236, allocations: 36.38 kB / 423 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.01322, allocations: 0.524 MB / 423.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.01324, allocations: 192 / 423.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.01327, allocations: 12.38 kB / 423.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.01329, allocations: 19.92 kB / 423.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00065/0.01394, allocations: 286.4 kB / 423.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.01593, allocations: 1.318 MB / 425.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007999/0.01673, allocations: 338.2 kB / 425.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.01701, allocations: 125.3 kB / 425.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.01704, allocations: 4.234 kB / 425.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.01707, allocations: 42.8 kB / 425.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.01707, allocations: 0 / 425.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009513/0.01803, allocations: 414.2 kB / 426.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.01813, allocations: 158.2 kB / 426.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.01855, allocations: 389.8 kB / 426.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.01859, allocations: 29.7 kB / 426.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.0188, allocations: 273 kB / 426.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.01888, allocations: 103.1 kB / 427 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.019, allocations: 73.66 kB / 427.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.01917, allocations: 350.8 kB / 427.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.01946, allocations: 121.1 kB / 427.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.01985, allocations: 301.6 kB / 427.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.02137, allocations: 0.5207 MB / 428.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02137, allocations: 4 kB / 428.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000742/0.02211, allocations: 378.7 kB / 428.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.02213, allocations: 8 kB / 428.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.02214, allocations: 3.984 kB / 428.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.02216, allocations: 7.938 kB / 428.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.02248, allocations: 67.91 kB / 428.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.02248, allocations: 4 kB / 428.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.02272, allocations: 39.98 kB / 428.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.02275, allocations: 16 kB / 428.9 MB, free: 4.832 MB / 350.1 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.0003592/0.0231, allocations: 216.4 kB / 429.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003014/0.02341, allocations: 281.5 kB / 429.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001177/0.02458, allocations: 475.6 kB / 429.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.02458, allocations: 4 kB / 429.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.00055/0.02513, allocations: 333.1 kB / 430.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.02514, allocations: 4 kB / 430.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.02515, allocations: 4 kB / 430.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.02515, allocations: 4 kB / 430.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.02541, allocations: 63.86 kB / 430.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.02542, allocations: 7.984 kB / 430.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.02564, allocations: 28.05 kB / 430.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.02566, allocations: 16 kB / 430.3 MB, free: 3.328 MB / 350.1 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.000169/0.02583, allocations: 208.1 kB / 430.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.02591, allocations: 47.67 kB / 430.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.02602, allocations: 48.62 kB / 430.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.02603, allocations: 7.938 kB / 430.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.02603, allocations: 0 / 430.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.02604, allocations: 3.984 kB / 430.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.02647, allocations: 329 kB / 430.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02648, allocations: 0 / 430.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.0268, allocations: 59.91 kB / 431 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02681, allocations: 0 / 431 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.02683, allocations: 8 kB / 431 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02683, allocations: 0 / 431 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.02684, allocations: 3.938 kB / 431 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.02784, allocations: 0.5429 MB / 431.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.02797, allocations: 71.67 kB / 431.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.02803, allocations: 8 kB / 431.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.02826, allocations: 15.98 kB / 431.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.02831, allocations: 20 kB / 431.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.02833, allocations: 8 kB / 431.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.02862, allocations: 263.2 kB / 431.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02862, allocations: 4 kB / 431.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.02911, allocations: 143.6 kB / 432.1 MB, free: 1.512 MB / 350.1 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.0001332/0.02924, allocations: 111.2 kB / 432.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008738/0.03011, allocations: 401.4 kB / 432.6 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.03012, allocations: 8.062 kB / 432.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.0304, allocations: 127.9 kB / 432.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.03109, allocations: 126.2 kB / 432.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.03251, allocations: 0.7718 MB / 433.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.03274, allocations: 229.9 kB / 433.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.03294, allocations: 51.25 kB / 433.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.03303, allocations: 32.44 kB / 433.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.03303, allocations: 4 kB / 433.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01008/0.04312, allocations: 4.516 MB / 438.4 MB, free: 11.2 MB / 366.1 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.846630979329348] Failed to read output from testmodel.py, exit status != 0: 0.05343158543109894 0.264002064 0.25083690999999997 Calling exit ...