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: "" <> buildModelFMU(AES.Coursework.ElecSys_generator_models.BoilerFollows,fileNamePrefix="AES_AES_Coursework_ElecSys_generator_models_BoilerFollows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ElecSys_generator_models.BoilerFollows,fileNamePrefix="AES_AES_Coursework_ElecSys_generator_models_BoilerFollows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007981/0.000798, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008823/0.0008822, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2583/0.2583, allocations: 22.34 MB / 313.4 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003284, allocations: 12 kB / 382.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3113, allocations: 55.98 MB / 438 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002377/0.3137, allocations: 2.522 MB / 440.5 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3151, allocations: 0.9721 MB / 441.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.3154, allocations: 17.94 kB / 441.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.3156, allocations: 56.36 kB / 441.6 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.3158, allocations: 71.14 kB / 441.7 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.3163, allocations: 231.4 kB / 441.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.3167, allocations: 479.3 kB / 442.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.317, allocations: 169.9 kB / 442.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3171, allocations: 133.4 kB / 442.7 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3172, allocations: 150.1 kB / 442.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.3173, allocations: 15.75 kB / 442.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-05/0.3173, allocations: 13.16 kB / 442.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.3174, allocations: 56.2 kB / 442.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.3174, allocations: 101.2 kB / 443 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3177, allocations: 380.2 kB / 443.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.3177, allocations: 0 / 443.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3177, allocations: 0 / 443.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3177, allocations: 0 / 443.4 MB, free: 35.76 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.0008127/0.3185, allocations: 0.7361 MB / 444.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3186, allocations: 8.438 kB / 444.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.3186, allocations: 77.28 kB / 444.2 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.3187, allocations: 60.59 kB / 444.2 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.3191, allocations: 386.5 kB / 444.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.3191, allocations: 27.19 kB / 444.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.3192, allocations: 34.34 kB / 444.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.3198, allocations: 436.9 kB / 445.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3198, allocations: 3.953 kB / 445.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.3198, allocations: 15.03 kB / 445.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3198, allocations: 11.56 kB / 445.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.3203, allocations: 294.3 kB / 445.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3218, allocations: 1.555 MB / 447 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.3224, allocations: 378.4 kB / 447.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.3227, allocations: 141.2 kB / 447.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3227, allocations: 2.672 kB / 447.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3227, allocations: 37.98 kB / 447.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.3227, allocations: 0 / 447.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007329/0.3235, allocations: 433.4 kB / 447.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3235, allocations: 109.8 kB / 448 MB, free: 32.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.3238, allocations: 415.2 kB / 448.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3239, allocations: 32.77 kB / 448.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.324, allocations: 260.9 kB / 448.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.3241, allocations: 105 kB / 448.8 MB, free: 32.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.3241, allocations: 7.938 kB / 448.8 MB, free: 32.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.3242, allocations: 355.7 kB / 449.2 MB, free: 31.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.3244, allocations: 118.2 kB / 449.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3246, allocations: 199.3 kB / 449.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.3249, allocations: 135.9 kB / 449.6 MB, free: 31.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3249, allocations: 0 / 449.6 MB, free: 31.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005582/0.3254, allocations: 390 kB / 450 MB, free: 31.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.3255, allocations: 141.5 kB / 450.2 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3255, allocations: 2 kB / 450.2 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3255, allocations: 8.266 kB / 450.2 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.3258, allocations: 77.16 kB / 450.2 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3259, allocations: 2.656 kB / 450.2 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.326, allocations: 56.05 kB / 450.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.3261, allocations: 10.44 kB / 450.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.3261, allocations: 2.594 kB / 450.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003481/0.3264, allocations: 263.8 kB / 450.6 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3265, allocations: 3.219 kB / 450.6 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.3265, allocations: 2.219 kB / 450.6 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.3267, allocations: 63.81 kB / 450.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3267, allocations: 5.719 kB / 450.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3269, allocations: 26.89 kB / 450.7 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3269, allocations: 12.34 kB / 450.7 MB, free: 31.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.3271, allocations: 254.9 kB / 450.9 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.3272, allocations: 45.31 kB / 451 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.3273, allocations: 57.48 kB / 451 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3273, allocations: 2.625 kB / 451 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3273, allocations: 0 / 451 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3274, allocations: 3.234 kB / 451 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.3278, allocations: 460.7 kB / 451.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3278, allocations: 0 / 451.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.3281, allocations: 58.98 kB / 451.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3281, allocations: 3.344 kB / 451.5 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3281, allocations: 7.469 kB / 451.6 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3281, allocations: 3.719 kB / 451.6 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3281, allocations: 0 / 451.6 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.3289, allocations: 0.5767 MB / 452.1 MB, free: 30.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.329, allocations: 154.6 kB / 452.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.3291, allocations: 7.062 kB / 452.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3292, allocations: 18.09 kB / 452.3 MB, free: 30.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.3293, allocations: 16.05 kB / 452.3 MB, free: 30.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3293, allocations: 9.969 kB / 452.3 MB, free: 30.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3295, allocations: 278.7 kB / 452.6 MB, free: 29.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3295, allocations: 0 / 452.6 MB, free: 29.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.33, allocations: 143.4 kB / 452.7 MB, free: 29.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008978/0.3309, allocations: 1.109 MB / 453.9 MB, free: 29.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006839/0.3316, allocations: 428.4 kB / 454.3 MB, free: 28.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3316, allocations: 4.062 kB / 454.3 MB, free: 28.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.3318, allocations: 144.3 kB / 454.4 MB, free: 28.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.3324, allocations: 127.2 kB / 454.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.3361, allocations: 2.556 MB / 457.1 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3364, allocations: 0.8349 MB / 457.9 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.3367, allocations: 48.73 kB / 458 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.3369, allocations: 157.8 kB / 458.1 MB, free: 26.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3369, allocations: 1.188 kB / 458.1 MB, free: 26.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3615, allocations: 8.206 MB / 466.3 MB, free: 26.05 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.3616, allocations: 183.6 kB / 466.5 MB, free: 25.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.236, allocations: 7.312 kB / 466.5 MB, free: 25.8 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ElecSys_generator_models_BoilerFollows_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ElecSys_generator_models_BoilerFollows.fmu > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) Environment - environmentSimulation: