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.004995/0.004994, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001115/0.001115, allocations: 191.3 kB / 16.67 MB, free: 5.934 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09201/0.09201, allocations: 22.32 MB / 312.8 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.89 kB / 437 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 54.95 MB / 492 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004352/0.1146, allocations: 3.008 MB / 495 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1166, allocations: 1.036 MB / 496 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.1169, allocations: 19.88 kB / 496 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1172, allocations: 83.06 kB / 496.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1174, allocations: 87.08 kB / 496.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.1181, allocations: 322.3 kB / 496.5 MB, free: 232 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.1187, allocations: 0.5467 MB / 497.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.119, allocations: 235 kB / 497.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1192, allocations: 191 kB / 497.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1194, allocations: 206.8 kB / 497.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.1195, allocations: 48 kB / 497.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.1196, allocations: 44 kB / 497.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.1197, allocations: 115.5 kB / 497.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1199, allocations: 226.6 kB / 498.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.1205, allocations: 0.5448 MB / 498.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.689e-05/0.1205, allocations: 7.938 kB / 498.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1205, allocations: 0 / 498.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.1205, allocations: 0 / 498.7 MB, free: 14.07 MB / 382.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.001297/0.1219, allocations: 0.8141 MB / 499.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1219, allocations: 8.031 kB / 499.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.122, allocations: 72.11 kB / 499.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.1227, allocations: 425.7 kB / 500 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1227, allocations: 25.38 kB / 0.4883 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.1228, allocations: 36.38 kB / 0.4883 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/0.1234, allocations: 431.7 kB / 0.4887 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1235, allocations: 0 / 0.4887 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1235, allocations: 12 kB / 0.4887 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1235, allocations: 12 kB / 0.4888 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.1241, allocations: 290.4 kB / 0.489 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.1259, allocations: 1.523 MB / 0.4905 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.1266, allocations: 353.7 kB / 0.4909 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.1269, allocations: 137.2 kB / 0.491 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1269, allocations: 4.234 kB / 0.491 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.127, allocations: 42.78 kB / 0.491 GB, free: 9.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.353e-06/0.127, allocations: 0 / 0.491 GB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008219/0.1278, allocations: 401.1 kB / 0.4914 GB, free: 9.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1279, allocations: 110.8 kB / 0.4915 GB, free: 9.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.1283, allocations: 409.9 kB / 0.4919 GB, free: 8.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1283, allocations: 33.7 kB / 0.4919 GB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.1285, allocations: 264.1 kB / 0.4922 GB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.1286, allocations: 103.2 kB / 0.4923 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1287, allocations: 62.02 kB / 0.4924 GB, free: 8.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1288, allocations: 354.8 kB / 0.4927 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1291, allocations: 118.1 kB / 0.4928 GB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.1294, allocations: 189.8 kB / 0.493 GB, free: 7.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.1308, allocations: 0.5371 MB / 0.4935 GB, free: 7.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1308, allocations: 0 / 0.4935 GB, free: 7.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006608/0.1315, allocations: 386.6 kB / 0.4939 GB, free: 6.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1315, allocations: 8 kB / 0.4939 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1315, allocations: 4 kB / 0.4939 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1316, allocations: 0 / 0.4939 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1319, allocations: 75.89 kB / 0.494 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1319, allocations: 7.938 kB / 0.494 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.1321, allocations: 39.58 kB / 0.494 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1321, allocations: 16 kB / 0.494 GB, free: 6.523 MB / 382.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.0003223/0.1325, allocations: 204.8 kB / 0.4942 GB, free: 6.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002021/0.1327, allocations: 168.4 kB / 0.4944 GB, free: 6.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001029/0.1337, allocations: 467.4 kB / 0.4948 GB, free: 5.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-06/0.1337, allocations: 3.984 kB / 0.4948 GB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005497/0.1343, allocations: 332.8 kB / 0.4951 GB, free: 5.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1343, allocations: 12.22 kB / 0.4952 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.1343, allocations: 0 / 0.4952 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.1343, allocations: 4 kB / 0.4952 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1346, allocations: 63.84 kB / 0.4952 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1346, allocations: 4 kB / 0.4952 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1348, allocations: 27.78 kB / 0.4952 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1348, allocations: 8 kB / 0.4953 GB, free: 5.191 MB / 382.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.0001531/0.135, allocations: 209.5 kB / 0.4955 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.135, allocations: 55.28 kB / 0.4955 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.1353, allocations: 48.7 kB / 0.4956 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1353, allocations: 0 / 0.4956 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1353, allocations: 3.938 kB / 0.4956 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1353, allocations: 7.984 kB / 0.4956 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.1358, allocations: 465.1 kB / 0.496 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1358, allocations: 0 / 0.496 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.1361, allocations: 59.91 kB / 0.4961 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1361, allocations: 0 / 0.4961 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1362, allocations: 12 kB / 0.4961 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1362, allocations: 0 / 0.4961 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1362, allocations: 0 / 0.4961 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.1371, allocations: 0.5388 MB / 0.4966 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1372, allocations: 156.4 kB / 0.4968 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.1373, allocations: 8 kB / 0.4968 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1375, allocations: 15.98 kB / 0.4968 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.1375, allocations: 15.98 kB / 0.4968 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1376, allocations: 4 kB / 0.4968 GB, free: 3.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.1378, allocations: 283.1 kB / 0.4971 GB, free: 3.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1378, allocations: 0 / 0.4971 GB, free: 3.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006733/0.1385, allocations: 147.4 kB / 0.4972 GB, free: 3.098 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.000201/0.1387, allocations: 111.2 kB / 0.4973 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007875/0.1395, allocations: 420.3 kB / 0.4977 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1395, allocations: 0 / 0.4977 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.1398, allocations: 139.9 kB / 0.4978 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.1405, allocations: 130.2 kB / 0.498 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1418, allocations: 0.8081 MB / 0.4988 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1421, allocations: 0.8308 MB / 0.4996 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.1424, allocations: 51.2 kB / 0.4996 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.108e-05/0.1425, allocations: 27.44 kB / 0.4996 GB, free: 0.543 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1425, allocations: 0 / 0.4996 GB, free: 0.543 MB / 382.1 MB Notification: Performance of Templates: time 0.2004/0.3428, allocations: 4.464 MB / 0.504 GB, free: 21.61 MB / 382.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)