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.007003/0.007003, allocations: 103.3 kB / 15.7 MB, free: 6.359 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.00185/0.00185, allocations: 196.2 kB / 16.64 MB, free: 6.297 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.401/1.401, allocations: 222.9 MB / 240.3 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2044/0.2044, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002326, allocations: 65.47 kB / 437 MB, free: 33.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1388, allocations: 54.97 MB / 492 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003951/0.1428, allocations: 3.018 MB / 495 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1447, allocations: 1.032 MB / 496 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.1449, allocations: 19.94 kB / 496.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1452, allocations: 83.06 kB / 496.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1454, allocations: 87.06 kB / 496.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.1461, allocations: 322.6 kB / 496.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005106/0.1466, allocations: 0.5505 MB / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.147, allocations: 235 kB / 497.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.1472, allocations: 195 kB / 497.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1474, allocations: 206.8 kB / 497.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.1475, allocations: 44 kB / 497.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.524e-05/0.1475, allocations: 48 kB / 497.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.1476, allocations: 107.5 kB / 497.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.1478, allocations: 230.6 kB / 498.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.1483, allocations: 0.5447 MB / 498.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1483, allocations: 0 / 498.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1483, allocations: 4 kB / 498.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1483, allocations: 0 / 498.7 MB, free: 10.52 MB / 366.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.001112/0.1494, allocations: 0.8102 MB / 499.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1495, allocations: 8.031 kB / 499.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.1496, allocations: 64.19 kB / 499.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.1502, allocations: 429.7 kB / 500 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1502, allocations: 29.38 kB / 0.4883 GB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.1503, allocations: 44.25 kB / 0.4883 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.1509, allocations: 419.8 kB / 0.4887 GB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1509, allocations: 4 kB / 0.4887 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.151, allocations: 12 kB / 0.4887 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.151, allocations: 12 kB / 0.4888 GB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.1516, allocations: 290.4 kB / 0.489 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1534, allocations: 1.523 MB / 0.4905 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.1541, allocations: 350.3 kB / 0.4909 GB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.1544, allocations: 137.2 kB / 0.491 GB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1544, allocations: 240 / 0.491 GB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1545, allocations: 46.78 kB / 0.491 GB, free: 6.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.1545, allocations: 0 / 0.491 GB, free: 6.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008655/0.1553, allocations: 408.2 kB / 0.4914 GB, free: 5.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.1554, allocations: 102.8 kB / 0.4915 GB, free: 5.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.1558, allocations: 417.8 kB / 0.4919 GB, free: 5.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1558, allocations: 33.7 kB / 0.4919 GB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.156, allocations: 260.2 kB / 0.4922 GB, free: 4.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.1561, allocations: 103.1 kB / 0.4923 GB, free: 4.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.1562, allocations: 66.02 kB / 0.4924 GB, free: 4.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1563, allocations: 358.8 kB / 0.4927 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.1566, allocations: 110.1 kB / 0.4928 GB, free: 4.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.1569, allocations: 193.8 kB / 0.493 GB, free: 4.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.1583, allocations: 0.5332 MB / 0.4935 GB, free: 3.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1583, allocations: 0 / 0.4935 GB, free: 3.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006583/0.159, allocations: 390.3 kB / 0.4939 GB, free: 3.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.159, allocations: 4 kB / 0.4939 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.159, allocations: 4 kB / 0.4939 GB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.159, allocations: 4 kB / 0.4939 GB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.1593, allocations: 72.11 kB / 0.494 GB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1594, allocations: 4 kB / 0.494 GB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.1596, allocations: 43.67 kB / 0.494 GB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1596, allocations: 8 kB / 0.494 GB, free: 2.98 MB / 366.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.0003377/0.1599, allocations: 216.8 kB / 0.4942 GB, free: 2.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002081/0.1602, allocations: 168.4 kB / 0.4944 GB, free: 2.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.1612, allocations: 471.3 kB / 0.4948 GB, free: 2.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.1612, allocations: 0 / 0.4948 GB, free: 2.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004677/0.1617, allocations: 328.7 kB / 0.4951 GB, free: 1.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1617, allocations: 11.94 kB / 0.4952 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.1617, allocations: 0 / 0.4952 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.1617, allocations: 4 kB / 0.4952 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.162, allocations: 68.06 kB / 0.4952 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.162, allocations: 8 kB / 0.4952 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.1622, allocations: 19.84 kB / 0.4952 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.1622, allocations: 16 kB / 0.4953 GB, free: 1.633 MB / 366.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.0001734/0.1624, allocations: 205.4 kB / 0.4955 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.1625, allocations: 55.38 kB / 0.4955 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1626, allocations: 48.7 kB / 0.4956 GB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1626, allocations: 4 kB / 0.4956 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1626, allocations: 4 kB / 0.4956 GB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1626, allocations: 3.984 kB / 0.4956 GB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1631, allocations: 461.1 kB / 0.496 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1631, allocations: 0 / 0.496 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.1634, allocations: 55.91 kB / 0.4961 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1634, allocations: 0 / 0.4961 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1635, allocations: 8 kB / 0.4961 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1635, allocations: 0 / 0.4961 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1635, allocations: 0 / 0.4961 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.1644, allocations: 0.5515 MB / 0.4966 GB, free: 184 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1645, allocations: 144.5 kB / 0.4967 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1646, allocations: 8 kB / 0.4968 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1648, allocations: 16.05 kB / 0.4968 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1649, allocations: 15.98 kB / 0.4968 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1649, allocations: 7.938 kB / 0.4968 GB, free: 15.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.1651, allocations: 283.1 kB / 0.4971 GB, free: 15.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1652, allocations: 0 / 0.4971 GB, free: 15.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004741/0.1656, allocations: 143.4 kB / 0.4972 GB, free: 15.55 MB / 382.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 0.0001117/0.1657, allocations: 107.2 kB / 0.4973 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000804/0.1666, allocations: 424.6 kB / 0.4977 GB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1666, allocations: 0 / 0.4977 GB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.1668, allocations: 132.8 kB / 0.4978 GB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.1675, allocations: 137.4 kB / 0.498 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1689, allocations: 0.8043 MB / 0.4988 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1693, allocations: 0.8308 MB / 0.4996 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.1696, allocations: 55.25 kB / 0.4996 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.1697, allocations: 27.44 kB / 0.4996 GB, free: 12.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1697, allocations: 0 / 0.4996 GB, free: 12.99 MB / 382.1 MB Notification: Performance of Templates: time 0.009868/0.1795, allocations: 4.429 MB / 0.504 GB, free: 8.617 MB / 382.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)