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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.1176/0.1176, allocations: 17.68 MB / 33.63 MB, free: 1.781 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 180.4 kB / 38.92 MB, free: 4 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 249.5 MB, free: 2.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008635/0.0008636, allocations: 113 kB / 302.2 MB, free: 4.398 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004368, allocations: 12 kB / 366.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 51.98 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3736, allocations: 81.11 MB / 0.4883 GB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.3739, allocations: 75.95 kB / 0.4884 GB, free: 7.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2169/0.5908, allocations: 8.447 MB / 0.4966 GB, free: 80.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5909, allocations: 1.969 kB / 0.4966 GB, free: 80.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.385e-05/0.5909, allocations: 17.25 kB / 0.4967 GB, free: 80.32 MB / 362.7 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.001159/0.5921, allocations: 0.7596 MB / 0.4974 GB, free: 79.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5921, allocations: 9.656 kB / 0.4974 GB, free: 79.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.5923, allocations: 62.38 kB / 0.4975 GB, free: 79.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.5929, allocations: 447 kB / 0.4979 GB, free: 79.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.5929, allocations: 27 kB / 0.4979 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.593, allocations: 38.03 kB / 0.498 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.5938, allocations: 429.9 kB / 0.4984 GB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.5938, allocations: 1.156 kB / 0.4984 GB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.5938, allocations: 19.59 kB / 0.4984 GB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.5938, allocations: 8.5 kB / 0.4984 GB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006076/0.5945, allocations: 301.4 kB / 0.4987 GB, free: 79.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.5965, allocations: 1.557 MB / 0.5002 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.5973, allocations: 371.3 kB / 0.5006 GB, free: 78.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.5977, allocations: 148.2 kB / 0.5007 GB, free: 78.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.5977, allocations: 4.312 kB / 0.5007 GB, free: 78.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5977, allocations: 41.69 kB / 0.5007 GB, free: 78.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.5978, allocations: 0 / 0.5007 GB, free: 78.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001049/0.5988, allocations: 432.6 kB / 0.5012 GB, free: 78.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.5989, allocations: 114.6 kB / 0.5013 GB, free: 78.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006581/0.5995, allocations: 419.6 kB / 0.5017 GB, free: 78.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.5996, allocations: 29.7 kB / 0.5017 GB, free: 78.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.5998, allocations: 264.2 kB / 0.5019 GB, free: 77.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.5999, allocations: 103.2 kB / 0.502 GB, free: 77.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.5999, allocations: 11.56 kB / 0.5021 GB, free: 77.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6, allocations: 359.6 kB / 0.5024 GB, free: 77.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.6003, allocations: 114.8 kB / 0.5025 GB, free: 77.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.6006, allocations: 199.3 kB / 0.5027 GB, free: 77.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.6021, allocations: 0.5808 MB / 0.5033 GB, free: 77.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6021, allocations: 1.062 kB / 0.5033 GB, free: 77.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000667/0.6028, allocations: 411.4 kB / 0.5037 GB, free: 76.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/0.6029, allocations: 143.6 kB / 0.5038 GB, free: 76.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6029, allocations: 1.312 kB / 0.5038 GB, free: 76.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.6029, allocations: 3.938 kB / 0.5038 GB, free: 76.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.6033, allocations: 76.11 kB / 0.5039 GB, free: 76.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.6034, allocations: 8.062 kB / 0.5039 GB, free: 76.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.6036, allocations: 41.69 kB / 0.5039 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.6036, allocations: 8.969 kB / 0.5039 GB, free: 76.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.375e-06/0.6036, allocations: 4.125 kB / 0.5039 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004414/0.6041, allocations: 261.8 kB / 0.5042 GB, free: 76.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6041, allocations: 3.156 kB / 0.5042 GB, free: 76.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.6041, allocations: 9.828 kB / 0.5042 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.6044, allocations: 59.03 kB / 0.5042 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.6044, allocations: 9.984 kB / 0.5043 GB, free: 76.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6045, allocations: 25.69 kB / 0.5043 GB, free: 76.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.6046, allocations: 8.75 kB / 0.5043 GB, free: 76.57 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.6049, allocations: 250.2 kB / 0.5045 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.605, allocations: 50.44 kB / 0.5046 GB, free: 76.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.6051, allocations: 59.97 kB / 0.5046 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6051, allocations: 2.188 kB / 0.5046 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6051, allocations: 5.125 kB / 0.5046 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6051, allocations: 0 / 0.5046 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.6057, allocations: 460.5 kB / 0.5051 GB, free: 75.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6057, allocations: 0.5312 kB / 0.5051 GB, free: 75.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.606, allocations: 62.55 kB / 0.5051 GB, free: 75.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.606, allocations: 12.44 kB / 0.5052 GB, free: 75.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.6061, allocations: 10.03 kB / 0.5052 GB, free: 75.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.6061, allocations: 1.062 kB / 0.5052 GB, free: 75.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6061, allocations: 4.5 kB / 0.5052 GB, free: 75.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6072, allocations: 0.5697 MB / 0.5057 GB, free: 75.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.6073, allocations: 151.1 kB / 0.5059 GB, free: 75.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.6074, allocations: 9.406 kB / 0.5059 GB, free: 75.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.6076, allocations: 28.19 kB / 0.5059 GB, free: 75.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.6076, allocations: 14.16 kB / 0.5059 GB, free: 75.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.6077, allocations: 12.25 kB / 0.5059 GB, free: 75.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002916/0.608, allocations: 289.6 kB / 0.5062 GB, free: 75.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.608, allocations: 0 / 0.5062 GB, free: 75.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005492/0.6085, allocations: 147.9 kB / 0.5063 GB, free: 75.29 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.6087, allocations: 111.7 kB / 0.5065 GB, free: 75.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007155/0.6094, allocations: 437.9 kB / 0.5069 GB, free: 75.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6094, allocations: 0 / 0.5069 GB, free: 75.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.6096, allocations: 140.9 kB / 0.507 GB, free: 75.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.6103, allocations: 107.6 kB / 0.5071 GB, free: 74.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.6116, allocations: 0.967 MB / 0.5081 GB, free: 74.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.6119, allocations: 0.8342 MB / 0.5089 GB, free: 73.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.6121, allocations: 49.23 kB / 0.5089 GB, free: 73.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.6122, allocations: 31.42 kB / 0.5089 GB, free: 73.66 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6122, allocations: 4 kB / 0.5089 GB, free: 73.65 MB / 362.7 MB Notification: Performance of Templates: time 0.00763/0.6198, allocations: 4.155 MB / 0.513 GB, free: 72.78 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)