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.001472/0.001472, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001684/0.001684, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09237/0.09237, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.89 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 54.96 MB / 492.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004289/0.1104, allocations: 3.02 MB / 495.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1125, allocations: 1.029 MB / 496.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.113, allocations: 23.88 kB / 496.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1133, allocations: 83.06 kB / 496.8 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.1137, allocations: 87.08 kB / 496.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000782/0.1145, allocations: 311.2 kB / 497.2 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007505/0.1153, allocations: 0.5506 MB / 497.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.1157, allocations: 242.9 kB / 498 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.116, allocations: 187.1 kB / 498.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.1163, allocations: 210.7 kB / 498.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.72e-05/0.1163, allocations: 48 kB / 498.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.1164, allocations: 44 kB / 498.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.1165, allocations: 107.6 kB / 498.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1167, allocations: 238.5 kB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.1172, allocations: 0.537 MB / 499.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1172, allocations: 4 kB / 499.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1173, allocations: 0 / 499.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.1173, allocations: 0 / 499.3 MB, free: 14.06 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.001294/0.1186, allocations: 0.8179 MB / 0.4884 GB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1186, allocations: 8.031 kB / 0.4884 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1187, allocations: 64.19 kB / 0.4885 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.1194, allocations: 433.7 kB / 0.4889 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.1194, allocations: 29.38 kB / 0.489 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.1195, allocations: 36.38 kB / 0.489 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.1202, allocations: 423.8 kB / 0.4894 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1202, allocations: 3.938 kB / 0.4894 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.1202, allocations: 16 kB / 0.4894 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1203, allocations: 8 kB / 0.4894 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.1208, allocations: 294.3 kB / 0.4897 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1227, allocations: 1.515 MB / 0.4912 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/0.1234, allocations: 343.4 kB / 0.4915 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.1237, allocations: 141.2 kB / 0.4916 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.1237, allocations: 8.859 kB / 0.4916 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1238, allocations: 38.78 kB / 0.4917 GB, free: 9.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.1238, allocations: 0 / 0.4917 GB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008419/0.1246, allocations: 405.2 kB / 0.4921 GB, free: 9.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.1247, allocations: 110.8 kB / 0.4922 GB, free: 9.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.1251, allocations: 409.9 kB / 0.4926 GB, free: 8.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.1251, allocations: 33.7 kB / 0.4926 GB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1253, allocations: 268 kB / 0.4929 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.1254, allocations: 90.56 kB / 0.4929 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1255, allocations: 70.02 kB / 0.493 GB, free: 8.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1257, allocations: 354.8 kB / 0.4933 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.1259, allocations: 122.1 kB / 0.4935 GB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.1262, allocations: 185.8 kB / 0.4936 GB, free: 7.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.1276, allocations: 0.5371 MB / 0.4942 GB, free: 7.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1276, allocations: 4 kB / 0.4942 GB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006588/0.1283, allocations: 382.3 kB / 0.4945 GB, free: 6.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1283, allocations: 8.219 kB / 0.4945 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.1283, allocations: 8 kB / 0.4945 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1283, allocations: 7.938 kB / 0.4946 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.1287, allocations: 71.89 kB / 0.4946 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1287, allocations: 4 kB / 0.4946 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1289, allocations: 39.58 kB / 0.4947 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.1289, allocations: 12 kB / 0.4947 GB, free: 6.516 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.0003173/0.1293, allocations: 212.7 kB / 0.4949 GB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000228/0.1295, allocations: 164.5 kB / 0.495 GB, free: 6.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.1305, allocations: 467.4 kB / 0.4955 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.1306, allocations: 3.984 kB / 0.4955 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000489/0.131, allocations: 336.7 kB / 0.4958 GB, free: 5.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1311, allocations: 4.219 kB / 0.4958 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1311, allocations: 8 kB / 0.4958 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1311, allocations: 4 kB / 0.4958 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1313, allocations: 67.84 kB / 0.4959 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1314, allocations: 4 kB / 0.4959 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1316, allocations: 27.72 kB / 0.4959 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1316, allocations: 12 kB / 0.4959 GB, free: 5.168 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.000148/0.1317, allocations: 201.5 kB / 0.4961 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.1318, allocations: 55.28 kB / 0.4962 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1319, allocations: 52.7 kB / 0.4962 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1319, allocations: 4 kB / 0.4962 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1319, allocations: 0 / 0.4962 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.132, allocations: 3.984 kB / 0.4962 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.1324, allocations: 465.1 kB / 0.4967 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1325, allocations: 0 / 0.4967 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.1328, allocations: 55.91 kB / 0.4967 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1328, allocations: 0 / 0.4967 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1328, allocations: 8 kB / 0.4967 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1328, allocations: 4 kB / 0.4967 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1328, allocations: 0 / 0.4967 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008625/0.1337, allocations: 0.5427 MB / 0.4973 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1338, allocations: 152.5 kB / 0.4974 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.1339, allocations: 12 kB / 0.4974 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1341, allocations: 16.11 kB / 0.4974 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1342, allocations: 15.98 kB / 0.4975 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1342, allocations: 8 kB / 0.4975 GB, free: 3.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.1345, allocations: 287.1 kB / 0.4977 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1345, allocations: 0 / 0.4977 GB, free: 3.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.135, allocations: 139.4 kB / 0.4979 GB, free: 3.082 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.0001179/0.1351, allocations: 111.2 kB / 0.498 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000782/0.1359, allocations: 419.5 kB / 0.4984 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1359, allocations: 0.875 kB / 0.4984 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.1362, allocations: 135.8 kB / 0.4985 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.1368, allocations: 127.9 kB / 0.4986 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1382, allocations: 0.8332 MB / 0.4994 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1386, allocations: 0.8269 MB / 0.5003 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1387, allocations: 39.44 kB / 0.5003 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1387, allocations: 0 / 0.5003 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of Templates: time 0.2184/0.3571, allocations: 5.384 MB / 0.5055 GB, free: 21.19 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)