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.001052/0.001052, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002571, allocations: 435.8 kB / 10.33 MB, free: 368 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.001069/0.001069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002456, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9994/0.9994, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09176/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.07248/0.07248, allocations: 18.14 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01108/0.08356, allocations: 6.77 MB / 268.9 MB, free: 6.355 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.593e-06/1.593e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.887e-05, allocations: 5.688 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.002602/0.00263, allocations: 1.096 MB / 271.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.00442, allocations: 1.322 MB / 272.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.00454, allocations: 4 kB / 272.7 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.004825, allocations: 59.56 kB / 272.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.004999, allocations: 63.69 kB / 272.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.005384, allocations: 155.6 kB / 273 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.005674, allocations: 207.5 kB / 273.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005794, allocations: 34.3 kB / 273.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.006026, allocations: 150.1 kB / 273.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.006249, allocations: 135.7 kB / 273.5 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.006297, allocations: 16 kB / 273.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.44e-05/0.006331, allocations: 20 kB / 273.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.006439, allocations: 75.77 kB / 273.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.006513, allocations: 43.88 kB / 273.7 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.00673, allocations: 155.4 kB / 273.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.006747, allocations: 3.938 kB / 273.8 MB, free: 1.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.006748, allocations: 0 / 273.8 MB, free: 1.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.006765, allocations: 0 / 273.8 MB, free: 1.363 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.0009072/0.007672, allocations: 499.3 kB / 274.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.007708, allocations: 8.031 kB / 274.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.007772, allocations: 24.92 kB / 274.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.008138, allocations: 233.4 kB / 274.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.008161, allocations: 8.375 kB / 274.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.008197, allocations: 12.38 kB / 274.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.008399, allocations: 101 kB / 274.7 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.008414, allocations: 12.06 kB / 274.7 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.008432, allocations: 8.375 kB / 274.7 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.008445, allocations: 3.938 kB / 274.7 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.008575, allocations: 55.95 kB / 274.8 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.009217, allocations: 337.6 kB / 275.1 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1271/0.1363, allocations: 139.3 kB / 275.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.1364, allocations: 39.53 kB / 275.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1364, allocations: 3.812 kB / 275.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1364, allocations: 35.94 kB / 275.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.1364, allocations: 0 / 275.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008282/0.1372, allocations: 293.9 kB / 275.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1372, allocations: 57.27 kB / 275.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1374, allocations: 218.4 kB / 275.9 MB, free: 3.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1374, allocations: 30.61 kB / 275.9 MB, free: 3.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1375, allocations: 114 kB / 276 MB, free: 2.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.1375, allocations: 77.83 kB / 276.1 MB, free: 2.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.1376, allocations: 42.83 kB / 276.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.1376, allocations: 336.9 kB / 276.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.1377, allocations: 24.45 kB / 276.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.1377, allocations: 16.88 kB / 276.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1379, allocations: 122 kB / 276.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1379, allocations: 0 / 276.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000262/0.1381, allocations: 163.7 kB / 276.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1381, allocations: 5.562 kB / 276.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1381, allocations: 2.594 kB / 276.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.1383, allocations: 54.75 kB / 276.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1385, allocations: 37.73 kB / 276.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007721/0.1392, allocations: 1.348 MB / 278.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.1393, allocations: 18.91 kB / 278.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1393, allocations: 6.438 kB / 278.2 MB, free: 1.395 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.0001257/0.1395, allocations: 136.1 kB / 278.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.1395, allocations: 24.31 kB / 278.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1395, allocations: 42.23 kB / 278.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1395, allocations: 2.828 kB / 278.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1395, allocations: 1.938 kB / 278.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1395, allocations: 0.6562 kB / 278.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1397, allocations: 144.2 kB / 278.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1397, allocations: 1.312 kB / 278.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1398, allocations: 31.19 kB / 278.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.1399, allocations: 24.38 kB / 278.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.14, allocations: 52.08 kB / 278.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.14, allocations: 7.734 kB / 278.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008029/0.1408, allocations: 1.345 MB / 280.1 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1408, allocations: 1.859 kB / 280.1 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.1412, allocations: 353 kB / 280.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1412, allocations: 7.125 kB / 280.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.1413, allocations: 8.75 kB / 280.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1414, allocations: 17.31 kB / 280.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1414, allocations: 13.28 kB / 280.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.1415, allocations: 76.73 kB / 280.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1415, allocations: 0 / 280.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.1417, allocations: 61.47 kB / 280.6 MB, free: 15.78 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 0.0001091/0.1418, allocations: 88.62 kB / 280.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1421, allocations: 217.4 kB / 280.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/0.1421, allocations: 4.531 kB / 280.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1423, allocations: 181.2 kB / 281.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.1425, allocations: 52.39 kB / 281.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.1434, allocations: 474.9 kB / 281.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.1435, allocations: 100.2 kB / 281.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.616e-05/0.1436, allocations: 21.02 kB / 281.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1437, allocations: 76.14 kB / 281.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1437, allocations: 0 / 281.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of Templates: time 0.007832/0.1515, allocations: 3.437 MB / 285.2 MB, free: 14.93 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.780140553601086]