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.001193/0.001193, allocations: 108.4 kB / 15.99 MB, free: 6.348 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.001279/0.001279, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.225/1.225, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08498/0.08498, allocations: 22.32 MB / 313.1 MB, free: 9.047 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.84 kB / 380.9 MB, free: 41.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.08267, allocations: 54.96 MB / 435.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.00382/0.08653, allocations: 3.044 MB / 438.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.08812, allocations: 1.009 MB / 439.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.08836, allocations: 15.94 kB / 439.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.08859, allocations: 67.38 kB / 440 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.0888, allocations: 63.41 kB / 440.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.08938, allocations: 283.1 kB / 440.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.08989, allocations: 0.5506 MB / 440.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.09022, allocations: 239 kB / 441.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.0904, allocations: 191 kB / 441.3 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.09058, allocations: 198.8 kB / 441.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.09065, allocations: 44 kB / 441.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.09071, allocations: 48 kB / 441.6 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.09079, allocations: 111.5 kB / 441.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.09095, allocations: 234.6 kB / 441.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.09129, allocations: 403.5 kB / 442.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.0913, allocations: 4 kB / 442.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.756e-06/0.09131, allocations: 3.938 kB / 442.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.09132, allocations: 3.938 kB / 442.3 MB, free: 6.957 MB / 318.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.001042/0.09237, allocations: 0.8102 MB / 443.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.09241, allocations: 8.031 kB / 443.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.09251, allocations: 64.19 kB / 443.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.09294, allocations: 409.7 kB / 443.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.09298, allocations: 29.38 kB / 443.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.09304, allocations: 36.38 kB / 443.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.09369, allocations: 431.6 kB / 444.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.09372, allocations: 4 kB / 444.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.09375, allocations: 16 kB / 444.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.09377, allocations: 8 kB / 444.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.09429, allocations: 282.4 kB / 444.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.09601, allocations: 1.542 MB / 445.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.09669, allocations: 347.3 kB / 446.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.09694, allocations: 137.2 kB / 446.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.09698, allocations: 4.234 kB / 446.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.09701, allocations: 34.8 kB / 446.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.09701, allocations: 4 kB / 446.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008034/0.09782, allocations: 413.3 kB / 446.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.09789, allocations: 106.8 kB / 447 MB, free: 2.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.09825, allocations: 406 kB / 447.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.09829, allocations: 29.7 kB / 447.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.09845, allocations: 268.1 kB / 447.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.09853, allocations: 99.19 kB / 447.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.09862, allocations: 62.02 kB / 447.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.09875, allocations: 354.8 kB / 448.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.09898, allocations: 114.1 kB / 448.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.09927, allocations: 197.8 kB / 448.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.1006, allocations: 0.5249 MB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1006, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006241/0.1012, allocations: 398 kB / 449.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1012, allocations: 8 kB / 449.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1013, allocations: 3.938 kB / 449.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1013, allocations: 4 kB / 449.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.1016, allocations: 72.12 kB / 449.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1016, allocations: 4 kB / 449.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1018, allocations: 39.67 kB / 449.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1018, allocations: 15.98 kB / 449.5 MB, free: 15.42 MB / 334.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.000359/0.1022, allocations: 212.4 kB / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001985/0.1024, allocations: 168.5 kB / 449.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009916/0.1034, allocations: 466.8 kB / 450.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.1034, allocations: 4 kB / 450.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004632/0.1039, allocations: 332.8 kB / 450.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.1039, allocations: 4 kB / 450.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1039, allocations: 7.938 kB / 450.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.1039, allocations: 4 kB / 450.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.1041, allocations: 59.86 kB / 450.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.1042, allocations: 8.219 kB / 450.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1043, allocations: 39.67 kB / 450.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1044, allocations: 8 kB / 450.8 MB, free: 14.07 MB / 334.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.0001377/0.1045, allocations: 201.5 kB / 451 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.1046, allocations: 47.38 kB / 451.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.444e-05/0.1047, allocations: 52.69 kB / 451.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1047, allocations: 4 kB / 451.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1047, allocations: 4 kB / 451.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1047, allocations: 0 / 451.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1052, allocations: 465.1 kB / 451.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1052, allocations: 0 / 451.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.1055, allocations: 59.91 kB / 451.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1055, allocations: 0 / 451.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1055, allocations: 7.984 kB / 451.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1055, allocations: 4 kB / 451.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1055, allocations: 0 / 451.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.1064, allocations: 0.5427 MB / 452.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.1065, allocations: 144.5 kB / 452.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.1066, allocations: 7.938 kB / 452.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.1068, allocations: 15.98 kB / 452.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1068, allocations: 23.97 kB / 452.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1068, allocations: 11.94 kB / 452.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.1071, allocations: 279.1 kB / 452.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1071, allocations: 4 kB / 452.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004449/0.1075, allocations: 143.4 kB / 452.8 MB, free: 11.99 MB / 334.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 9.928e-05/0.1077, allocations: 102.2 kB / 452.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007976/0.1085, allocations: 439.4 kB / 453.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1085, allocations: 0 / 453.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.1087, allocations: 136.7 kB / 453.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.1094, allocations: 142.2 kB / 453.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1107, allocations: 1.021 MB / 454.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1111, allocations: 0.8269 MB / 455.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1112, allocations: 31.44 kB / 455.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1112, allocations: 0 / 455.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of Templates: time 0.006965/0.1181, allocations: 5.282 MB / 460.8 MB, free: 3.984 MB / 334.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)