Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.00198, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007214/0.0007214, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001804, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.999/0.999, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08625/1.085, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0629/0.0629, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01048/0.07338, allocations: 6.786 MB / 269.1 MB, free: 6.23 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.912e-05, allocations: 5.125 kB / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001654/0.001673, allocations: 1.1 MB / 271.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002915, allocations: 1.322 MB / 272.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.002988, allocations: 3.938 kB / 272.9 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.003178, allocations: 59.56 kB / 273 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003295, allocations: 63.67 kB / 273.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.003555, allocations: 167.6 kB / 273.2 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.003751, allocations: 191.5 kB / 273.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.00384, allocations: 38.3 kB / 273.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.003986, allocations: 151.7 kB / 273.6 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.004132, allocations: 135.7 kB / 273.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.004167, allocations: 20 kB / 273.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.004193, allocations: 19.94 kB / 273.8 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.004263, allocations: 67.83 kB / 273.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.00431, allocations: 47.81 kB / 273.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.004458, allocations: 147.4 kB / 274 MB, free: 1.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.004467, allocations: 4 kB / 274 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004468, allocations: 0 / 274 MB, free: 1.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.004477, allocations: 0 / 274 MB, free: 1.227 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006179/0.005095, allocations: 0.4953 MB / 274.5 MB, free: 0.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.005123, allocations: 8.031 kB / 274.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.005174, allocations: 32.84 kB / 274.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.005451, allocations: 225.5 kB / 274.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.005473, allocations: 12.38 kB / 274.8 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.005503, allocations: 16.31 kB / 274.8 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.005677, allocations: 97 kB / 274.9 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.00569, allocations: 8.125 kB / 274.9 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.005703, allocations: 4.375 kB / 274.9 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.005711, allocations: 7.938 kB / 274.9 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.005802, allocations: 55.95 kB / 275 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1255/0.1313, allocations: 334.1 kB / 275.3 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1315, allocations: 146.2 kB / 275.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.1315, allocations: 35.47 kB / 275.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.1316, allocations: 4.375 kB / 275.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.1316, allocations: 36.62 kB / 275.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.1316, allocations: 0 / 275.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006909/0.1323, allocations: 299 kB / 275.8 MB, free: 3.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.1323, allocations: 54.3 kB / 275.9 MB, free: 3.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1324, allocations: 220.3 kB / 276.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1324, allocations: 27.08 kB / 276.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.1325, allocations: 118.1 kB / 276.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.1325, allocations: 77.97 kB / 276.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.1326, allocations: 38.91 kB / 276.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.1326, allocations: 341.4 kB / 276.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.1327, allocations: 24.27 kB / 276.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.1327, allocations: 19.28 kB / 276.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1328, allocations: 113.4 kB / 276.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1328, allocations: 1.25 kB / 276.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000236/0.1331, allocations: 161.3 kB / 277 MB, free: 2.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1331, allocations: 10.97 kB / 277 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1331, allocations: 1.312 kB / 277 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.1333, allocations: 59.02 kB / 277.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1334, allocations: 36.02 kB / 277.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007012/0.1341, allocations: 1.35 MB / 278.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.1342, allocations: 19.27 kB / 278.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1342, allocations: 4.656 kB / 278.5 MB, free: 1.262 MB / 266.7 MB Warning: Assuming fixed start value for the following 6 variables: M.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.1343, allocations: 145.5 kB / 278.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1343, allocations: 19.94 kB / 278.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.1344, allocations: 38.16 kB / 278.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1344, allocations: 2.281 kB / 278.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1344, allocations: 1.672 kB / 278.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1344, allocations: 2.859 kB / 278.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1345, allocations: 140 kB / 278.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1345, allocations: 0.9062 kB / 278.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.1346, allocations: 30.22 kB / 278.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.1346, allocations: 29.27 kB / 278.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.1348, allocations: 55.81 kB / 278.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1348, allocations: 7.797 kB / 278.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006829/0.1355, allocations: 1.344 MB / 280.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1355, allocations: 0.5938 kB / 280.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1358, allocations: 350.6 kB / 280.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1359, allocations: 14.12 kB / 280.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.1359, allocations: 6.984 kB / 280.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.136, allocations: 18.2 kB / 280.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.136, allocations: 6.578 kB / 280.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.134e-05/0.1361, allocations: 79.98 kB / 280.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1361, allocations: 0 / 280.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.1362, allocations: 57.36 kB / 280.8 MB, free: 15.65 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.517e-05/0.1363, allocations: 85.08 kB / 280.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1366, allocations: 218.5 kB / 281.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.1366, allocations: 10.69 kB / 281.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1367, allocations: 192.5 kB / 281.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.137, allocations: 156.7 kB / 281.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.1375, allocations: 464.6 kB / 281.9 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.1376, allocations: 102.5 kB / 282 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1376, allocations: 21.78 kB / 282 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.1377, allocations: 79.33 kB / 282.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1377, allocations: 0 / 282.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Templates: time 0.005888/0.1436, allocations: 3.658 MB / 285.7 MB, free: 14.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.690122239291668]