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.001162/0.001162, allocations: 100.1 kB / 15.88 MB, free: 12 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.001242/0.001242, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.326/1.326, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2162/0.2162, allocations: 22.36 MB / 313 MB, free: 12.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.89 kB / 380.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2804, allocations: 54.94 MB / 435.7 MB, free: 39.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003587/0.2841, allocations: 3.03 MB / 438.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2856, allocations: 1.017 MB / 439.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.2859, allocations: 20.59 kB / 439.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.2862, allocations: 58.06 kB / 439.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2864, allocations: 69.66 kB / 439.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.287, allocations: 282.4 kB / 440.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.2874, allocations: 0.5107 MB / 440.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.2877, allocations: 237.2 kB / 440.9 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2879, allocations: 167.5 kB / 441.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.288, allocations: 187.9 kB / 441.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.2881, allocations: 23.28 kB / 441.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.2881, allocations: 23.12 kB / 441.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.2882, allocations: 87.34 kB / 441.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.2883, allocations: 210.3 kB / 441.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.2886, allocations: 386.5 kB / 442 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2886, allocations: 0 / 442 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2886, allocations: 0 / 442 MB, free: 35.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2886, allocations: 0 / 442 MB, free: 35.75 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.0009617/0.2896, allocations: 0.8126 MB / 442.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2896, allocations: 15.16 kB / 442.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.2897, allocations: 65.91 kB / 442.9 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.2901, allocations: 414.9 kB / 443.3 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2901, allocations: 29.31 kB / 443.3 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.2902, allocations: 40.12 kB / 443.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.2908, allocations: 419.1 kB / 443.8 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2908, allocations: 0 / 443.8 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.2908, allocations: 18.91 kB / 443.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2908, allocations: 11.41 kB / 443.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.2914, allocations: 281.6 kB / 444.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.2928, allocations: 1.535 MB / 445.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.2935, allocations: 350.7 kB / 445.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.2937, allocations: 138.9 kB / 446.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2938, allocations: 10.52 kB / 446.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2938, allocations: 33.73 kB / 446.1 MB, free: 33.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.2938, allocations: 4 kB / 446.1 MB, free: 33.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007578/0.2945, allocations: 403 kB / 446.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2946, allocations: 105.7 kB / 446.6 MB, free: 32.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2949, allocations: 417.3 kB / 447 MB, free: 32.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2949, allocations: 29.7 kB / 447.1 MB, free: 32.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.2951, allocations: 270 kB / 447.3 MB, free: 32.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.2951, allocations: 93.53 kB / 447.4 MB, free: 32.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.432e-05/0.2952, allocations: 63.83 kB / 447.5 MB, free: 32.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.2953, allocations: 359.2 kB / 447.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.2955, allocations: 116.1 kB / 447.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.2958, allocations: 192.9 kB / 448.1 MB, free: 31.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.297, allocations: 0.5271 MB / 448.6 MB, free: 31.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.297, allocations: 3.938 kB / 448.7 MB, free: 31.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00057/0.2976, allocations: 389.2 kB / 449 MB, free: 31.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2976, allocations: 5.25 kB / 449 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2976, allocations: 3.938 kB / 449 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2977, allocations: 5.25 kB / 449 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.2979, allocations: 70.92 kB / 449.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.298, allocations: 2.625 kB / 449.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2982, allocations: 46.08 kB / 449.2 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2982, allocations: 10.69 kB / 449.2 MB, free: 31.2 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.000344/0.2985, allocations: 216.7 kB / 449.4 MB, free: 31.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001714/0.2987, allocations: 168.8 kB / 449.5 MB, free: 30.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009903/0.2997, allocations: 467.4 kB / 450 MB, free: 30.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.2997, allocations: 0 / 450 MB, free: 30.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000411/0.3001, allocations: 334.4 kB / 450.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.3002, allocations: 5.875 kB / 450.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.3002, allocations: 0 / 450.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.3002, allocations: 5.969 kB / 450.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.3004, allocations: 62.06 kB / 450.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3004, allocations: 6.812 kB / 450.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.3006, allocations: 25.59 kB / 450.4 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3006, allocations: 11.5 kB / 450.4 MB, free: 30.5 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.946e-05/0.3007, allocations: 209.2 kB / 450.7 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.3008, allocations: 52.06 kB / 450.7 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.402e-05/0.3009, allocations: 61.59 kB / 450.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3009, allocations: 3.281 kB / 450.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3009, allocations: 4 kB / 450.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3009, allocations: 0 / 450.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.3013, allocations: 467.3 kB / 451.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3013, allocations: 0 / 451.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.3016, allocations: 55.88 kB / 451.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3016, allocations: 3.719 kB / 451.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3016, allocations: 4 kB / 451.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3016, allocations: 0 / 451.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3017, allocations: 0 / 451.3 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.3024, allocations: 0.5482 MB / 451.8 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3025, allocations: 144.9 kB / 452 MB, free: 29.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3026, allocations: 9.953 kB / 452 MB, free: 29.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3028, allocations: 14.83 kB / 452 MB, free: 29.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3028, allocations: 19.03 kB / 452 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3028, allocations: 9.938 kB / 452 MB, free: 29.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3031, allocations: 281.3 kB / 452.3 MB, free: 29.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3031, allocations: 3.938 kB / 452.3 MB, free: 29.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.3035, allocations: 139.4 kB / 452.4 MB, free: 29.27 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 8.678e-05/0.3036, allocations: 106.3 kB / 452.5 MB, free: 29.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.3043, allocations: 424.4 kB / 453 MB, free: 29.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3043, allocations: 0 / 453 MB, free: 29.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.3045, allocations: 137 kB / 453.1 MB, free: 28.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.3051, allocations: 117.4 kB / 453.2 MB, free: 28.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3063, allocations: 1.024 MB / 454.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.3065, allocations: 0.8264 MB / 455.1 MB, free: 27.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3066, allocations: 37.16 kB / 455.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3066, allocations: 3.25 kB / 455.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of Templates: time 0.007468/0.3141, allocations: 5.266 MB / 460.4 MB, free: 27 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)