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.001264/0.001264, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.0009694/0.0009694, allocations: 177 kB / 24.08 MB, free: 432 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.9524/0.9524, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.06665/0.06665, allocations: 18.13 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.142e-06/1.142e-06, allocations: 0 / 357.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.545e-05, allocations: 2.312 kB / 357.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.00293/0.002945, allocations: 2.834 MB / 360.6 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004246, allocations: 1.04 MB / 361.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.004405, allocations: 23.81 kB / 361.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.004541, allocations: 91 kB / 361.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.004687, allocations: 95.08 kB / 361.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.005116, allocations: 323.3 kB / 362.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.005501, allocations: 0.5621 MB / 362.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.005713, allocations: 163.6 kB / 362.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.005845, allocations: 171.5 kB / 363 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.00597, allocations: 143.4 kB / 363.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.006015, allocations: 44 kB / 363.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.006053, allocations: 48 kB / 363.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.006106, allocations: 107.5 kB / 363.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.006181, allocations: 131.5 kB / 363.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.006464, allocations: 366.4 kB / 363.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006466, allocations: 0 / 363.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 5e-07/0.006467, allocations: 4 kB / 363.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.006472, allocations: 0 / 363.9 MB, free: 2.434 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.001057/0.007529, allocations: 0.8499 MB / 364.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.317e-05/0.007552, allocations: 12.92 kB / 364.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.007625, allocations: 92.56 kB / 364.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.007934, allocations: 381 kB / 365.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.007953, allocations: 29.38 kB / 365.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.007989, allocations: 40.36 kB / 365.3 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.008328, allocations: 464.3 kB / 365.7 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.008335, allocations: 4.125 kB / 365.7 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.008357, allocations: 20.36 kB / 365.7 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.008363, allocations: 11.94 kB / 365.7 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.008496, allocations: 108.4 kB / 365.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.009566, allocations: 1.556 MB / 367.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.009811, allocations: 182.3 kB / 367.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.009874, allocations: 60.11 kB / 367.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.009897, allocations: 8.234 kB / 367.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.009921, allocations: 37.62 kB / 367.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.009923, allocations: 4 kB / 367.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002793/0.0102, allocations: 225.2 kB / 367.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.01026, allocations: 162.2 kB / 368.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.01048, allocations: 406.5 kB / 368.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.0105, allocations: 33.7 kB / 368.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.01065, allocations: 322.9 kB / 368.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.0107, allocations: 107.1 kB / 368.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.01077, allocations: 75.27 kB / 369 MB, free: 13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01091, allocations: 0.5234 MB / 369.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.01097, allocations: 39.98 kB / 369.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.0111, allocations: 264.2 kB / 369.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.0113, allocations: 219.8 kB / 370 MB, free: 11.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.0113, allocations: 0 / 370 MB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002358/0.01154, allocations: 251 kB / 370.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.01155, allocations: 4 kB / 370.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01155, allocations: 4 kB / 370.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01157, allocations: 4 kB / 370.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.01171, allocations: 63.84 kB / 370.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01172, allocations: 4 kB / 370.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.01182, allocations: 39.77 kB / 370.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01183, allocations: 8 kB / 370.4 MB, free: 11.46 MB / 346.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.0001456/0.01198, allocations: 175.4 kB / 370.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001332/0.01211, allocations: 255.9 kB / 370.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001838/0.01229, allocations: 218 kB / 371 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.01229, allocations: 4 kB / 371 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004744/0.01277, allocations: 237.1 kB / 371.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-06/0.01277, allocations: 4 kB / 371.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.01278, allocations: 7.938 kB / 371.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.01278, allocations: 4 kB / 371.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.0129, allocations: 63.91 kB / 371.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.0129, allocations: 7.922 kB / 371.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.01299, allocations: 32.05 kB / 371.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.013, allocations: 12 kB / 371.4 MB, free: 10.34 MB / 346.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.0001109/0.01311, allocations: 288 kB / 371.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.01317, allocations: 59.67 kB / 371.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.01322, allocations: 48.62 kB / 371.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01323, allocations: 0 / 371.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01323, allocations: 3.938 kB / 371.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.01324, allocations: 8.078 kB / 371.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.01347, allocations: 260.9 kB / 372.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.01347, allocations: 0 / 372.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.01361, allocations: 51.91 kB / 372.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-06/0.01361, allocations: 0 / 372.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01362, allocations: 8 kB / 372.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.01362, allocations: 0 / 372.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01362, allocations: 0 / 372.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.01393, allocations: 400.3 kB / 372.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.014, allocations: 67.62 kB / 372.6 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01402, allocations: 7.984 kB / 372.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.01412, allocations: 16 kB / 372.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.01415, allocations: 19.97 kB / 372.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.01416, allocations: 3.984 kB / 372.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.01429, allocations: 266.9 kB / 372.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01429, allocations: 0 / 372.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.01459, allocations: 147.5 kB / 373 MB, free: 8.672 MB / 346.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.121e-05/0.01467, allocations: 107.2 kB / 373.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.01495, allocations: 248.7 kB / 373.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01495, allocations: 0 / 373.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/0.01502, allocations: 75.58 kB / 373.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.01538, allocations: 124.4 kB / 373.6 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.0161, allocations: 0.7346 MB / 374.3 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.01616, allocations: 109.6 kB / 374.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.01629, allocations: 55.23 kB / 374.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.01649, allocations: 174 kB / 374.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01649, allocations: 0 / 374.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of Templates: time 0.007203/0.0237, allocations: 4.968 MB / 379.6 MB, free: 2.129 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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9577980949543417]