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.00127/0.00127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00147/0.00147, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2101/0.2101, allocations: 22.36 MB / 312.4 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.89 kB / 380.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.262, allocations: 54.94 MB / 435.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003324/0.2654, allocations: 3.045 MB / 438.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2669, allocations: 1.016 MB / 439.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.2671, allocations: 16.44 kB / 439.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.2674, allocations: 62.41 kB / 439.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2676, allocations: 62.22 kB / 439.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.2681, allocations: 287.5 kB / 439.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.2685, allocations: 0.5514 MB / 440.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.2688, allocations: 235.1 kB / 440.5 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.269, allocations: 186.6 kB / 440.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2692, allocations: 212.4 kB / 440.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.2692, allocations: 45.59 kB / 440.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.2693, allocations: 45.09 kB / 441 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.2693, allocations: 107.6 kB / 441.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2695, allocations: 234.5 kB / 441.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.2698, allocations: 0.5157 MB / 441.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2698, allocations: 6.125 kB / 441.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2698, allocations: 0 / 441.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.2698, allocations: 0 / 441.8 MB, free: 35.45 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.0009254/0.2708, allocations: 0.8177 MB / 442.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2708, allocations: 8.156 kB / 442.7 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.2709, allocations: 60.97 kB / 442.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2713, allocations: 411 kB / 443.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2713, allocations: 26.53 kB / 443.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.2714, allocations: 41.53 kB / 443.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.272, allocations: 425.2 kB / 443.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.272, allocations: 6.719 kB / 443.6 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.272, allocations: 19.44 kB / 443.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.272, allocations: 8.188 kB / 443.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.2725, allocations: 279.1 kB / 443.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.2741, allocations: 1.536 MB / 445.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.2748, allocations: 356.1 kB / 445.8 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.275, allocations: 142.4 kB / 445.9 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.2751, allocations: 3.078 kB / 445.9 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2751, allocations: 41.7 kB / 446 MB, free: 32.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.2751, allocations: 0 / 446 MB, free: 32.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007975/0.2759, allocations: 401.3 kB / 446.4 MB, free: 32.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.276, allocations: 105.6 kB / 446.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.2763, allocations: 412.2 kB / 446.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2763, allocations: 36.2 kB / 446.9 MB, free: 32.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.2765, allocations: 264.6 kB / 447.2 MB, free: 31.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.2765, allocations: 105.6 kB / 447.3 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.2766, allocations: 65.12 kB / 447.3 MB, free: 31.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.2767, allocations: 354 kB / 447.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.2769, allocations: 119.1 kB / 447.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.2772, allocations: 192.1 kB / 448 MB, free: 31.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.2785, allocations: 0.5302 MB / 448.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2785, allocations: 0 / 448.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005913/0.2791, allocations: 387.4 kB / 448.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2791, allocations: 5.562 kB / 448.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2792, allocations: 3.031 kB / 448.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2792, allocations: 3.75 kB / 448.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.2795, allocations: 74.7 kB / 449 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2795, allocations: 2.688 kB / 449 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.2797, allocations: 48.19 kB / 449 MB, free: 30.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2797, allocations: 10.03 kB / 449 MB, free: 30.89 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.0003776/0.2801, allocations: 213.5 kB / 449.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001623/0.2803, allocations: 166 kB / 449.4 MB, free: 30.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009384/0.2812, allocations: 468.3 kB / 449.9 MB, free: 30.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.005e-06/0.2813, allocations: 2.906 kB / 449.9 MB, free: 30.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004172/0.2817, allocations: 332.5 kB / 450.2 MB, free: 30.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.2817, allocations: 5.531 kB / 450.2 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.2817, allocations: 3.75 kB / 450.2 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/0.2817, allocations: 7.875 kB / 450.2 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.282, allocations: 59.98 kB / 450.3 MB, free: 30.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.282, allocations: 13.22 kB / 450.3 MB, free: 30.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2822, allocations: 26.91 kB / 450.3 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2822, allocations: 6.656 kB / 450.3 MB, free: 30.2 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 0.0001022/0.2823, allocations: 205.2 kB / 450.5 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.2824, allocations: 56.22 kB / 450.6 MB, free: 29.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/0.2824, allocations: 51.25 kB / 450.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2825, allocations: 2.75 kB / 450.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2825, allocations: 4 kB / 450.6 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2825, allocations: 0 / 450.6 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.2829, allocations: 465.2 kB / 451.1 MB, free: 29.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2829, allocations: 3.469 kB / 451.1 MB, free: 29.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.2832, allocations: 55.38 kB / 451.1 MB, free: 29.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2832, allocations: 7.75 kB / 451.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.2832, allocations: 4 kB / 451.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2832, allocations: 6.484 kB / 451.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2832, allocations: 0 / 451.1 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.284, allocations: 0.545 MB / 451.7 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2841, allocations: 144.9 kB / 451.8 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.2842, allocations: 6.625 kB / 451.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2844, allocations: 22.58 kB / 451.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.2844, allocations: 15.3 kB / 451.9 MB, free: 29.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2844, allocations: 5.625 kB / 451.9 MB, free: 29.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.2847, allocations: 287.6 kB / 452.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2847, allocations: 0 / 452.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004545/0.2851, allocations: 141.1 kB / 452.3 MB, free: 28.97 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.307e-05/0.2852, allocations: 101.2 kB / 452.4 MB, free: 28.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.286, allocations: 443.4 kB / 452.8 MB, free: 28.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.286, allocations: 0 / 452.8 MB, free: 28.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2862, allocations: 129.7 kB / 453 MB, free: 28.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.2869, allocations: 135.3 kB / 453.1 MB, free: 28.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.288, allocations: 0.9911 MB / 454.1 MB, free: 27.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2882, allocations: 0.8279 MB / 454.9 MB, free: 27.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.2885, allocations: 47.31 kB / 455 MB, free: 27.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.2886, allocations: 28.75 kB / 455 MB, free: 27.27 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2886, allocations: 4 kB / 455 MB, free: 27.26 MB / 350.1 MB Notification: Performance of Templates: time 0.008124/0.2967, allocations: 4.395 MB / 459.4 MB, free: 26.95 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)