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.0009189/0.0009189, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.306/1.306, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2025/0.2025, allocations: 22.34 MB / 314.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002998, allocations: 8 kB / 383.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2496, allocations: 55.98 MB / 439.2 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002243/0.2519, allocations: 2.648 MB / 441.9 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2532, allocations: 0.9902 MB / 442.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.2534, allocations: 23.12 kB / 442.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2536, allocations: 65.23 kB / 443 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.2538, allocations: 62.12 kB / 443 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.2543, allocations: 287.7 kB / 443.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.2547, allocations: 0.5143 MB / 443.8 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.255, allocations: 218.5 kB / 444 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2551, allocations: 138.7 kB / 444.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2552, allocations: 157.2 kB / 444.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.2553, allocations: 8.938 kB / 444.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.13e-05/0.2553, allocations: 11.31 kB / 444.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.2554, allocations: 70.48 kB / 444.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2555, allocations: 212.2 kB / 444.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2557, allocations: 380.6 kB / 445 MB, free: 35.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2557, allocations: 0 / 445 MB, free: 35.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2557, allocations: 6.5 kB / 445 MB, free: 35.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2557, allocations: 0 / 445 MB, free: 35.54 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.0008391/0.2566, allocations: 0.7313 MB / 445.7 MB, free: 34.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2566, allocations: 14.31 kB / 445.7 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.2567, allocations: 64.03 kB / 445.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.2571, allocations: 407.9 kB / 446.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2571, allocations: 24.75 kB / 446.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.2572, allocations: 39 kB / 446.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.2578, allocations: 435.9 kB / 446.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2578, allocations: 0 / 446.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.2578, allocations: 19.59 kB / 446.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2578, allocations: 9 kB / 446.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.2584, allocations: 298.2 kB / 447 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.2599, allocations: 1.552 MB / 448.6 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.2606, allocations: 383.8 kB / 448.9 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.2608, allocations: 150.9 kB / 449.1 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.2608, allocations: 9.984 kB / 449.1 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.2609, allocations: 30.8 kB / 449.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.2609, allocations: 0 / 449.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007861/0.2617, allocations: 428.8 kB / 449.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2617, allocations: 110.8 kB / 449.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.262, allocations: 407.2 kB / 450 MB, free: 32.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2621, allocations: 39.62 kB / 450.1 MB, free: 32.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.2622, allocations: 259.9 kB / 450.3 MB, free: 32.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.2622, allocations: 105 kB / 450.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.2623, allocations: 37.52 kB / 450.5 MB, free: 32.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.2624, allocations: 358.6 kB / 450.8 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.2626, allocations: 116.8 kB / 450.9 MB, free: 31.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.2629, allocations: 200.2 kB / 451.1 MB, free: 31.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.2642, allocations: 0.5496 MB / 451.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2642, allocations: 2.812 kB / 451.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006194/0.2648, allocations: 400.7 kB / 452.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.2649, allocations: 148.7 kB / 452.2 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2649, allocations: 0 / 452.2 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2649, allocations: 5.188 kB / 452.2 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2652, allocations: 74.67 kB / 452.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.2652, allocations: 2.562 kB / 452.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.2654, allocations: 46.88 kB / 452.3 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2655, allocations: 17.62 kB / 452.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/0.2655, allocations: 5.062 kB / 452.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003614/0.2658, allocations: 260.2 kB / 452.6 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2658, allocations: 8.156 kB / 452.6 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.2659, allocations: 5.25 kB / 452.6 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2661, allocations: 57.47 kB / 452.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2661, allocations: 11.36 kB / 452.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2663, allocations: 34.19 kB / 452.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.2663, allocations: 9.312 kB / 452.7 MB, free: 30.73 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.0002214/0.2665, allocations: 242.1 kB / 453 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.2666, allocations: 52.38 kB / 453 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.489e-05/0.2667, allocations: 54.67 kB / 453.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2667, allocations: 2.625 kB / 453.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2667, allocations: 0 / 453.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2667, allocations: 0 / 453.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.2671, allocations: 456.4 kB / 453.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2671, allocations: 0 / 453.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.2674, allocations: 62.69 kB / 453.6 MB, free: 30.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2674, allocations: 7.188 kB / 453.6 MB, free: 30.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2674, allocations: 8 kB / 453.6 MB, free: 30.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2674, allocations: 6.562 kB / 453.6 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2674, allocations: 0 / 453.6 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.2682, allocations: 0.5665 MB / 454.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.2684, allocations: 150.4 kB / 454.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.2684, allocations: 6.75 kB / 454.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2686, allocations: 28.45 kB / 454.4 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.2687, allocations: 19.69 kB / 454.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.2687, allocations: 3.594 kB / 454.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.2689, allocations: 283.8 kB / 454.7 MB, free: 29.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2689, allocations: 3.938 kB / 454.7 MB, free: 29.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.2694, allocations: 140.5 kB / 454.8 MB, free: 29.48 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 8.525e-05/0.2695, allocations: 108 kB / 454.9 MB, free: 29.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.2702, allocations: 440.1 kB / 455.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2702, allocations: 0 / 455.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.2705, allocations: 140.2 kB / 455.5 MB, free: 29.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.2711, allocations: 121.8 kB / 455.6 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2723, allocations: 1.047 MB / 456.6 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.2726, allocations: 0.8344 MB / 457.5 MB, free: 27.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2727, allocations: 30.12 kB / 457.5 MB, free: 27.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2727, allocations: 0 / 457.5 MB, free: 27.77 MB / 350.1 MB Notification: Performance of Templates: time 0.007139/0.2798, allocations: 5.212 MB / 462.7 MB, free: 27.28 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)