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.001014/0.001014, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0012/0.0012, allocations: 173 kB / 24.16 MB, free: 336 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 1.083/1.083, allocations: 177.1 MB / 204.6 MB, free: 5.461 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.08089/0.08089, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.803e-06/1.803e-06, allocations: 0 / 304.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.266e-05, allocations: 2.312 kB / 304.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.004507/0.00453, allocations: 2.823 MB / 307.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.007394, allocations: 1.094 MB / 308.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.00808, allocations: 23.81 kB / 308.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.008447, allocations: 82.64 kB / 308.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.008814, allocations: 98.22 kB / 308.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.009903, allocations: 317.5 kB / 308.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000957/0.01086, allocations: 0.5582 MB / 309.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.01128, allocations: 171.4 kB / 309.7 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.01167, allocations: 181.6 kB / 309.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.01188, allocations: 143.4 kB / 310 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.01194, allocations: 48 kB / 310 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.01198, allocations: 48 kB / 310.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.01205, allocations: 103.5 kB / 310.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.01215, allocations: 135.5 kB / 310.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.01261, allocations: 362.4 kB / 310.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.01262, allocations: 0 / 310.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01262, allocations: 0 / 310.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01263, allocations: 0 / 310.7 MB, free: 11.78 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.0008293/0.01346, allocations: 0.7276 MB / 311.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.0135, allocations: 8.922 kB / 311.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.01358, allocations: 64.88 kB / 311.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.01397, allocations: 331.6 kB / 311.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.01401, allocations: 29.38 kB / 311.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.01406, allocations: 40.88 kB / 311.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.01448, allocations: 445.1 kB / 312.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01449, allocations: 4.188 kB / 312.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.01452, allocations: 20.36 kB / 312.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01452, allocations: 11.94 kB / 312.3 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.01465, allocations: 96.41 kB / 312.4 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.0158, allocations: 1.099 MB / 313.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.01607, allocations: 156.1 kB / 313.7 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.01612, allocations: 49.3 kB / 313.7 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.01615, allocations: 8.234 kB / 313.7 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.01617, allocations: 30.8 kB / 313.7 MB, free: 8.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 2.745e-06/0.01618, allocations: 4 kB / 313.8 MB, free: 8.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003017/0.01648, allocations: 163.7 kB / 313.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.01663, allocations: 166.2 kB / 314.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.01686, allocations: 351.3 kB / 314.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.01689, allocations: 41.64 kB / 314.5 MB, free: 7.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.01698, allocations: 225.2 kB / 314.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.01704, allocations: 99.11 kB / 314.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.0171, allocations: 65.62 kB / 314.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.0172, allocations: 362.7 kB / 315.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.01725, allocations: 36.92 kB / 315.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01739, allocations: 223.5 kB / 315.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.01774, allocations: 189.1 kB / 315.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.01775, allocations: 4 kB / 315.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002109/0.01796, allocations: 195.2 kB / 315.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01797, allocations: 4 kB / 315.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01798, allocations: 4 kB / 315.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01799, allocations: 224 / 315.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.01817, allocations: 71.91 kB / 315.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01817, allocations: 7.938 kB / 315.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01829, allocations: 35.77 kB / 315.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.01831, allocations: 12 kB / 316 MB, free: 6.121 MB / 282.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.0001873/0.0185, allocations: 116.4 kB / 316.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001186/0.01862, allocations: 230 kB / 316.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001589/0.01877, allocations: 187.3 kB / 316.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.01878, allocations: 0 / 316.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0001772/0.01895, allocations: 181.6 kB / 316.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.01896, allocations: 15.97 kB / 316.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.01896, allocations: 4 kB / 316.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.01897, allocations: 4 kB / 316.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.01909, allocations: 55.92 kB / 316.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.0191, allocations: 7.984 kB / 316.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.0192, allocations: 35.78 kB / 316.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.01921, allocations: 4 kB / 316.8 MB, free: 5.199 MB / 282.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 (S.local_reset,PIp.I.local_reset,PIe.I.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.0001357/0.01935, allocations: 212.2 kB / 317 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.01939, allocations: 31.97 kB / 317 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.01946, allocations: 52.7 kB / 317.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01946, allocations: 7.984 kB / 317.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01946, allocations: 3.938 kB / 317.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01947, allocations: 0 / 317.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.01973, allocations: 225.6 kB / 317.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01973, allocations: 0 / 317.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.01988, allocations: 51.91 kB / 317.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01988, allocations: 0 / 317.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.01989, allocations: 8 kB / 317.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01989, allocations: 4 kB / 317.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.0199, allocations: 0 / 317.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.02018, allocations: 301.1 kB / 317.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.02027, allocations: 51.59 kB / 317.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.02029, allocations: 8 kB / 317.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.02039, allocations: 15.98 kB / 317.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.02042, allocations: 19.95 kB / 317.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.02043, allocations: 4 kB / 317.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.02054, allocations: 148.7 kB / 317.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02054, allocations: 4 kB / 317.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.02083, allocations: 155.4 kB / 318.1 MB, free: 3.883 MB / 282.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.0001027/0.02093, allocations: 88.34 kB / 318.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.02123, allocations: 220 kB / 318.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.02124, allocations: 4.875 kB / 318.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.0213, allocations: 64.75 kB / 318.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.02164, allocations: 130.6 kB / 318.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.02279, allocations: 0.7268 MB / 319.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.124e-05/0.02285, allocations: 109.6 kB / 319.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.02301, allocations: 55.19 kB / 319.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.02321, allocations: 139.3 kB / 319.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02321, allocations: 8 kB / 319.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of Templates: time 0.00786/0.03107, allocations: 4.948 MB / 324.5 MB, free: 13.48 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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0921523491851985]