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.001081/0.001081, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001013/0.001013, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.113/0.113, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 62.88 kB / 382.2 MB, free: 41.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1127, allocations: 54.97 MB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004191/0.117, allocations: 3.014 MB / 440.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1189, allocations: 1.036 MB / 441.3 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003436/0.1192, allocations: 15.94 kB / 441.3 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1195, allocations: 87.06 kB / 441.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1198, allocations: 87.08 kB / 441.4 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.1205, allocations: 314.7 kB / 441.7 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.1211, allocations: 0.5505 MB / 442.3 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.1215, allocations: 239 kB / 442.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1217, allocations: 183.1 kB / 442.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1219, allocations: 206.8 kB / 442.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.122, allocations: 48 kB / 443 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.261e-05/0.1221, allocations: 44 kB / 443 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.1221, allocations: 107.5 kB / 443.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1223, allocations: 230.6 kB / 443.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.1228, allocations: 0.5486 MB / 443.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1228, allocations: 0 / 443.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1228, allocations: 4 kB / 443.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1228, allocations: 0 / 443.9 MB, free: 5.535 MB / 318.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.001201/0.1241, allocations: 0.818 MB / 444.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1241, allocations: 8.031 kB / 444.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1242, allocations: 60.19 kB / 444.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.1248, allocations: 433.7 kB / 445.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.1249, allocations: 29.38 kB / 445.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.1249, allocations: 40.31 kB / 445.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.1256, allocations: 427.7 kB / 445.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1256, allocations: 0 / 445.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.1257, allocations: 16 kB / 445.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1257, allocations: 8 kB / 445.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.1263, allocations: 286.4 kB / 446 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.1282, allocations: 1.535 MB / 447.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.1289, allocations: 339.3 kB / 447.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.1292, allocations: 141.2 kB / 448 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.1293, allocations: 8.234 kB / 448 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1293, allocations: 34.8 kB / 448 MB, free: 1.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 1.502e-06/0.1293, allocations: 4 kB / 448 MB, free: 1.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.000878/0.1302, allocations: 409 kB / 448.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.1303, allocations: 114.8 kB / 448.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.1307, allocations: 402 kB / 448.9 MB, free: 236 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.1307, allocations: 33.7 kB / 449 MB, free: 196 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1309, allocations: 264.2 kB / 449.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.131, allocations: 99.17 kB / 449.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1311, allocations: 70.02 kB / 449.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1313, allocations: 350.8 kB / 449.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1315, allocations: 118.1 kB / 449.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.1318, allocations: 193.7 kB / 450 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.1332, allocations: 0.5332 MB / 450.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1332, allocations: 4 kB / 450.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007065/0.1339, allocations: 390.2 kB / 451 MB, free: 14.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.134, allocations: 8.219 kB / 451 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.134, allocations: 4 kB / 451 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.134, allocations: 4 kB / 451 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.1343, allocations: 67.91 kB / 451 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1343, allocations: 0 / 451 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.1346, allocations: 43.67 kB / 451.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.1346, allocations: 8 kB / 451.1 MB, free: 13.98 MB / 334.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.0003182/0.1349, allocations: 214 kB / 451.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002159/0.1352, allocations: 172.4 kB / 451.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.1362, allocations: 463.4 kB / 451.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.1362, allocations: 0 / 451.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005011/0.1368, allocations: 332.8 kB / 452.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.1368, allocations: 4.219 kB / 452.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1368, allocations: 8 kB / 452.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.1368, allocations: 7.938 kB / 452.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.137, allocations: 63.86 kB / 452.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1371, allocations: 4 kB / 452.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1373, allocations: 31.67 kB / 452.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1373, allocations: 12 kB / 452.4 MB, free: 12.62 MB / 334.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.0001394/0.1374, allocations: 197.5 kB / 452.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.1375, allocations: 51.38 kB / 452.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.1376, allocations: 60.67 kB / 452.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1376, allocations: 4 kB / 452.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1376, allocations: 0 / 452.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1376, allocations: 0 / 452.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.1381, allocations: 461.1 kB / 453.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1381, allocations: 0 / 453.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.1385, allocations: 55.91 kB / 453.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1385, allocations: 0 / 453.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.1385, allocations: 8 kB / 453.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1385, allocations: 8 kB / 453.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1385, allocations: 7.969 kB / 453.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008653/0.1394, allocations: 0.5465 MB / 453.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.1396, allocations: 144.5 kB / 453.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.1396, allocations: 12 kB / 453.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1398, allocations: 15.98 kB / 453.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.1399, allocations: 15.97 kB / 453.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1399, allocations: 8 kB / 453.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.1402, allocations: 283.1 kB / 454.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1402, allocations: 0 / 454.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.1407, allocations: 143.4 kB / 454.4 MB, free: 10.54 MB / 334.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.0001041/0.1408, allocations: 107.2 kB / 454.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008209/0.1416, allocations: 415.5 kB / 454.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1416, allocations: 4.875 kB / 454.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.1419, allocations: 140.1 kB / 455 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.1425, allocations: 127.7 kB / 455.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1439, allocations: 0.8082 MB / 455.9 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1443, allocations: 0.8308 MB / 456.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.1445, allocations: 47.27 kB / 456.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.1446, allocations: 27.44 kB / 456.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of SimCode: time 1.903e-06/0.1446, allocations: 0 / 456.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of Templates: time 0.008533/0.1531, allocations: 4.428 MB / 461.3 MB, free: 3.609 MB / 334.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 -s gbode -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)