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.001332/0.001332, allocations: 84.8 kB / 19.96 MB, free: 1.754 MB / 14.72 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.00151/0.00151, allocations: 161.4 kB / 23.23 MB, free: 4.891 MB / 14.72 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.58/1.58, allocations: 177.1 MB / 203.5 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.1321/0.1321, allocations: 18.13 MB / 278.1 MB, free: 15.06 MB / 270.1 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.493e-06/1.493e-06, allocations: 0 / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.144e-05, allocations: 6.281 kB / 415.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002709/0.002741, allocations: 1.204 MB / 416.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.005143, allocations: 1.436 MB / 418.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.005328, allocations: 4 kB / 418.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.005807, allocations: 95.33 kB / 418.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.006191, allocations: 139.3 kB / 418.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.006951, allocations: 311.2 kB / 418.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.007479, allocations: 370.8 kB / 419.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.00763, allocations: 48.89 kB / 419.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.0079, allocations: 163.5 kB / 419.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.00826, allocations: 211.4 kB / 419.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.495e-05/0.008334, allocations: 28 kB / 419.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.008395, allocations: 31.94 kB / 419.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.008571, allocations: 135.5 kB / 419.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.008724, allocations: 79.69 kB / 419.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.009188, allocations: 338.8 kB / 420.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.009191, allocations: 0 / 420.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009192, allocations: 3.938 kB / 420.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.009201, allocations: 0 / 420.1 MB, free: 13.99 MB / 350.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.00258/0.01178, allocations: 0.8009 MB / 420.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01182, allocations: 12.92 kB / 420.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.835e-05/0.01192, allocations: 36.7 kB / 421 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.01331, allocations: 431.8 kB / 421.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.01333, allocations: 8.703 kB / 421.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.01339, allocations: 28.36 kB / 421.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.01384, allocations: 212.7 kB / 421.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.01386, allocations: 192 / 421.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.01389, allocations: 8.375 kB / 421.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.0139, allocations: 7.938 kB / 421.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.01439, allocations: 224.4 kB / 421.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01574, allocations: 0.6482 MB / 422.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.01648, allocations: 314.4 kB / 422.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.01673, allocations: 128.8 kB / 423 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.01676, allocations: 4 kB / 423 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.01679, allocations: 38.56 kB / 423 MB, free: 11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.01679, allocations: 0 / 423 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002013/0.01881, allocations: 0.6278 MB / 423.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.01885, allocations: 55.41 kB / 423.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.02012, allocations: 0.5131 MB / 424.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.02015, allocations: 25.7 kB / 424.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.02029, allocations: 176.6 kB / 424.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.0204, allocations: 99.12 kB / 424.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.0205, allocations: 49.7 kB / 424.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.02068, allocations: 358.7 kB / 424.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.02089, allocations: 112.1 kB / 425 MB, free: 8.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.02112, allocations: 108.5 kB / 425.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.02363, allocations: 0.7228 MB / 425.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.02364, allocations: 0 / 425.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009809/0.02462, allocations: 479.5 kB / 426.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.02463, allocations: 4 kB / 426.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.02464, allocations: 3.938 kB / 426.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.02517, allocations: 109.6 kB / 426.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.02537, allocations: 39.92 kB / 426.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.0286, allocations: 2.94 MB / 429.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.02915, allocations: 79.94 kB / 429.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.02918, allocations: 12 kB / 429.5 MB, free: 4.238 MB / 350.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.0002814/0.02946, allocations: 186.6 kB / 429.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/0.02954, allocations: 43.7 kB / 429.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.02965, allocations: 51.41 kB / 429.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.02965, allocations: 0 / 429.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.02967, allocations: 4 kB / 429.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.02968, allocations: 3.984 kB / 429.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.03012, allocations: 277.1 kB / 430 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.03012, allocations: 0 / 430 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.03035, allocations: 31.92 kB / 430.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/0.03069, allocations: 109.6 kB / 430.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.03073, allocations: 19.94 kB / 430.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/0.03367, allocations: 2.925 MB / 433.1 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.03368, allocations: 3.938 kB / 433.1 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.0349, allocations: 0.6607 MB / 433.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.03499, allocations: 47.69 kB / 433.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.03504, allocations: 8 kB / 433.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005541/0.0356, allocations: 71.89 kB / 433.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.03568, allocations: 23.95 kB / 433.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.0357, allocations: 4 kB / 433.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.03679, allocations: 406.9 kB / 434.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03679, allocations: 0 / 434.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.03721, allocations: 83.83 kB / 434.4 MB, free: 15.04 MB / 366.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.0001421/0.03735, allocations: 112.5 kB / 434.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009661/0.03831, allocations: 0.5207 MB / 435 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03832, allocations: 0 / 435 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.03891, allocations: 393.1 kB / 435.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.03938, allocations: 68.47 kB / 435.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.04093, allocations: 0.7566 MB / 436.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.04118, allocations: 211.8 kB / 436.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.04136, allocations: 74.91 kB / 436.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.04145, allocations: 24.5 kB / 436.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.04145, allocations: 0 / 436.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.01005/0.0515, allocations: 4.519 MB / 441.1 MB, free: 8.309 MB / 366.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.993823304772377] Failed to read output from testmodel.py, exit status != 0: 0.061501335352659225 0.25900445 0.246973234 Calling exit ...