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.001479/0.001478, allocations: 106.4 kB / 16.37 MB, free: 6.477 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.001387/0.001387, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.362/1.362, 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.09125/0.09125, allocations: 22.32 MB / 313.5 MB, free: 8.926 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 65.7 kB / 382.2 MB, free: 41.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09367, allocations: 54.96 MB / 437.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004104/0.09782, allocations: 3.014 MB / 440.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.09945, allocations: 1.036 MB / 441.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.09976, allocations: 19.88 kB / 441.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1, allocations: 83.06 kB / 441.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1003, allocations: 83.14 kB / 441.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.101, allocations: 318 kB / 441.7 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.1016, allocations: 0.5544 MB / 442.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004254/0.102, allocations: 235 kB / 442.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1022, allocations: 183.1 kB / 442.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.1025, allocations: 210.7 kB / 442.9 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.375e-05/0.1025, allocations: 51.98 kB / 443 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.1026, allocations: 44 kB / 443 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1027, allocations: 95.62 kB / 443.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1029, allocations: 238.5 kB / 443.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.1035, allocations: 0.5486 MB / 443.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1036, allocations: 0 / 443.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1036, allocations: 0 / 443.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1036, allocations: 0 / 443.9 MB, free: 5.59 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.001252/0.1048, allocations: 0.818 MB / 444.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1049, allocations: 12.03 kB / 444.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.105, allocations: 60.19 kB / 444.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.1056, allocations: 433.6 kB / 445.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1056, allocations: 29.38 kB / 445.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.1057, allocations: 36.38 kB / 445.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.1063, allocations: 423.8 kB / 445.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1063, allocations: 0 / 445.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1064, allocations: 16 kB / 445.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1064, allocations: 8 kB / 445.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.1069, allocations: 290.4 kB / 446 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.1088, allocations: 1.531 MB / 447.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.1095, allocations: 351.2 kB / 447.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.1097, allocations: 137.2 kB / 448 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1098, allocations: 8.234 kB / 448 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1098, allocations: 38.73 kB / 448 MB, free: 1.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.1098, allocations: 0 / 448 MB, free: 1.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007983/0.1106, allocations: 405.1 kB / 448.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1107, allocations: 110.8 kB / 448.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.1111, allocations: 406 kB / 448.9 MB, free: 292 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1111, allocations: 29.7 kB / 449 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1113, allocations: 268.7 kB / 449.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.1114, allocations: 98.55 kB / 449.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.1114, allocations: 62.03 kB / 449.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1116, allocations: 358.8 kB / 449.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.1118, allocations: 118.1 kB / 449.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.1121, allocations: 197.6 kB / 450 MB, free: 15.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.1134, allocations: 0.5332 MB / 450.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1134, allocations: 0 / 450.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000627/0.1141, allocations: 386.3 kB / 451 MB, free: 14.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1141, allocations: 12.2 kB / 451 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1141, allocations: 8 kB / 451 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1141, allocations: 4 kB / 451 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.1144, allocations: 67.84 kB / 451 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1144, allocations: 4 kB / 451 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1146, allocations: 43.67 kB / 451.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.1147, allocations: 8 kB / 451.1 MB, free: 14.03 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.0003039/0.115, allocations: 212.8 kB / 451.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001949/0.1152, allocations: 168.5 kB / 451.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001001/0.1162, allocations: 459.4 kB / 451.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.1162, allocations: 0 / 451.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004944/0.1167, allocations: 336.7 kB / 452.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1167, allocations: 6.031 kB / 452.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1167, allocations: 8.219 kB / 452.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.1168, allocations: 3.984 kB / 452.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.117, allocations: 59.92 kB / 452.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.117, allocations: 4 kB / 452.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1172, allocations: 35.67 kB / 452.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1172, allocations: 12 kB / 452.4 MB, free: 12.68 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.0001554/0.1174, allocations: 205.5 kB / 452.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.1175, allocations: 55.31 kB / 452.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1176, allocations: 52.69 kB / 452.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1176, allocations: 4 kB / 452.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1176, allocations: 0 / 452.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1176, allocations: 0 / 452.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.1181, allocations: 465.1 kB / 453.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1181, allocations: 0 / 453.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.1184, allocations: 51.97 kB / 453.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1184, allocations: 4 kB / 453.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1185, allocations: 4 kB / 453.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1185, allocations: 11.94 kB / 453.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1185, allocations: 0 / 453.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.1193, allocations: 0.5426 MB / 453.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.1195, allocations: 144.5 kB / 453.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1195, allocations: 8 kB / 453.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1197, allocations: 16.11 kB / 453.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1198, allocations: 19.97 kB / 453.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1198, allocations: 12 kB / 453.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.1201, allocations: 279.1 kB / 454.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1201, allocations: 0 / 454.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.1205, allocations: 147.4 kB / 454.4 MB, free: 10.6 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 9.742e-05/0.1206, allocations: 107.2 kB / 454.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.1214, allocations: 419.5 kB / 454.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1214, allocations: 0.875 kB / 454.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.1216, allocations: 148 kB / 455 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.1222, allocations: 127.1 kB / 455.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1235, allocations: 0.8044 MB / 455.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1238, allocations: 0.8308 MB / 456.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.124, allocations: 47.27 kB / 456.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.1241, allocations: 31.44 kB / 456.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1241, allocations: 0 / 456.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of Templates: time 0.007989/0.1321, allocations: 4.42 MB / 461.3 MB, free: 3.668 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 cvode -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)