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.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001246/0.001246, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2149/0.2149, allocations: 22.36 MB / 312.3 MB, free: 12.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 380.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2921, allocations: 54.94 MB / 435 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003852/0.2959, allocations: 3.047 MB / 438.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.2974, allocations: 1.012 MB / 439.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.2977, allocations: 17.91 kB / 439.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.2979, allocations: 58.34 kB / 439.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.2981, allocations: 69.75 kB / 439.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.2987, allocations: 293.9 kB / 439.5 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.2991, allocations: 0.5132 MB / 440 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.2994, allocations: 219.9 kB / 440.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2995, allocations: 167 kB / 440.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2997, allocations: 199.8 kB / 440.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.2997, allocations: 25.88 kB / 440.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.2998, allocations: 22.12 kB / 440.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.2998, allocations: 77.75 kB / 440.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3, allocations: 213.7 kB / 440.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.3003, allocations: 492.4 kB / 441.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3003, allocations: 0 / 441.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.3003, allocations: 0 / 441.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3003, allocations: 0 / 441.4 MB, free: 35.5 MB / 350.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.0009604/0.3013, allocations: 0.8203 MB / 442.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3013, allocations: 14.97 kB / 442.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.3014, allocations: 62.44 kB / 442.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.3018, allocations: 416.2 kB / 442.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.3018, allocations: 27.59 kB / 442.8 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.3019, allocations: 38.44 kB / 442.8 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.3025, allocations: 421.3 kB / 443.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3025, allocations: 7.312 kB / 443.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3025, allocations: 14.91 kB / 443.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3026, allocations: 10.25 kB / 443.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.3031, allocations: 288.1 kB / 443.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.3045, allocations: 1.534 MB / 445.1 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.3052, allocations: 342.2 kB / 445.4 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3054, allocations: 139.2 kB / 445.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.3055, allocations: 6.516 kB / 445.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3055, allocations: 34.8 kB / 445.6 MB, free: 32.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.3055, allocations: 0 / 445.6 MB, free: 32.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007682/0.3063, allocations: 410.4 kB / 446 MB, free: 32.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3063, allocations: 105.6 kB / 446.1 MB, free: 32.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.3066, allocations: 410.2 kB / 446.5 MB, free: 32.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3067, allocations: 32.64 kB / 446.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3068, allocations: 266.6 kB / 446.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.3069, allocations: 96.34 kB / 446.9 MB, free: 31.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.307, allocations: 66.38 kB / 446.9 MB, free: 31.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.3071, allocations: 355.5 kB / 447.3 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.3073, allocations: 118.4 kB / 447.4 MB, free: 31.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.3075, allocations: 195.1 kB / 447.6 MB, free: 31.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.3089, allocations: 0.5343 MB / 448.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3089, allocations: 0 / 448.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006794/0.3096, allocations: 382.2 kB / 448.5 MB, free: 30.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3097, allocations: 10.97 kB / 448.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3097, allocations: 2.594 kB / 448.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.3097, allocations: 7.688 kB / 448.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.31, allocations: 66.53 kB / 448.6 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.31, allocations: 7.062 kB / 448.6 MB, free: 30.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3102, allocations: 47.2 kB / 448.6 MB, free: 30.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3103, allocations: 7.906 kB / 448.6 MB, free: 30.95 MB / 350.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.0004584/0.3107, allocations: 220.9 kB / 448.8 MB, free: 30.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001896/0.3109, allocations: 157.7 kB / 449 MB, free: 30.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001028/0.312, allocations: 470.5 kB / 449.5 MB, free: 30.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.604e-06/0.312, allocations: 6.609 kB / 449.5 MB, free: 30.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004087/0.3124, allocations: 326.7 kB / 449.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.3124, allocations: 9.25 kB / 449.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.3124, allocations: 2.625 kB / 449.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/0.3124, allocations: 6.047 kB / 449.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.3126, allocations: 60.09 kB / 449.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3126, allocations: 9.859 kB / 449.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.3128, allocations: 22.25 kB / 449.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3128, allocations: 11.88 kB / 449.9 MB, free: 30.25 MB / 350.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 9.905e-05/0.3129, allocations: 207.7 kB / 450.1 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.313, allocations: 59.75 kB / 450.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.3131, allocations: 49.33 kB / 450.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3131, allocations: 2.625 kB / 450.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3131, allocations: 3.281 kB / 450.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3131, allocations: 6.562 kB / 450.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.3135, allocations: 460.8 kB / 450.7 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3136, allocations: 7.406 kB / 450.7 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.3138, allocations: 52.33 kB / 450.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3139, allocations: 6.625 kB / 450.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.3139, allocations: 4 kB / 450.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3139, allocations: 2.625 kB / 450.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3139, allocations: 0 / 450.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.3146, allocations: 0.5515 MB / 451.3 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3148, allocations: 142 kB / 451.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.3148, allocations: 10.28 kB / 451.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.315, allocations: 16.53 kB / 451.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3151, allocations: 15.08 kB / 451.5 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3151, allocations: 9.562 kB / 451.5 MB, free: 29.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.3153, allocations: 286 kB / 451.8 MB, free: 29.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3153, allocations: 0 / 451.8 MB, free: 29.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.3158, allocations: 143.6 kB / 451.9 MB, free: 29.02 MB / 350.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.212e-05/0.3159, allocations: 107.2 kB / 452 MB, free: 28.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006489/0.3166, allocations: 420.3 kB / 452.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3166, allocations: 8.188 kB / 452.4 MB, free: 28.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3168, allocations: 130.4 kB / 452.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.3174, allocations: 112.7 kB / 452.7 MB, free: 28.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.3185, allocations: 0.991 MB / 453.7 MB, free: 28.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.3188, allocations: 0.8342 MB / 454.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.319, allocations: 42.08 kB / 454.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.319, allocations: 29 kB / 454.6 MB, free: 27.33 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3191, allocations: 0 / 454.6 MB, free: 27.33 MB / 350.1 MB Notification: Performance of Templates: time 0.007703/0.3268, allocations: 4.207 MB / 458.8 MB, free: 27.03 MB / 350.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)