Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.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.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009936/0.0009936, allocations: 107 kB / 16.37 MB, free: 6.453 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.001035/0.001035, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09078/0.09078, allocations: 22.33 MB / 313.5 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.97 kB / 382.2 MB, free: 41.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08508, allocations: 54.97 MB / 437.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002645/0.08776, allocations: 1.306 MB / 438.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.08952, allocations: 1.396 MB / 439.9 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.08966, allocations: 7.938 kB / 439.9 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.09007, allocations: 91.39 kB / 440 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.09038, allocations: 123.4 kB / 440.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.09077, allocations: 195.7 kB / 440.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.09134, allocations: 0.5146 MB / 440.8 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.09153, allocations: 64.73 kB / 440.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.09181, allocations: 215.3 kB / 441.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.09216, allocations: 247.1 kB / 441.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.09223, allocations: 24 kB / 441.4 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.0923, allocations: 28 kB / 441.4 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.09246, allocations: 127.6 kB / 441.5 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.09262, allocations: 147 kB / 441.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.09294, allocations: 330.8 kB / 442 MB, free: 7.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.09296, allocations: 3.938 kB / 442 MB, free: 7.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.09297, allocations: 0 / 442 MB, free: 7.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.09299, allocations: 4 kB / 442 MB, free: 7.484 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002193/0.09519, allocations: 0.8568 MB / 442.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.09523, allocations: 8.031 kB / 442.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.09532, allocations: 48.45 kB / 442.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.09657, allocations: 490.1 kB / 443.4 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.0966, allocations: 8.703 kB / 443.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.09665, allocations: 24.31 kB / 443.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.09705, allocations: 216.4 kB / 443.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.09707, allocations: 0 / 443.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.0971, allocations: 8 kB / 443.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.09711, allocations: 4 kB / 443.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.09753, allocations: 232.4 kB / 443.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.09884, allocations: 0.7616 MB / 444.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.09951, allocations: 330.3 kB / 445 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.09974, allocations: 136.7 kB / 445.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.09977, allocations: 4 kB / 445.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.09981, allocations: 42.5 kB / 445.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.09982, allocations: 0 / 445.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001854/0.1017, allocations: 0.7782 MB / 445.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1017, allocations: 59.41 kB / 446 MB, free: 3.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1029, allocations: 0.513 MB / 446.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1029, allocations: 29.7 kB / 446.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.103, allocations: 172.5 kB / 446.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.1031, allocations: 98.55 kB / 446.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.1032, allocations: 49.7 kB / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1033, allocations: 342.8 kB / 447.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1035, allocations: 120.1 kB / 447.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1037, allocations: 116.4 kB / 447.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.1059, allocations: 0.7059 MB / 448.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1059, allocations: 7.984 kB / 448.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008649/0.1068, allocations: 483.5 kB / 448.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1068, allocations: 4 kB / 448.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1069, allocations: 3.984 kB / 448.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.1072, allocations: 117.5 kB / 448.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1074, allocations: 39.98 kB / 448.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.1101, allocations: 3.189 MB / 451.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.1106, allocations: 83.7 kB / 452 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1107, allocations: 12.06 kB / 452 MB, free: 12.89 MB / 334.1 MB Warning: Assuming fixed start value for the following 7 variables: Cfb_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cfb_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cff_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process_2.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.1109, allocations: 176.5 kB / 452.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.111, allocations: 35.53 kB / 452.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.1111, allocations: 55.31 kB / 452.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1111, allocations: 4 kB / 452.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1111, allocations: 3.984 kB / 452.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1111, allocations: 4.031 kB / 452.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.1115, allocations: 397.2 kB / 452.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1115, allocations: 0 / 452.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1118, allocations: 35.98 kB / 452.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.1121, allocations: 117.5 kB / 452.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.1121, allocations: 8 kB / 452.8 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/0.1147, allocations: 3.196 MB / 456 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1147, allocations: 0 / 456 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1158, allocations: 0.6613 MB / 456.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.116, allocations: 124.7 kB / 456.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.116, allocations: 11.98 kB / 456.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.1165, allocations: 63.91 kB / 456.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.1166, allocations: 23.91 kB / 456.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.1167, allocations: 15.98 kB / 456.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.1177, allocations: 399 kB / 457.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1177, allocations: 0 / 457.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.118, allocations: 75.91 kB / 457.4 MB, free: 7.121 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process_1.x_scaled[1],Process_1.x_scaled[2],Process_2.x_scaled[1],Process_2.x_scaled[2],Cff_2.x_scaled[1],Cfb_1.x_scaled[1],Cfb_2.x_scaled[1]) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.1182, allocations: 113.2 kB / 457.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008485/0.119, allocations: 0.5286 MB / 458 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.119, allocations: 3.938 kB / 458 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.1196, allocations: 397.1 kB / 458.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.12, allocations: 67.62 kB / 458.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.1214, allocations: 0.7693 MB / 459.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1218, allocations: 0.8185 MB / 460.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.1219, allocations: 74.91 kB / 460.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.122, allocations: 27.42 kB / 460.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.122, allocations: 0 / 460.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Templates: time 0.008077/0.1301, allocations: 4.122 MB / 464.3 MB, free: 116 kB / 334.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.makefile (rm -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.Exploiting_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1)