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.001043/0.001043, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001386/0.001386, allocations: 172.7 kB / 15.95 MB, free: 208 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.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2515/0.2515, allocations: 22.33 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 12 kB / 381.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4077, allocations: 55.98 MB / 437.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003056/0.4109, allocations: 2.525 MB / 440.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.4125, allocations: 0.9719 MB / 441.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.4128, allocations: 18.34 kB / 441.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.413, allocations: 54.06 kB / 441.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.4132, allocations: 68.39 kB / 441.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.4138, allocations: 234 kB / 441.8 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.4143, allocations: 484.2 kB / 442.2 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.4147, allocations: 170.6 kB / 442.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.4148, allocations: 125 kB / 442.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.415, allocations: 157.4 kB / 442.7 MB, free: 36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.415, allocations: 14.12 kB / 442.7 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.14e-05/0.415, allocations: 13.06 kB / 442.7 MB, free: 36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.4151, allocations: 55.83 kB / 442.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.4152, allocations: 95.73 kB / 442.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.4155, allocations: 383.8 kB / 443.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4155, allocations: 0 / 443.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4155, allocations: 0 / 443.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4155, allocations: 0 / 443.2 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.0009031/0.4164, allocations: 0.7294 MB / 444 MB, free: 35.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4164, allocations: 14.59 kB / 444 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.4165, allocations: 60.66 kB / 444 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.417, allocations: 395.2 kB / 444.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.417, allocations: 24.97 kB / 444.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.4171, allocations: 37.56 kB / 444.5 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.4177, allocations: 424.7 kB / 444.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4178, allocations: 6.906 kB / 444.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4178, allocations: 22.89 kB / 444.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4178, allocations: 6.531 kB / 444.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.4183, allocations: 305.1 kB / 445.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.42, allocations: 1.546 MB / 446.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.4207, allocations: 379.1 kB / 447.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.421, allocations: 145 kB / 447.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.421, allocations: 7.703 kB / 447.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4211, allocations: 30.8 kB / 447.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.4211, allocations: 0 / 447.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008413/0.4219, allocations: 428.5 kB / 447.7 MB, free: 32.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.422, allocations: 114.8 kB / 447.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.4223, allocations: 410.2 kB / 448.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.4224, allocations: 32.55 kB / 448.3 MB, free: 32.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.4225, allocations: 261.1 kB / 448.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.4226, allocations: 104.7 kB / 448.6 MB, free: 32.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.4226, allocations: 4 kB / 448.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.4227, allocations: 359.2 kB / 449 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.4229, allocations: 116.5 kB / 449.1 MB, free: 31.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.4232, allocations: 197.5 kB / 449.3 MB, free: 31.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.4235, allocations: 137.1 kB / 449.4 MB, free: 31.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4235, allocations: 2.75 kB / 449.4 MB, free: 31.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005778/0.424, allocations: 389.9 kB / 449.8 MB, free: 31.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.4241, allocations: 139.7 kB / 450 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4241, allocations: 2.469 kB / 450 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4242, allocations: 2.75 kB / 450 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.4244, allocations: 84.34 kB / 450.1 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4245, allocations: 2.75 kB / 450.1 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.4247, allocations: 46.14 kB / 450.1 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.4247, allocations: 15.77 kB / 450.1 MB, free: 31.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-06/0.4247, allocations: 5.781 kB / 450.1 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003643/0.4251, allocations: 260.5 kB / 450.4 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.4251, allocations: 3.938 kB / 450.4 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.4251, allocations: 3.062 kB / 450.4 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4253, allocations: 63.17 kB / 450.4 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4253, allocations: 10.69 kB / 450.5 MB, free: 31.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.4255, allocations: 27.22 kB / 450.5 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.4255, allocations: 10.28 kB / 450.5 MB, free: 31.23 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.000256/0.4257, allocations: 248.1 kB / 450.7 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.4258, allocations: 54.59 kB / 450.8 MB, free: 30.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.624e-05/0.4259, allocations: 51.39 kB / 450.8 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4259, allocations: 1.938 kB / 450.8 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4259, allocations: 2.625 kB / 450.8 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4259, allocations: 3.422 kB / 450.8 MB, free: 30.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.4264, allocations: 459.5 kB / 451.3 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4264, allocations: 0 / 451.3 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.4266, allocations: 61.83 kB / 451.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4267, allocations: 3.25 kB / 451.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.4267, allocations: 7.094 kB / 451.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4267, allocations: 3.75 kB / 451.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4267, allocations: 0 / 451.4 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.4275, allocations: 0.5673 MB / 451.9 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4276, allocations: 153.4 kB / 452.1 MB, free: 30.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.4276, allocations: 10.62 kB / 452.1 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4278, allocations: 20.41 kB / 452.1 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4279, allocations: 17.69 kB / 452.1 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4279, allocations: 9.25 kB / 452.1 MB, free: 30.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.4281, allocations: 279.7 kB / 452.4 MB, free: 30.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4281, allocations: 0 / 452.4 MB, free: 30.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.4286, allocations: 149.5 kB / 452.6 MB, free: 29.96 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 9.401e-05/0.4287, allocations: 98.97 kB / 452.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.4294, allocations: 427.3 kB / 453.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4294, allocations: 0 / 453.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.4297, allocations: 145.3 kB / 453.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.4303, allocations: 114.9 kB / 453.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.4318, allocations: 0.9622 MB / 454.3 MB, free: 29.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4321, allocations: 0.8322 MB / 455.1 MB, free: 28.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.4324, allocations: 49.5 kB / 455.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.4325, allocations: 32.12 kB / 455.2 MB, free: 28.33 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4325, allocations: 0 / 455.2 MB, free: 28.33 MB / 350.1 MB Notification: Performance of Templates: time 0.008249/0.4407, allocations: 4.031 MB / 459.2 MB, free: 28.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)