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.006087/0.006087, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001373/0.001373, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09007/0.09007, allocations: 22.32 MB / 312.8 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 437 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 54.95 MB / 492 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002773/0.1148, allocations: 1.306 MB / 493.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1169, allocations: 1.408 MB / 494.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.117, allocations: 4 kB / 494.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.1175, allocations: 91.39 kB / 494.8 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1177, allocations: 115.4 kB / 494.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1181, allocations: 203.7 kB / 495.1 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.1186, allocations: 0.5185 MB / 495.6 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1188, allocations: 68.66 kB / 495.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1191, allocations: 215.3 kB / 495.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.1194, allocations: 239.1 kB / 496.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.1195, allocations: 32 kB / 496.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.061e-05/0.1196, allocations: 24 kB / 496.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.1198, allocations: 127.6 kB / 496.3 MB, free: 396 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1199, allocations: 151 kB / 496.5 MB, free: 244 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.1203, allocations: 326.8 kB / 496.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1203, allocations: 0 / 496.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1203, allocations: 0 / 496.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1203, allocations: 0 / 496.8 MB, free: 15.91 MB / 382.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.002243/0.1225, allocations: 0.8685 MB / 497.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1226, allocations: 12.03 kB / 497.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.1227, allocations: 36.47 kB / 497.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1238, allocations: 497.9 kB / 498.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1238, allocations: 16.7 kB / 498.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.1239, allocations: 16.38 kB / 498.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.1243, allocations: 212.4 kB / 498.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1243, allocations: 4 kB / 498.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.1243, allocations: 7.938 kB / 498.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1243, allocations: 4 kB / 498.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.1247, allocations: 232.4 kB / 498.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.126, allocations: 0.7538 MB / 499.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.1267, allocations: 330.3 kB / 499.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.1269, allocations: 136.8 kB / 499.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.127, allocations: 4 kB / 499.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.127, allocations: 30.56 kB / 499.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.127, allocations: 0 / 499.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001833/0.1288, allocations: 0.7899 MB / 0.489 GB, free: 11.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1289, allocations: 55.41 kB / 0.489 GB, free: 11.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.13, allocations: 0.5053 MB / 0.4895 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.13, allocations: 29.7 kB / 0.4895 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1301, allocations: 180.5 kB / 0.4897 GB, free: 10.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.1302, allocations: 94.55 kB / 0.4898 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.1303, allocations: 49.7 kB / 0.4898 GB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1305, allocations: 350.8 kB / 0.4902 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1307, allocations: 112.1 kB / 0.4903 GB, free: 10.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1308, allocations: 113.3 kB / 0.4904 GB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.133, allocations: 0.7216 MB / 0.4911 GB, free: 9.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.133, allocations: 0 / 0.4911 GB, free: 9.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008197/0.1338, allocations: 491.3 kB / 0.4916 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1338, allocations: 8 kB / 0.4916 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1339, allocations: 0 / 0.4916 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.1342, allocations: 105.6 kB / 0.4917 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1344, allocations: 39.97 kB / 0.4917 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.1372, allocations: 3.197 MB / 0.4948 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.1377, allocations: 83.83 kB / 0.4949 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1378, allocations: 8 kB / 0.4949 GB, free: 5.324 MB / 382.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.0002366/0.138, allocations: 180.4 kB / 0.4951 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.1381, allocations: 35.53 kB / 0.4951 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.1382, allocations: 51.31 kB / 0.4952 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1382, allocations: 4 kB / 0.4952 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1382, allocations: 0 / 0.4952 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1382, allocations: 0 / 0.4952 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.1387, allocations: 409.1 kB / 0.4956 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1388, allocations: 0 / 0.4956 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.139, allocations: 35.92 kB / 0.4956 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.1393, allocations: 109.6 kB / 0.4957 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.1393, allocations: 8 kB / 0.4957 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.1419, allocations: 3.2 MB / 0.4988 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1419, allocations: 0 / 0.4988 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.1429, allocations: 0.6681 MB / 0.4995 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.143, allocations: 116.7 kB / 0.4996 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.143, allocations: 8 kB / 0.4996 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.1435, allocations: 71.89 kB / 0.4997 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.1436, allocations: 23.97 kB / 0.4997 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1436, allocations: 8 kB / 0.4997 GB, free: 28 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2596/0.4032, allocations: 399.8 kB / 0.5001 GB, free: 22.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4032, allocations: 0.8125 kB / 0.5001 GB, free: 22.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008109/0.4041, allocations: 69.97 kB / 0.5002 GB, free: 22.32 MB / 382.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.0001667/0.4042, allocations: 108.4 kB / 0.5003 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.4054, allocations: 0.5286 MB / 0.5008 GB, free: 22.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4054, allocations: 0 / 0.5008 GB, free: 22.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.4059, allocations: 404.7 kB / 0.5012 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.4064, allocations: 58.92 kB / 0.5012 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4079, allocations: 0.7751 MB / 0.502 GB, free: 21.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.4082, allocations: 0.8191 MB / 0.5028 GB, free: 20.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.4084, allocations: 73.08 kB / 0.5029 GB, free: 20.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.4085, allocations: 28.53 kB / 0.5029 GB, free: 20.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4085, allocations: 2.781 kB / 0.5029 GB, free: 20.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01084/0.4193, allocations: 4.302 MB / 0.5071 GB, free: 20.6 MB / 382.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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1)