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.0007408/0.0007408, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007872/0.0007872, allocations: 169.6 kB / 23.98 MB, free: 0.582 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.8652/0.8652, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.05997/0.05997, allocations: 18.12 MB / 278.8 MB, free: 11.54 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.373e-06/1.373e-06, allocations: 0 / 416.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.448e-05, allocations: 3.656 kB / 416.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.002485/0.002509, allocations: 2.764 MB / 419.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.00367, allocations: 1.043 MB / 420.1 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.003862, allocations: 27.81 kB / 420.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.004066, allocations: 82.59 kB / 420.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.004203, allocations: 88.5 kB / 420.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.004697, allocations: 337.6 kB / 420.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.00511, allocations: 0.5578 MB / 421.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.005334, allocations: 156.9 kB / 421.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.005458, allocations: 188.2 kB / 421.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.005607, allocations: 137.5 kB / 421.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.00566, allocations: 46.16 kB / 421.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.005701, allocations: 45.16 kB / 421.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.005756, allocations: 108.8 kB / 421.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.005844, allocations: 136.2 kB / 422 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.0063, allocations: 0.5446 MB / 422.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006302, allocations: 0 / 422.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006303, allocations: 0 / 422.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.00631, allocations: 1.469 kB / 422.5 MB, free: 8.582 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.0007508/0.00706, allocations: 0.7548 MB / 423.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.007095, allocations: 9.797 kB / 423.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.007164, allocations: 66.53 kB / 423.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.007551, allocations: 364.5 kB / 423.7 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.007574, allocations: 31.78 kB / 423.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.007616, allocations: 37.23 kB / 423.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.0081, allocations: 0.5256 MB / 424.3 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.008112, allocations: 5.188 kB / 424.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.008138, allocations: 16.88 kB / 424.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.008148, allocations: 12.62 kB / 424.4 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.008514, allocations: 286.3 kB / 424.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.009599, allocations: 1.323 MB / 426 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.01009, allocations: 336 kB / 426.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.01025, allocations: 124.3 kB / 426.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.01028, allocations: 4.297 kB / 426.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.01029, allocations: 37.84 kB / 426.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.714e-06/0.0103, allocations: 0 / 426.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005585/0.01085, allocations: 413.2 kB / 426.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.01089, allocations: 158.8 kB / 427 MB, free: 5.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.01118, allocations: 389 kB / 427.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01119, allocations: 31.83 kB / 427.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.0113, allocations: 270.4 kB / 427.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.01135, allocations: 102.9 kB / 427.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.01143, allocations: 69.38 kB / 427.8 MB, free: 5.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.01149, allocations: 359.3 kB / 428.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.01166, allocations: 112.6 kB / 428.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.01186, allocations: 309.4 kB / 428.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.01271, allocations: 0.5203 MB / 429.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01271, allocations: 0 / 429.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004147/0.01313, allocations: 382.7 kB / 429.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.01315, allocations: 8.953 kB / 429.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01316, allocations: 6.375 kB / 429.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01317, allocations: 7.188 kB / 429.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.01334, allocations: 67.11 kB / 429.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01335, allocations: 5.25 kB / 429.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.01346, allocations: 42.59 kB / 429.6 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01348, allocations: 9.719 kB / 429.6 MB, free: 3.961 MB / 330.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.0002166/0.01369, allocations: 206.6 kB / 429.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001567/0.01385, allocations: 296.4 kB / 430.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006124/0.01446, allocations: 469.6 kB / 430.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.01446, allocations: 0 / 430.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003191/0.01478, allocations: 338.3 kB / 430.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.01479, allocations: 4.812 kB / 430.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.01479, allocations: 5.297 kB / 430.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.0148, allocations: 2.75 kB / 430.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.01493, allocations: 63.89 kB / 431 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.01493, allocations: 6.812 kB / 431 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/0.01503, allocations: 30.47 kB / 431 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.01504, allocations: 8.312 kB / 431 MB, free: 3.117 MB / 330.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 7.126e-05/0.01511, allocations: 221.2 kB / 431.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.01515, allocations: 48.08 kB / 431.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.01521, allocations: 49.8 kB / 431.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01522, allocations: 8.766 kB / 431.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01522, allocations: 0 / 431.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01523, allocations: 1.219 kB / 431.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.01549, allocations: 327.4 kB / 431.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01549, allocations: 1.219 kB / 431.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.01565, allocations: 54.16 kB / 431.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01565, allocations: 5.312 kB / 431.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01566, allocations: 6.031 kB / 431.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01566, allocations: 1.281 kB / 431.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01567, allocations: 5.672 kB / 431.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.01621, allocations: 0.5369 MB / 432.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.0163, allocations: 67.61 kB / 432.4 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.01633, allocations: 15.25 kB / 432.4 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01643, allocations: 17.47 kB / 432.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.01647, allocations: 26.22 kB / 432.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01648, allocations: 5.953 kB / 432.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.01665, allocations: 267 kB / 432.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01665, allocations: 0 / 432.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000308/0.01696, allocations: 139.6 kB / 432.8 MB, free: 2.082 MB / 330.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 7.483e-05/0.01703, allocations: 104.1 kB / 432.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.01753, allocations: 409.6 kB / 433.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01754, allocations: 0 / 433.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.01769, allocations: 131.9 kB / 433.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.01812, allocations: 121.9 kB / 433.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.01897, allocations: 0.8048 MB / 434.4 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.01916, allocations: 232.7 kB / 434.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.01924, allocations: 31.16 kB / 434.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01924, allocations: 0 / 434.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of Templates: time 0.005251/0.02449, allocations: 5.392 MB / 440 MB, free: 15.07 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=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.413852131925523] Failed to read output from testmodel.py, exit status != 0: 0.029608667828142643 0.037646214000000004 0.029756261000000003 Calling exit ...