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.001381/0.001381, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001564/0.001564, allocations: 223.1 kB / 23.77 MB, free: 4.422 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.1096/0.1096, allocations: 24.03 MB / 338 MB, free: 11.35 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 71.88 kB / 475.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2876, allocations: 59.57 MB / 0.5221 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003387/0.291, allocations: 2.767 MB / 0.5248 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2929, allocations: 1.038 MB / 0.5258 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.2934, allocations: 23.56 kB / 0.5259 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.2937, allocations: 83.64 kB / 0.5259 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.2939, allocations: 88.53 kB / 0.526 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.2945, allocations: 330.3 kB / 0.5263 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.295, allocations: 0.5433 MB / 0.5269 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.2953, allocations: 161.9 kB / 0.527 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.2954, allocations: 198.1 kB / 0.5272 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.2956, allocations: 181.3 kB / 0.5274 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.2957, allocations: 49.77 kB / 0.5274 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.2957, allocations: 45.53 kB / 0.5275 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.2958, allocations: 105.1 kB / 0.5276 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2959, allocations: 176.2 kB / 0.5277 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.2964, allocations: 0.5552 MB / 0.5283 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2964, allocations: 4 kB / 0.5283 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2964, allocations: 0 / 0.5283 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2964, allocations: 0.9375 kB / 0.5283 GB, free: 6.445 MB / 382.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.0009783/0.2974, allocations: 0.7557 MB / 0.529 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2974, allocations: 11.52 kB / 0.529 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.2975, allocations: 62.19 kB / 0.5291 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.298, allocations: 378.1 kB / 0.5295 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.298, allocations: 23.28 kB / 0.5295 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.2981, allocations: 36.59 kB / 0.5295 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.2987, allocations: 0.5316 MB / 0.53 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2988, allocations: 3.984 kB / 0.53 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.2988, allocations: 17 kB / 0.5301 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2988, allocations: 8.656 kB / 0.5301 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.2994, allocations: 285.5 kB / 0.5303 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.3009, allocations: 1.319 MB / 0.5316 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.3015, allocations: 330.9 kB / 0.5319 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.3018, allocations: 129.6 kB / 0.5321 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.3018, allocations: 8.188 kB / 0.5321 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.3018, allocations: 40.73 kB / 0.5321 GB, free: 3.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.3018, allocations: 1.375 kB / 0.5321 GB, free: 3.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008278/0.3027, allocations: 411.1 kB / 0.5325 GB, free: 3.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3027, allocations: 158 kB / 0.5327 GB, free: 3.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.3031, allocations: 385.3 kB / 0.533 GB, free: 3.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3031, allocations: 31.86 kB / 0.5331 GB, free: 3.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3032, allocations: 270.5 kB / 0.5333 GB, free: 3.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.3033, allocations: 103.4 kB / 0.5334 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.855e-05/0.3034, allocations: 65.56 kB / 0.5335 GB, free: 2.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.3034, allocations: 359.9 kB / 0.5338 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.3037, allocations: 116.8 kB / 0.5339 GB, free: 2.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.304, allocations: 311.6 kB / 0.5342 GB, free: 2.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.3054, allocations: 0.5207 MB / 0.5347 GB, free: 2.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3055, allocations: 0 / 0.5347 GB, free: 2.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006368/0.3061, allocations: 388.2 kB / 0.5351 GB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3061, allocations: 5.844 kB / 0.5351 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3061, allocations: 0.6562 kB / 0.5351 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3061, allocations: 4.875 kB / 0.5351 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3064, allocations: 74.16 kB / 0.5352 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3064, allocations: 3.359 kB / 0.5352 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3067, allocations: 38.59 kB / 0.5352 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3067, allocations: 18.89 kB / 0.5352 GB, free: 1.82 MB / 382.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.0002898/0.307, allocations: 214 kB / 0.5354 GB, free: 1.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002031/0.3072, allocations: 275.6 kB / 0.5357 GB, free: 1.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.3082, allocations: 470.1 kB / 0.5362 GB, free: 1.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.3082, allocations: 0 / 0.5362 GB, free: 1.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004635/0.3087, allocations: 339.3 kB / 0.5365 GB, free: 1.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.3087, allocations: 9.219 kB / 0.5365 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.3087, allocations: 2.094 kB / 0.5365 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.509e-06/0.3087, allocations: 3.375 kB / 0.5365 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.3089, allocations: 67.66 kB / 0.5366 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3089, allocations: 2.656 kB / 0.5366 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3091, allocations: 30.97 kB / 0.5366 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.3092, allocations: 20.7 kB / 0.5366 GB, free: 0.9766 MB / 382.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 9.811e-05/0.3093, allocations: 206 kB / 0.5368 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.3093, allocations: 49.38 kB / 0.5369 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.3094, allocations: 58.17 kB / 0.5369 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3094, allocations: 2.281 kB / 0.5369 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3094, allocations: 3.641 kB / 0.5369 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3094, allocations: 0 / 0.5369 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3098, allocations: 331.8 kB / 0.5372 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3098, allocations: 4 kB / 0.5372 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.3101, allocations: 55.14 kB / 0.5373 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3101, allocations: 5.156 kB / 0.5373 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3101, allocations: 6.25 kB / 0.5373 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3101, allocations: 5.062 kB / 0.5373 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3101, allocations: 0 / 0.5373 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.311, allocations: 0.5439 MB / 0.5378 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3111, allocations: 68.52 kB / 0.5379 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.3112, allocations: 10.53 kB / 0.5379 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3114, allocations: 18.17 kB / 0.5379 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.3114, allocations: 14.33 kB / 0.5379 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3115, allocations: 10.22 kB / 0.5379 GB, free: 116 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.3117, allocations: 261.5 kB / 0.5382 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3117, allocations: 0.9688 kB / 0.5382 GB, free: 15.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.3122, allocations: 146.9 kB / 0.5383 GB, free: 15.94 MB / 398.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.0001187/0.3124, allocations: 111.8 kB / 0.5384 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008248/0.3132, allocations: 397.8 kB / 0.5388 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3132, allocations: 1.594 kB / 0.5388 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.3134, allocations: 134.5 kB / 0.539 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.3141, allocations: 120.2 kB / 0.5391 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3155, allocations: 0.8327 MB / 0.5399 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3158, allocations: 229.1 kB / 0.5401 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3159, allocations: 30.75 kB / 0.5401 GB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3159, allocations: 0 / 0.5401 GB, free: 15.01 MB / 398.1 MB Notification: Performance of Templates: time 0.008516/0.3244, allocations: 5.383 MB / 0.5454 GB, free: 13.27 MB / 398.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: 7.889445745386183] Failed to read output from testmodel.py, exit status != 0: 0.33346102107316256 0.346596141 0.047239175 Calling exit ...