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.002499/0.002499, allocations: 79.69 kB / 20.23 MB, free: 4.195 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.003059/0.003059, allocations: 161.3 kB / 23.54 MB, free: 0.8789 MB / 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.1186/0.1186, allocations: 18.14 MB / 278.5 MB, free: 11.33 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.763e-06/1.763e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.786e-05, allocations: 2.312 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002736/0.002764, allocations: 1.232 MB / 357.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.005219, allocations: 1.428 MB / 359.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.00537, allocations: 7.938 kB / 359.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.00582, allocations: 111.2 kB / 359.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.00618, allocations: 123.3 kB / 359.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.006996, allocations: 319.2 kB / 359.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005228/0.007519, allocations: 367.1 kB / 360.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.007673, allocations: 48.89 kB / 360.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.007955, allocations: 159.5 kB / 360.3 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.008321, allocations: 215.4 kB / 360.5 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.008407, allocations: 28 kB / 360.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.008466, allocations: 28 kB / 360.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.008643, allocations: 127.5 kB / 360.7 MB, free: 4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.008799, allocations: 91.67 kB / 360.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.00925, allocations: 342.8 kB / 361.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.009254, allocations: 0 / 361.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.009255, allocations: 4 kB / 361.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.009264, allocations: 0 / 361.1 MB, free: 3.57 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.001837/0.0111, allocations: 0.803 MB / 361.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.01114, allocations: 12.92 kB / 361.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.01127, allocations: 56.7 kB / 362 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.01213, allocations: 326.8 kB / 362.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.01216, allocations: 16.7 kB / 362.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.0122, allocations: 20.38 kB / 362.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.01256, allocations: 148.8 kB / 362.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.01258, allocations: 192 / 362.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.01261, allocations: 12.38 kB / 362.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01262, allocations: 7.938 kB / 362.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.01301, allocations: 136.4 kB / 362.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.01444, allocations: 0.6554 MB / 363.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.01509, allocations: 230.9 kB / 363.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.01527, allocations: 79.66 kB / 363.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.0153, allocations: 4 kB / 363.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.01534, allocations: 37.39 kB / 363.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.01534, allocations: 4 kB / 363.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001771/0.01711, allocations: 488.6 kB / 364.1 MB, free: 432 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.01716, allocations: 55.41 kB / 364.2 MB, free: 364 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/0.01805, allocations: 470.8 kB / 364.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.01808, allocations: 33.69 kB / 364.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.01828, allocations: 235.3 kB / 364.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.01841, allocations: 115 kB / 365 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.01853, allocations: 59.36 kB / 365.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003195/0.01885, allocations: 0.5391 MB / 365.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.019, allocations: 52.25 kB / 365.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01914, allocations: 56.48 kB / 365.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.01964, allocations: 218.3 kB / 365.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01965, allocations: 0 / 365.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008265/0.02047, allocations: 325.6 kB / 366.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.02049, allocations: 8 kB / 366.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.0205, allocations: 0 / 366.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.02096, allocations: 91.3 kB / 366.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.02116, allocations: 43.97 kB / 366.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.0252, allocations: 3.833 MB / 370.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.02555, allocations: 39.84 kB / 370.3 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.02558, allocations: 8 kB / 370.3 MB, free: 9.941 MB / 298.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.0002865/0.02587, allocations: 206.4 kB / 370.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.02597, allocations: 47.7 kB / 370.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.0261, allocations: 47.41 kB / 370.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.0261, allocations: 4 kB / 370.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.02611, allocations: 0 / 370.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.02611, allocations: 0 / 370.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.02657, allocations: 296.5 kB / 370.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02658, allocations: 3.938 kB / 370.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.0268, allocations: 31.92 kB / 370.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.02719, allocations: 91.28 kB / 371 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.02723, allocations: 15.92 kB / 371 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.03083, allocations: 3.829 MB / 374.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.03083, allocations: 3.938 kB / 374.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.03188, allocations: 0.5505 MB / 375.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.03199, allocations: 39.7 kB / 375.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.03205, allocations: 11.98 kB / 375.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.03235, allocations: 27.97 kB / 375.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.03244, allocations: 23.95 kB / 375.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.03245, allocations: 4 kB / 375.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006297/0.03308, allocations: 339 kB / 375.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03308, allocations: 0 / 375.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.03346, allocations: 79.83 kB / 375.9 MB, free: 3.992 MB / 298.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 0.0001616/0.03362, allocations: 107.2 kB / 376 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.03463, allocations: 0.5304 MB / 376.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.03463, allocations: 0 / 376.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.03533, allocations: 467.2 kB / 377 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.03578, allocations: 53.47 kB / 377 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.03729, allocations: 0.6972 MB / 377.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.03754, allocations: 203.8 kB / 377.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.03771, allocations: 62.91 kB / 378 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.0378, allocations: 32.48 kB / 378 MB, free: 1.711 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0378, allocations: 0 / 378 MB, free: 1.711 MB / 298.7 MB Notification: Performance of Templates: time 0.01073/0.04854, allocations: 4.59 MB / 382.6 MB, free: 13.17 MB / 314.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: 4.842563893995248]