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.001585/0.001585, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001545/0.001545, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09064/0.09064, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 63.89 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1698, allocations: 54.95 MB / 492.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.007345/0.1772, allocations: 3.016 MB / 495.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.1808, allocations: 1.029 MB / 496.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.1815, allocations: 19.88 kB / 496.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004203/0.182, allocations: 87.06 kB / 496.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.1824, allocations: 83.14 kB / 496.9 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.1832, allocations: 318.3 kB / 497.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.1838, allocations: 0.5545 MB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.1842, allocations: 231 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1844, allocations: 199 kB / 498.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.1847, allocations: 210.7 kB / 498.4 MB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.1847, allocations: 48 kB / 498.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.1848, allocations: 44 kB / 498.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.1849, allocations: 99.62 kB / 498.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.1851, allocations: 234.5 kB / 498.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.1856, allocations: 0.5448 MB / 499.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1856, allocations: 0 / 499.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1856, allocations: 4 kB / 499.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.1856, allocations: 0 / 499.3 MB, free: 14.04 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.001147/0.1868, allocations: 0.818 MB / 0.4884 GB, free: 13.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1868, allocations: 8.031 kB / 0.4885 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/0.1869, allocations: 60.19 kB / 0.4885 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.1875, allocations: 441.6 kB / 0.4889 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1876, allocations: 25.38 kB / 0.489 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.1876, allocations: 48.3 kB / 0.489 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.1883, allocations: 423.8 kB / 0.4894 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1883, allocations: 0 / 0.4894 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.1884, allocations: 19.98 kB / 0.4894 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1884, allocations: 8 kB / 0.4894 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.189, allocations: 286.4 kB / 0.4897 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1907, allocations: 1.515 MB / 0.4912 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.1915, allocations: 343.4 kB / 0.4915 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.1918, allocations: 141.2 kB / 0.4916 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.1918, allocations: 4.234 kB / 0.4916 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1918, allocations: 38.73 kB / 0.4917 GB, free: 9.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.1918, allocations: 0 / 0.4917 GB, free: 9.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008685/0.1927, allocations: 405.2 kB / 0.4921 GB, free: 9.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.1928, allocations: 106.8 kB / 0.4922 GB, free: 9.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.1932, allocations: 413.9 kB / 0.4926 GB, free: 8.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1932, allocations: 29.7 kB / 0.4926 GB, free: 8.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1934, allocations: 260.7 kB / 0.4928 GB, free: 8.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.1935, allocations: 106.5 kB / 0.4929 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.1936, allocations: 66.03 kB / 0.493 GB, free: 8.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1938, allocations: 354.8 kB / 0.4933 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.194, allocations: 122.1 kB / 0.4935 GB, free: 7.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.1943, allocations: 193.7 kB / 0.4936 GB, free: 7.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.1957, allocations: 0.5332 MB / 0.4942 GB, free: 7.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1957, allocations: 4 kB / 0.4942 GB, free: 7.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006652/0.1964, allocations: 374.4 kB / 0.4945 GB, free: 6.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1964, allocations: 8 kB / 0.4945 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1964, allocations: 224 / 0.4945 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.1965, allocations: 8 kB / 0.4945 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.1968, allocations: 79.83 kB / 0.4946 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1968, allocations: 0 / 0.4946 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.197, allocations: 47.52 kB / 0.4947 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.197, allocations: 12 kB / 0.4947 GB, free: 6.488 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.0003405/0.1974, allocations: 211.8 kB / 0.4949 GB, free: 6.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000194/0.1976, allocations: 168.5 kB / 0.495 GB, free: 6.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/0.1986, allocations: 459.4 kB / 0.4955 GB, free: 5.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.808e-06/0.1986, allocations: 7.984 kB / 0.4955 GB, free: 5.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004818/0.1991, allocations: 336.7 kB / 0.4958 GB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.1992, allocations: 7.938 kB / 0.4958 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1992, allocations: 4.219 kB / 0.4958 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.992e-06/0.1992, allocations: 8 kB / 0.4958 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.1994, allocations: 63.91 kB / 0.4959 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1994, allocations: 0 / 0.4959 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1996, allocations: 27.78 kB / 0.4959 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1997, allocations: 15.98 kB / 0.4959 GB, free: 5.145 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.0001618/0.1998, allocations: 201.5 kB / 0.4961 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.1999, allocations: 51.28 kB / 0.4962 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.2, allocations: 56.7 kB / 0.4962 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2, allocations: 4 kB / 0.4962 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2001, allocations: 3.984 kB / 0.4962 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2001, allocations: 0 / 0.4962 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.2006, allocations: 465.1 kB / 0.4967 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2006, allocations: 0 / 0.4967 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.2009, allocations: 51.97 kB / 0.4967 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2009, allocations: 0 / 0.4967 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.2009, allocations: 7.984 kB / 0.4967 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2009, allocations: 7.938 kB / 0.4967 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2009, allocations: 8 kB / 0.4967 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.2019, allocations: 0.5427 MB / 0.4973 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.202, allocations: 148.5 kB / 0.4974 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.2021, allocations: 4 kB / 0.4974 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2023, allocations: 23.98 kB / 0.4974 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.2024, allocations: 11.98 kB / 0.4975 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.2024, allocations: 11.98 kB / 0.4975 GB, free: 3.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002873/0.2027, allocations: 283.1 kB / 0.4977 GB, free: 3.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2027, allocations: 0 / 0.4977 GB, free: 3.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000499/0.2032, allocations: 139.4 kB / 0.4979 GB, free: 3.059 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.0001326/0.2033, allocations: 111.1 kB / 0.498 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.2042, allocations: 419.5 kB / 0.4984 GB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2042, allocations: 0 / 0.4984 GB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.2045, allocations: 140.7 kB / 0.4985 GB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.2052, allocations: 123.4 kB / 0.4986 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2068, allocations: 0.8371 MB / 0.4994 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.2072, allocations: 0.8308 MB / 0.5003 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2073, allocations: 35.44 kB / 0.5003 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2073, allocations: 4 kB / 0.5003 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of Templates: time 0.2281/0.4355, allocations: 5.315 MB / 0.5055 GB, free: 21.11 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)