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.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.001208/0.001208, allocations: 72.95 kB / 20.74 MB, free: 3.75 MB / 18.57 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.001591/0.001591, allocations: 177 kB / 24.16 MB, free: 336 kB / 18.57 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 1.018/1.018, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.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.06635/0.06635, allocations: 18.13 MB / 279.2 MB, free: 11.21 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.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 304.5 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.097e-05, allocations: 3.531 kB / 304.5 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001735/0.001756, allocations: 1.246 MB / 305.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.003308, allocations: 1.471 MB / 307.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.003403, allocations: 7.625 kB / 307.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.003717, allocations: 107.3 kB / 307.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.003918, allocations: 124.5 kB / 307.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.004394, allocations: 328 kB / 307.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.004735, allocations: 364.9 kB / 308.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.004845, allocations: 53.78 kB / 308.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.005003, allocations: 165.3 kB / 308.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.005211, allocations: 212.7 kB / 308.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.005254, allocations: 28 kB / 308.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.072e-05/0.005285, allocations: 24 kB / 308.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.005386, allocations: 127.5 kB / 308.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.005458, allocations: 91.67 kB / 308.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.005656, allocations: 243 kB / 309.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005658, allocations: 4 kB / 309.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005659, allocations: 0 / 309.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.005663, allocations: 0 / 309.1 MB, free: 13.42 MB / 282.7 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.0007295/0.006392, allocations: 0.6146 MB / 309.7 MB, free: 12.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.006424, allocations: 8.922 kB / 309.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.006485, allocations: 36.91 kB / 309.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.006843, allocations: 300.7 kB / 310 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.006862, allocations: 12.7 kB / 310 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.006894, allocations: 24.31 kB / 310.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.007053, allocations: 119.6 kB / 310.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007064, allocations: 192 / 310.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.007079, allocations: 16.36 kB / 310.2 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007086, allocations: 7.938 kB / 310.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.007204, allocations: 68.53 kB / 310.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.007727, allocations: 405.4 kB / 310.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.008007, allocations: 224.5 kB / 310.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.008065, allocations: 44.83 kB / 310.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.008077, allocations: 4 kB / 310.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.008099, allocations: 39.88 kB / 311 MB, free: 11.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.153e-06/0.0081, allocations: 0 / 311 MB, free: 11.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006645/0.008764, allocations: 342.2 kB / 311.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.008791, allocations: 55.34 kB / 311.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.008973, allocations: 299.4 kB / 311.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.008992, allocations: 29.7 kB / 311.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.009042, allocations: 137.5 kB / 311.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.009097, allocations: 99.14 kB / 311.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.009148, allocations: 45.67 kB / 312 MB, free: 10.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.009231, allocations: 354.7 kB / 312.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.009277, allocations: 31.09 kB / 312.3 MB, free: 9.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.009316, allocations: 20.56 kB / 312.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.009483, allocations: 140.9 kB / 312.5 MB, free: 9.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.009486, allocations: 3.938 kB / 312.5 MB, free: 9.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000267/0.009753, allocations: 197.9 kB / 312.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.009766, allocations: 11.94 kB / 312.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009771, allocations: 3.984 kB / 312.7 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.009977, allocations: 79.23 kB / 312.8 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.01007, allocations: 31.98 kB / 312.8 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.01128, allocations: 2.493 MB / 315.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.0114, allocations: 27.83 kB / 315.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01141, allocations: 11.98 kB / 315.3 MB, free: 6.77 MB / 282.7 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.0001303/0.01154, allocations: 149.7 kB / 315.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.01158, allocations: 27.97 kB / 315.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.01162, allocations: 47.41 kB / 315.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01162, allocations: 4 kB / 315.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01163, allocations: 4 kB / 315.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01163, allocations: 3.984 kB / 315.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01181, allocations: 181.6 kB / 315.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01182, allocations: 4 kB / 315.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.01192, allocations: 27.92 kB / 315.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.01207, allocations: 75.3 kB / 315.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.01209, allocations: 8 kB / 315.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.0132, allocations: 2.508 MB / 318.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.0132, allocations: 4.062 kB / 318.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.01358, allocations: 408.9 kB / 318.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.01362, allocations: 43.69 kB / 318.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01364, allocations: 4 kB / 318.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01375, allocations: 23.98 kB / 318.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.01379, allocations: 15.91 kB / 318.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.0138, allocations: 8 kB / 318.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.894e-05/0.0139, allocations: 128.7 kB / 319 MB, free: 2.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0139, allocations: 0 / 319 MB, free: 2.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.01411, allocations: 75.95 kB / 319.1 MB, free: 2.801 MB / 282.7 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 8.177e-05/0.01419, allocations: 88.36 kB / 319.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.01454, allocations: 358.9 kB / 319.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.01455, allocations: 4 kB / 319.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.01475, allocations: 333.8 kB / 319.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.01497, allocations: 70.64 kB / 319.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.01601, allocations: 0.6653 MB / 320.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.0161, allocations: 124.6 kB / 320.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.01622, allocations: 26.97 kB / 320.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.01634, allocations: 91.36 kB / 320.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01634, allocations: 0 / 320.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of Templates: time 0.009682/0.02602, allocations: 4.753 MB / 325.6 MB, free: 12.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.makefile [Timeout 660] (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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0603208751417696]