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.001252/0.001252, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001492/0.001492, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.239/0.239, allocations: 22.33 MB / 313.3 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.000355, allocations: 15.98 kB / 381.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3556, allocations: 55.97 MB / 437.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002766/0.3585, allocations: 2.519 MB / 440.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3603, allocations: 0.9645 MB / 441.3 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.3606, allocations: 19.38 kB / 441.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.3607, allocations: 33.52 kB / 441.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.3613, allocations: 129.3 kB / 441.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.3618, allocations: 257.5 kB / 441.7 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.3624, allocations: 360.9 kB / 442.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.3627, allocations: 164.4 kB / 442.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3629, allocations: 135.8 kB / 442.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3631, allocations: 149.6 kB / 442.5 MB, free: 36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.3631, allocations: 11.75 kB / 442.5 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.714e-05/0.3632, allocations: 15.69 kB / 442.5 MB, free: 36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.3632, allocations: 60.14 kB / 442.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.3633, allocations: 97.92 kB / 442.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3636, allocations: 376.3 kB / 443.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3636, allocations: 0 / 443.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.3636, allocations: 0 / 443.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3636, allocations: 3.938 kB / 443.1 MB, free: 35.78 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.001003/0.3646, allocations: 0.7291 MB / 443.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3647, allocations: 14.38 kB / 443.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.3648, allocations: 60.53 kB / 443.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.3652, allocations: 388.9 kB / 444.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.3652, allocations: 27.34 kB / 444.3 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.3653, allocations: 37.56 kB / 444.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.3659, allocations: 428.2 kB / 444.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3659, allocations: 0 / 444.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.366, allocations: 19.7 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.366, allocations: 9.094 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.3665, allocations: 298.7 kB / 445 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.3683, allocations: 1.551 MB / 446.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.3691, allocations: 387.5 kB / 447 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3691, allocations: 2.953 kB / 447 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3691, allocations: 41.64 kB / 447 MB, free: 33.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.3691, allocations: 0 / 447 MB, free: 33.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008038/0.37, allocations: 425.2 kB / 447.4 MB, free: 33.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.37, allocations: 112.8 kB / 447.5 MB, free: 32.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3703, allocations: 406 kB / 447.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3704, allocations: 36.73 kB / 448 MB, free: 32.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3705, allocations: 260.5 kB / 448.2 MB, free: 32.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.3706, allocations: 105.4 kB / 448.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.3706, allocations: 7 kB / 448.3 MB, free: 32.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.3707, allocations: 360.6 kB / 448.7 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.3709, allocations: 114.5 kB / 448.8 MB, free: 32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.3712, allocations: 195.3 kB / 449 MB, free: 31.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.3715, allocations: 147.2 kB / 449.1 MB, free: 31.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3715, allocations: 0 / 449.1 MB, free: 31.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000595/0.3721, allocations: 389.4 kB / 449.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.3722, allocations: 0.7028 MB / 450.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.3723, allocations: 1.969 kB / 450.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3723, allocations: 6.75 kB / 450.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.3726, allocations: 76.7 kB / 450.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3726, allocations: 5.094 kB / 450.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3728, allocations: 45.34 kB / 450.3 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3728, allocations: 18.3 kB / 450.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.3729, allocations: 2.781 kB / 450.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003541/0.3732, allocations: 266.8 kB / 450.6 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.3732, allocations: 2.219 kB / 450.6 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-06/0.3732, allocations: 2.156 kB / 450.6 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.3735, allocations: 60.09 kB / 450.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3735, allocations: 2.688 kB / 450.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3736, allocations: 26.78 kB / 450.7 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3737, allocations: 15.58 kB / 450.7 MB, free: 30.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002638/0.3739, allocations: 256.9 kB / 451 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.374, allocations: 47.72 kB / 451 MB, free: 30.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.3741, allocations: 52.41 kB / 451.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3741, allocations: 2.625 kB / 451.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3741, allocations: 0 / 451.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3741, allocations: 3.328 kB / 451.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.3745, allocations: 458.6 kB / 451.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3745, allocations: 0 / 451.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.3748, allocations: 65.23 kB / 451.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3748, allocations: 3.188 kB / 451.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.3748, allocations: 6.875 kB / 451.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3748, allocations: 2.625 kB / 451.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3749, allocations: 0 / 451.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.3757, allocations: 0.5788 MB / 452.2 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3758, allocations: 143.5 kB / 452.3 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.3759, allocations: 6.719 kB / 452.3 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3761, allocations: 26.05 kB / 452.4 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.3761, allocations: 13.27 kB / 452.4 MB, free: 29.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3762, allocations: 9.812 kB / 452.4 MB, free: 29.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.3764, allocations: 278.3 kB / 452.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3764, allocations: 4 kB / 452.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004624/0.3769, allocations: 144.9 kB / 452.8 MB, free: 29.44 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 (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.0001022/0.377, allocations: 104.7 kB / 452.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.3777, allocations: 425.7 kB / 453.3 MB, free: 29.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3777, allocations: 3.938 kB / 453.3 MB, free: 29.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.3779, allocations: 149 kB / 453.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3785, allocations: 105.8 kB / 453.6 MB, free: 29.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3797, allocations: 0.9542 MB / 454.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.3799, allocations: 0.848 MB / 455.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.3801, allocations: 42.05 kB / 455.4 MB, free: 27.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.3802, allocations: 31.77 kB / 455.5 MB, free: 27.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3802, allocations: 0 / 455.5 MB, free: 27.81 MB / 350.1 MB Notification: Performance of Templates: time 0.007529/0.3878, allocations: 4.02 MB / 459.5 MB, free: 27.52 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: