Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001582, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2403/0.2403, allocations: 22.35 MB / 312.7 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 63.89 kB / 380.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3013, allocations: 54.94 MB / 435.8 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003865/0.3052, allocations: 3.016 MB / 438.8 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3069, allocations: 1.03 MB / 439.8 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.3072, allocations: 23.66 kB / 439.8 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.3075, allocations: 86 kB / 439.9 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.3077, allocations: 89.41 kB / 440 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.3083, allocations: 313.8 kB / 440.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.3087, allocations: 0.5491 MB / 440.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.309, allocations: 235.2 kB / 441.1 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3092, allocations: 191.2 kB / 441.3 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3093, allocations: 205.5 kB / 441.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.3094, allocations: 45.84 kB / 441.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.3094, allocations: 50.41 kB / 441.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.3095, allocations: 109.5 kB / 441.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.3096, allocations: 226.3 kB / 441.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.31, allocations: 0.5227 MB / 442.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.31, allocations: 0 / 442.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.31, allocations: 2.938 kB / 442.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.31, allocations: 0 / 442.4 MB, free: 35.21 MB / 350.1 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.0009834/0.311, allocations: 0.8116 MB / 443.2 MB, free: 34.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3111, allocations: 8.719 kB / 443.2 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.3112, allocations: 63.34 kB / 443.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.3115, allocations: 416.8 kB / 443.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3116, allocations: 29.06 kB / 443.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.3116, allocations: 36.03 kB / 443.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.3122, allocations: 423.4 kB / 444.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3122, allocations: 6.719 kB / 444.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.3122, allocations: 18.8 kB / 444.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3123, allocations: 8.312 kB / 444.2 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.3128, allocations: 281.3 kB / 444.5 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.3142, allocations: 1.544 MB / 446 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.3149, allocations: 346.6 kB / 446.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.3151, allocations: 138 kB / 446.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.3151, allocations: 6.719 kB / 446.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.3152, allocations: 37.67 kB / 446.6 MB, free: 32.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.3152, allocations: 0 / 446.6 MB, free: 32.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007528/0.3159, allocations: 401.7 kB / 446.9 MB, free: 32.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.316, allocations: 109.6 kB / 447.1 MB, free: 32.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.3163, allocations: 414.7 kB / 447.5 MB, free: 32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3163, allocations: 32.61 kB / 447.5 MB, free: 31.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3164, allocations: 268.2 kB / 447.8 MB, free: 31.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.3165, allocations: 96.92 kB / 447.8 MB, free: 31.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.3166, allocations: 67.62 kB / 447.9 MB, free: 31.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.3167, allocations: 355.6 kB / 448.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3169, allocations: 117.9 kB / 448.4 MB, free: 31.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.3172, allocations: 189.1 kB / 448.6 MB, free: 31.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.3184, allocations: 0.5301 MB / 449.1 MB, free: 30.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3184, allocations: 4 kB / 449.1 MB, free: 30.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000571/0.319, allocations: 389.2 kB / 449.5 MB, free: 30.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.319, allocations: 8.781 kB / 449.5 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.319, allocations: 0 / 449.5 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3191, allocations: 7.781 kB / 449.5 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.3193, allocations: 68.06 kB / 449.6 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3194, allocations: 3.062 kB / 449.6 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3196, allocations: 42.67 kB / 449.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.3196, allocations: 12.78 kB / 449.6 MB, free: 30.66 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003215/0.3199, allocations: 212.8 kB / 449.8 MB, free: 30.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001711/0.3201, allocations: 168.2 kB / 450 MB, free: 30.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009456/0.321, allocations: 469.2 kB / 450.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.3211, allocations: 2.625 kB / 450.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004077/0.3215, allocations: 328 kB / 450.8 MB, free: 30 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.3215, allocations: 6.062 kB / 450.8 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.3215, allocations: 3.234 kB / 450.8 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.3215, allocations: 7.219 kB / 450.8 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3217, allocations: 70.66 kB / 450.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.3217, allocations: 2.625 kB / 450.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3219, allocations: 21.47 kB / 450.9 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3219, allocations: 15.16 kB / 450.9 MB, free: 29.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.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,Gs.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 9.675e-05/0.3221, allocations: 205.5 kB / 451.1 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.3221, allocations: 53.59 kB / 451.1 MB, free: 29.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.3222, allocations: 60.06 kB / 451.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3222, allocations: 2.875 kB / 451.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3222, allocations: 0 / 451.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3222, allocations: 0 / 451.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.3227, allocations: 467.1 kB / 451.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3227, allocations: 0 / 451.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.323, allocations: 52.5 kB / 451.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.323, allocations: 3.984 kB / 451.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.323, allocations: 13.78 kB / 451.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.323, allocations: 0 / 451.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.323, allocations: 3.984 kB / 451.7 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.3238, allocations: 0.5466 MB / 452.3 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.3239, allocations: 144.4 kB / 452.4 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.3239, allocations: 6.844 kB / 452.4 MB, free: 28.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.3241, allocations: 20.5 kB / 452.4 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3242, allocations: 18.09 kB / 452.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3242, allocations: 10.12 kB / 452.5 MB, free: 28.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3244, allocations: 281.4 kB / 452.7 MB, free: 28.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3244, allocations: 0 / 452.7 MB, free: 28.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.3249, allocations: 140.2 kB / 452.9 MB, free: 28.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,Gs.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 9.049e-05/0.325, allocations: 103.1 kB / 453 MB, free: 28.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000721/0.3257, allocations: 436.9 kB / 453.4 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3257, allocations: 0 / 453.4 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.3259, allocations: 138.5 kB / 453.5 MB, free: 28.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.3266, allocations: 134.5 kB / 453.7 MB, free: 28.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3277, allocations: 0.8159 MB / 454.5 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.3279, allocations: 0.8276 MB / 455.3 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.3281, allocations: 49.72 kB / 455.4 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.3282, allocations: 33.19 kB / 455.4 MB, free: 27.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3282, allocations: 0 / 455.4 MB, free: 27.19 MB / 350.1 MB Notification: Performance of Templates: time 0.01001/0.3382, allocations: 4.425 MB / 459.8 MB, free: 26.88 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile (rm -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.BoilerFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)