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.0009266/0.0009265, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009038/0.0009037, allocations: 177.3 kB / 15.94 MB, free: 228 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2304/0.2304, allocations: 22.34 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 12 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2783, allocations: 55.98 MB / 437.9 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002501/0.2808, allocations: 2.519 MB / 440.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2824, allocations: 0.9538 MB / 441.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.2826, allocations: 17.03 kB / 441.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.717e-05/0.2827, allocations: 40.77 kB / 441.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.2831, allocations: 132.6 kB / 441.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.2836, allocations: 248.4 kB / 441.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.284, allocations: 355.7 kB / 442.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.2843, allocations: 171 kB / 442.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.2844, allocations: 136.4 kB / 442.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.2846, allocations: 151 kB / 442.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.2846, allocations: 10.69 kB / 442.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.248e-05/0.2847, allocations: 16.19 kB / 442.6 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2847, allocations: 58.3 kB / 442.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.2848, allocations: 95.17 kB / 442.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.2851, allocations: 385.4 kB / 443.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2851, allocations: 0 / 443.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2851, allocations: 0 / 443.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2851, allocations: 0 / 443.1 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.0008823/0.286, allocations: 0.7307 MB / 443.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.286, allocations: 11.41 kB / 443.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.2861, allocations: 76.17 kB / 444 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.2862, allocations: 65.16 kB / 444 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.2866, allocations: 388.4 kB / 444.4 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2866, allocations: 27.75 kB / 444.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.2867, allocations: 35.88 kB / 444.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.2873, allocations: 422.1 kB / 444.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2873, allocations: 7.953 kB / 444.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.2874, allocations: 14.91 kB / 444.9 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.2874, allocations: 10.44 kB / 444.9 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.2879, allocations: 304 kB / 445.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.2894, allocations: 1.55 MB / 446.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.2902, allocations: 388.2 kB / 447.1 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.2902, allocations: 6.484 kB / 447.1 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.2903, allocations: 33.58 kB / 447.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.2903, allocations: 0 / 447.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.000781/0.2911, allocations: 433.2 kB / 447.6 MB, free: 32.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.2911, allocations: 108.8 kB / 447.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.2915, allocations: 411.5 kB / 448.1 MB, free: 32.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2915, allocations: 32.33 kB / 448.1 MB, free: 32.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2917, allocations: 266.4 kB / 448.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.2918, allocations: 97.06 kB / 448.5 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.2918, allocations: 6.781 kB / 448.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.2919, allocations: 356.2 kB / 448.8 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.2921, allocations: 121.2 kB / 449 MB, free: 31.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.2924, allocations: 201.2 kB / 449.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.2926, allocations: 134.8 kB / 449.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2926, allocations: 0 / 449.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005962/0.2932, allocations: 391.5 kB / 449.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.2934, allocations: 0.7076 MB / 450.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2934, allocations: 2.781 kB / 450.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2935, allocations: 3.031 kB / 450.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.2938, allocations: 71.02 kB / 450.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2938, allocations: 5.594 kB / 450.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.294, allocations: 51.89 kB / 450.5 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.294, allocations: 10.31 kB / 450.5 MB, free: 30.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.294, allocations: 6.938 kB / 450.5 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003579/0.2944, allocations: 260 kB / 450.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2944, allocations: 3 kB / 450.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.2944, allocations: 3.312 kB / 450.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.2946, allocations: 64.14 kB / 450.8 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2947, allocations: 8.656 kB / 450.9 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2948, allocations: 21.69 kB / 450.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.2948, allocations: 11.5 kB / 450.9 MB, free: 30.62 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.0002642/0.2951, allocations: 256.7 kB / 451.1 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.2952, allocations: 45.94 kB / 451.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/0.2953, allocations: 53.42 kB / 451.2 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2953, allocations: 5.594 kB / 451.2 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.2953, allocations: 7.984 kB / 451.2 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2953, allocations: 0 / 451.2 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2958, allocations: 460.4 kB / 451.7 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2958, allocations: 3.938 kB / 451.7 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.2961, allocations: 57.27 kB / 451.8 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2961, allocations: 2.688 kB / 451.8 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.2961, allocations: 10.38 kB / 451.8 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2961, allocations: 0 / 451.8 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2961, allocations: 0 / 451.8 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.297, allocations: 0.5809 MB / 452.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2971, allocations: 148.8 kB / 452.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.2972, allocations: 6.844 kB / 452.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.2974, allocations: 25.17 kB / 452.5 MB, free: 29.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.2974, allocations: 18.53 kB / 452.5 MB, free: 29.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.2974, allocations: 5.281 kB / 452.6 MB, free: 29.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.2977, allocations: 282.8 kB / 452.8 MB, free: 29.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2977, allocations: 0 / 452.8 MB, free: 29.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004554/0.2982, allocations: 140.2 kB / 453 MB, free: 29.34 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.000947/0.2991, allocations: 1.113 MB / 454.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007205/0.2999, allocations: 429.5 kB / 454.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2999, allocations: 0 / 454.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.3001, allocations: 143 kB / 454.6 MB, free: 28.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.3007, allocations: 109.5 kB / 454.7 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.3042, allocations: 3.598 MB / 458.3 MB, free: 25.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3045, allocations: 0.8443 MB / 459.2 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002174/0.3047, allocations: 48.95 kB / 459.2 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3049, allocations: 161.6 kB / 459.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3049, allocations: 0 / 459.4 MB, free: 25.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.3274, allocations: 8.191 MB / 467.6 MB, free: 24.47 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.3276, allocations: 170.9 kB / 467.7 MB, free: 24.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.109, allocations: 0.9688 kB / 467.8 MB, free: 24.23 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: