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.001248/0.001248, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.004568/0.004568, allocations: 163.2 kB / 24.86 MB, free: 8.766 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 0.9963/0.9963, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.09579/0.09579, allocations: 18.14 MB / 280 MB, free: 11.14 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.324e-06/2.324e-06, allocations: 0 / 358.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.605e-05/3.837e-05, allocations: 2.312 kB / 358.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003934/0.003972, allocations: 2.822 MB / 361.4 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.005732, allocations: 1.044 MB / 362.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.006087, allocations: 27.81 kB / 362.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.006312, allocations: 91 kB / 362.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.006517, allocations: 87.08 kB / 362.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.007184, allocations: 327.4 kB / 362.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006276/0.007812, allocations: 0.566 MB / 363.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.008082, allocations: 155.6 kB / 363.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.008315, allocations: 175.4 kB / 363.8 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.008469, allocations: 143.4 kB / 364 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.008521, allocations: 44 kB / 364 MB, free: 3.078 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.008564, allocations: 48 kB / 364.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.008651, allocations: 107.5 kB / 364.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.008742, allocations: 135.5 kB / 364.3 MB, free: 2.793 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.00916, allocations: 366.4 kB / 364.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.009163, allocations: 0 / 364.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.009165, allocations: 0 / 364.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.009175, allocations: 0 / 364.6 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.0008378/0.01001, allocations: 0.8499 MB / 365.5 MB, free: 1.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.01005, allocations: 8.922 kB / 365.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.01014, allocations: 92.56 kB / 365.6 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.01051, allocations: 389 kB / 366 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.01054, allocations: 25.38 kB / 366 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.01059, allocations: 40.36 kB / 366 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.011, allocations: 468.3 kB / 366.5 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01101, allocations: 192 / 366.5 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.01103, allocations: 16.38 kB / 366.5 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.01104, allocations: 15.94 kB / 366.5 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.01118, allocations: 112.4 kB / 366.6 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.01244, allocations: 1.552 MB / 368.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.01271, allocations: 176.5 kB / 368.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.01278, allocations: 60.05 kB / 368.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.0128, allocations: 12.23 kB / 368.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.01283, allocations: 37.62 kB / 368.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.01283, allocations: 0 / 368.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003095/0.01314, allocations: 225.2 kB / 368.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.0132, allocations: 166.1 kB / 368.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.01343, allocations: 402.5 kB / 369.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.01345, allocations: 33.7 kB / 369.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.01362, allocations: 322.9 kB / 369.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.01367, allocations: 103.1 kB / 369.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.01375, allocations: 75.27 kB / 369.8 MB, free: 13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.0139, allocations: 0.5312 MB / 370.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.01396, allocations: 47.92 kB / 370.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.01411, allocations: 260.3 kB / 370.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.01434, allocations: 215.8 kB / 370.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01434, allocations: 4 kB / 370.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002675/0.01461, allocations: 247 kB / 371.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01462, allocations: 6.031 kB / 371.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01463, allocations: 4 kB / 371.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.01464, allocations: 4 kB / 371.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.01481, allocations: 67.84 kB / 371.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01481, allocations: 4 kB / 371.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.01492, allocations: 39.98 kB / 371.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01493, allocations: 12 kB / 371.2 MB, free: 11.45 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.0001696/0.0151, allocations: 171.2 kB / 371.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001343/0.01524, allocations: 259.9 kB / 371.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001898/0.01543, allocations: 214 kB / 371.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.01543, allocations: 0 / 371.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002322/0.01566, allocations: 237.1 kB / 372.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.01567, allocations: 4 kB / 372.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.01567, allocations: 4 kB / 372.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.01567, allocations: 4.219 kB / 372.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.0158, allocations: 71.84 kB / 372.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.01581, allocations: 3.938 kB / 372.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.01591, allocations: 31.81 kB / 372.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01592, allocations: 12 kB / 372.2 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.0001301/0.01605, allocations: 288 kB / 372.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.0161, allocations: 59.67 kB / 372.5 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.01616, allocations: 52.61 kB / 372.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01616, allocations: 4 kB / 372.6 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01617, allocations: 3.938 kB / 372.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01617, allocations: 4 kB / 372.6 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.01643, allocations: 252.9 kB / 372.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01644, allocations: 0 / 372.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.01659, allocations: 55.91 kB / 372.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01659, allocations: 0 / 372.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01661, allocations: 8 kB / 372.9 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01661, allocations: 4 kB / 372.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01661, allocations: 0 / 372.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.01695, allocations: 400.3 kB / 373.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/0.01704, allocations: 71.61 kB / 373.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.01708, allocations: 4 kB / 373.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.01717, allocations: 12 kB / 373.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.01722, allocations: 23.95 kB / 373.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.01723, allocations: 0 / 373.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.01737, allocations: 266.9 kB / 373.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01737, allocations: 0 / 373.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.01772, allocations: 151.5 kB / 373.8 MB, free: 8.668 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 0.0001176/0.01783, allocations: 107.2 kB / 373.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.01816, allocations: 248.6 kB / 374.2 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01817, allocations: 0 / 374.2 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.01824, allocations: 71.58 kB / 374.2 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.0004088/0.01865, allocations: 129.8 kB / 374.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.01959, allocations: 0.7347 MB / 375.1 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.453e-05/0.01967, allocations: 113.6 kB / 375.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.01982, allocations: 47.33 kB / 375.2 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.02004, allocations: 166.1 kB / 375.4 MB, free: 7.004 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02004, allocations: 0 / 375.4 MB, free: 7.004 MB / 346.7 MB Notification: Performance of Templates: time 0.007469/0.02751, allocations: 5.072 MB / 380.5 MB, free: 2.023 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: 3.1140366410836577]