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.002413/0.002413, allocations: 84.98 kB / 20.23 MB, free: 4.199 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.002936/0.002936, allocations: 165.3 kB / 23.55 MB, free: 0.8789 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.547/1.547, 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.1158/0.1158, allocations: 18.14 MB / 278.5 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 2.264e-06/2.264e-06, allocations: 0 / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.667e-05, allocations: 5.828 kB / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.008208/0.008244, allocations: 2.815 MB / 359.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.01175, allocations: 1.059 MB / 360.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.01214, allocations: 23.81 kB / 360.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.01255, allocations: 83.06 kB / 360.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.01297, allocations: 95.02 kB / 360.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.01425, allocations: 319.5 kB / 360.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.01542, allocations: 0.5583 MB / 361.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.01591, allocations: 163.5 kB / 361.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.01631, allocations: 179.3 kB / 361.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.01663, allocations: 143.4 kB / 361.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.01676, allocations: 44 kB / 362 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.01687, allocations: 48 kB / 362 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.01705, allocations: 107.5 kB / 362.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.01731, allocations: 135.5 kB / 362.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.01836, allocations: 0.5527 MB / 362.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01836, allocations: 0 / 362.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01836, allocations: 0 / 362.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.01837, allocations: 0 / 362.8 MB, free: 1.859 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.002279/0.02065, allocations: 0.881 MB / 363.7 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.0207, allocations: 8.922 kB / 363.7 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.02096, allocations: 92.52 kB / 363.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.02212, allocations: 397 kB / 364.2 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.02218, allocations: 25.38 kB / 364.2 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.02229, allocations: 44.38 kB / 364.3 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.02377, allocations: 0.5582 MB / 364.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.0238, allocations: 192 / 364.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.02387, allocations: 16.38 kB / 364.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.02389, allocations: 11.94 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.0249, allocations: 262.4 kB / 365.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.02898, allocations: 1.803 MB / 366.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.03031, allocations: 326.3 kB / 367.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.03079, allocations: 120.1 kB / 367.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.03084, allocations: 8.234 kB / 367.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.0309, allocations: 41.56 kB / 367.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/0.03091, allocations: 0 / 367.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001619/0.03253, allocations: 400 kB / 367.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.03271, allocations: 158.2 kB / 367.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/0.0337, allocations: 0.5026 MB / 368.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.03375, allocations: 33.7 kB / 368.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/0.0342, allocations: 335.1 kB / 368.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.03438, allocations: 115.7 kB / 368.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.03461, allocations: 79.3 kB / 369 MB, free: 11.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004864/0.0351, allocations: 0.5509 MB / 369.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.03561, allocations: 115.7 kB / 369.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.03634, allocations: 343.6 kB / 370 MB, free: 10.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.03792, allocations: 423.7 kB / 370.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.03792, allocations: 4 kB / 370.4 MB, free: 9.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001395/0.03932, allocations: 375.1 kB / 370.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.03934, allocations: 10.59 kB / 370.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.03935, allocations: 4 kB / 370.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.03938, allocations: 7.938 kB / 370.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.03998, allocations: 64.12 kB / 370.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.04, allocations: 15.92 kB / 370.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.0404, allocations: 31.84 kB / 370.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.04045, allocations: 12 kB / 370.9 MB, free: 9.324 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.0007734/0.04122, allocations: 255.2 kB / 371.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006292/0.04185, allocations: 319.6 kB / 371.5 MB, free: 8.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001135/0.04299, allocations: 378 kB / 371.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.04299, allocations: 0 / 371.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001076/0.04407, allocations: 349.1 kB / 372.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.04408, allocations: 4 kB / 372.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.04409, allocations: 4.219 kB / 372.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.04411, allocations: 8 kB / 372.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.04459, allocations: 59.86 kB / 372.3 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.04461, allocations: 11.92 kB / 372.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.04498, allocations: 31.83 kB / 372.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.04501, allocations: 8 kB / 372.3 MB, free: 7.809 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.0003357/0.04535, allocations: 296 kB / 372.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.04551, allocations: 55.67 kB / 372.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.0457, allocations: 52.62 kB / 372.7 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.04572, allocations: 7.938 kB / 372.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.04572, allocations: 0 / 372.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.04573, allocations: 3.984 kB / 372.7 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.04673, allocations: 408.3 kB / 373.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.04674, allocations: 0 / 373.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.04738, allocations: 55.92 kB / 373.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.04738, allocations: 0 / 373.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.04743, allocations: 11.98 kB / 373.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.04743, allocations: 0 / 373.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.04744, allocations: 3.938 kB / 373.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.04924, allocations: 0.5877 MB / 373.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.04949, allocations: 67.62 kB / 373.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.04958, allocations: 8 kB / 373.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.04996, allocations: 16.08 kB / 373.9 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.05006, allocations: 23.89 kB / 373.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.05009, allocations: 11.88 kB / 373.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006357/0.05073, allocations: 331.1 kB / 374.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.05073, allocations: 4 kB / 374.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009703/0.0517, allocations: 147.6 kB / 374.4 MB, free: 5.691 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.0002133/0.05191, allocations: 103.2 kB / 374.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.05361, allocations: 438.3 kB / 374.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.05361, allocations: 0 / 374.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.05416, allocations: 151.6 kB / 375 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.05545, allocations: 112.5 kB / 375.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.0581, allocations: 0.7978 MB / 375.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.0585, allocations: 233.9 kB / 376.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003682/0.05887, allocations: 51.31 kB / 376.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.05904, allocations: 28.5 kB / 376.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.05904, allocations: 0 / 376.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of Templates: time 0.01974/0.07878, allocations: 4.548 MB / 380.8 MB, free: 15.26 MB / 314.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: 4.684905251953751]