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.006144/0.006144, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001342/0.001342, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.202/0.202, allocations: 22.36 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.84 kB / 436.6 MB, free: 33.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 54.97 MB / 491.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003571/0.1129, allocations: 3.022 MB / 494.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1148, allocations: 1.025 MB / 495.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.1152, allocations: 19.88 kB / 495.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.1154, allocations: 83.06 kB / 495.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1157, allocations: 87.12 kB / 495.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.1164, allocations: 322.4 kB / 496.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.1171, allocations: 0.5506 MB / 496.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.1174, allocations: 231.1 kB / 496.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.1177, allocations: 195 kB / 497 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1179, allocations: 210.8 kB / 497.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.118, allocations: 44 kB / 497.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.118, allocations: 48 kB / 497.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.1181, allocations: 103.6 kB / 497.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1183, allocations: 242.5 kB / 497.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.1188, allocations: 0.5378 MB / 498.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1188, allocations: 0 / 498.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1188, allocations: 0 / 498.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1188, allocations: 0 / 498.2 MB, free: 10.92 MB / 366.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.001214/0.12, allocations: 0.8063 MB / 499 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1201, allocations: 19.95 kB / 499 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/0.1202, allocations: 74.72 kB / 499.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.1203, allocations: 60.19 kB / 499.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.1211, allocations: 429.7 kB / 499.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.1212, allocations: 29.38 kB / 499.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.1212, allocations: 40.36 kB / 499.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.1221, allocations: 423.6 kB / 0.4884 GB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1221, allocations: 4 kB / 0.4884 GB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.1222, allocations: 15.94 kB / 0.4884 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1222, allocations: 15.98 kB / 0.4884 GB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.1228, allocations: 282.4 kB / 0.4887 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.1246, allocations: 1.523 MB / 0.4902 GB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.1253, allocations: 359.7 kB / 0.4905 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.1256, allocations: 145.3 kB / 0.4906 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1256, allocations: 240 / 0.4906 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1257, allocations: 38.8 kB / 0.4907 GB, free: 6.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.1257, allocations: 0 / 0.4907 GB, free: 6.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008397/0.1265, allocations: 404 kB / 0.4911 GB, free: 6.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.1266, allocations: 102.8 kB / 0.4912 GB, free: 5.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.127, allocations: 413.9 kB / 0.4915 GB, free: 5.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.127, allocations: 29.7 kB / 0.4916 GB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1272, allocations: 264.1 kB / 0.4918 GB, free: 5.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.1273, allocations: 98.55 kB / 0.4919 GB, free: 5.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/0.1274, allocations: 65.97 kB / 0.492 GB, free: 5.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1276, allocations: 358.8 kB / 0.4923 GB, free: 4.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.1278, allocations: 118.1 kB / 0.4924 GB, free: 4.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1281, allocations: 193.8 kB / 0.4926 GB, free: 4.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.1295, allocations: 0.5332 MB / 0.4931 GB, free: 3.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1295, allocations: 0 / 0.4931 GB, free: 3.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000666/0.1301, allocations: 386.5 kB / 0.4935 GB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1302, allocations: 8.031 kB / 0.4935 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1302, allocations: 4 kB / 0.4935 GB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1302, allocations: 4 kB / 0.4935 GB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1305, allocations: 71.89 kB / 0.4936 GB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1305, allocations: 4 kB / 0.4936 GB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.1308, allocations: 39.67 kB / 0.4936 GB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.1308, allocations: 8 kB / 0.4936 GB, free: 3.297 MB / 366.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.0003525/0.1312, allocations: 221.6 kB / 0.4939 GB, free: 3.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002064/0.1314, allocations: 168.4 kB / 0.494 GB, free: 2.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001047/0.1324, allocations: 463.4 kB / 0.4945 GB, free: 2.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.1324, allocations: 0 / 0.4945 GB, free: 2.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004862/0.1329, allocations: 333 kB / 0.4948 GB, free: 2.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.133, allocations: 12.03 kB / 0.4948 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.133, allocations: 0 / 0.4948 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.133, allocations: 4 kB / 0.4948 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.1332, allocations: 59.91 kB / 0.4948 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1332, allocations: 7.938 kB / 0.4949 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1334, allocations: 27.78 kB / 0.4949 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1334, allocations: 15.98 kB / 0.4949 GB, free: 1.949 MB / 366.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 0.000154/0.1336, allocations: 209.4 kB / 0.4951 GB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.1337, allocations: 47.44 kB / 0.4951 GB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/0.1338, allocations: 52.64 kB / 0.4952 GB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1338, allocations: 4 kB / 0.4952 GB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1338, allocations: 3.984 kB / 0.4952 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1338, allocations: 0 / 0.4952 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.1343, allocations: 469 kB / 0.4956 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1343, allocations: 0 / 0.4956 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.1346, allocations: 55.91 kB / 0.4957 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1346, allocations: 4 kB / 0.4957 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1347, allocations: 8 kB / 0.4957 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1347, allocations: 0 / 0.4957 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1347, allocations: 0 / 0.4957 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.1356, allocations: 0.5438 MB / 0.4962 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1358, allocations: 148.5 kB / 0.4964 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.1358, allocations: 8 kB / 0.4964 GB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.136, allocations: 15.98 kB / 0.4964 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1361, allocations: 15.98 kB / 0.4964 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1361, allocations: 7.984 kB / 0.4964 GB, free: 292 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002786/0.1364, allocations: 283.1 kB / 0.4967 GB, free: 8 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 0.4967 GB, free: 8 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005213/0.1369, allocations: 143.5 kB / 0.4968 GB, free: 15.86 MB / 382.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 0.001154/0.1381, allocations: 1.096 MB / 0.4979 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008221/0.1389, allocations: 420.4 kB / 0.4983 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.139, allocations: 0 / 0.4983 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.1392, allocations: 136.7 kB / 0.4984 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.1399, allocations: 134 kB / 0.4986 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/0.1448, allocations: 3.749 MB / 0.5022 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1452, allocations: 0.8269 MB / 0.503 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.1454, allocations: 55.25 kB / 0.5031 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.1456, allocations: 159.4 kB / 0.5032 GB, free: 9.137 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1456, allocations: 0 / 0.5032 GB, free: 9.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.1777, allocations: 9.125 MB / 0.5122 GB, free: 132 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.035, allocations: 11.19 kB / 0.5122 GB, free: 124 kB / 382.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/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)