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.001093/0.001093, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001227/0.001227, allocations: 177 kB / 24.08 MB, free: 432 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 0.9927/0.9927, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.09295/0.09295, allocations: 18.15 MB / 279.2 MB, free: 11.16 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.683e-06/1.683e-06, allocations: 0 / 357.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.457e-05, allocations: 2.312 kB / 357.8 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001818/0.001843, allocations: 1.24 MB / 359 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.00341, allocations: 1.459 MB / 360.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.003544, allocations: 11.94 kB / 360.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.00385, allocations: 95.33 kB / 360.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.004069, allocations: 123.4 kB / 360.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.004542, allocations: 327.1 kB / 361 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.004883, allocations: 359.1 kB / 361.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005007, allocations: 56.88 kB / 361.4 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.005203, allocations: 159.5 kB / 361.6 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.00542, allocations: 215.4 kB / 361.8 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.005468, allocations: 28 kB / 361.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.5e-05/0.005503, allocations: 28 kB / 361.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.005607, allocations: 135.5 kB / 362 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.005675, allocations: 83.69 kB / 362.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.005891, allocations: 247 kB / 362.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.005893, allocations: 4 kB / 362.3 MB, free: 2.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005894, allocations: 0 / 362.3 MB, free: 2.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005898, allocations: 0 / 362.3 MB, free: 2.973 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.0008311/0.006729, allocations: 0.7408 MB / 363 MB, free: 2.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.006765, allocations: 12.92 kB / 363 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.006837, allocations: 48.7 kB / 363.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.007205, allocations: 315.4 kB / 363.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.007226, allocations: 16.7 kB / 363.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.007255, allocations: 20.31 kB / 363.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.007416, allocations: 112.8 kB / 363.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.007428, allocations: 4.188 kB / 363.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.007441, allocations: 4.375 kB / 363.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.007448, allocations: 7.938 kB / 363.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.007566, allocations: 76.5 kB / 363.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.008174, allocations: 0.531 MB / 364.2 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.00846, allocations: 189.8 kB / 364.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.008522, allocations: 51.64 kB / 364.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.008536, allocations: 8 kB / 364.4 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.008557, allocations: 37.39 kB / 364.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.008559, allocations: 0 / 364.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.000725/0.009284, allocations: 380.8 kB / 364.8 MB, free: 316 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.009311, allocations: 59.39 kB / 364.9 MB, free: 244 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.009542, allocations: 374.7 kB / 365.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.009562, allocations: 37.64 kB / 365.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.009652, allocations: 223.3 kB / 365.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.009715, allocations: 107.1 kB / 365.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.009782, allocations: 59.33 kB / 365.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.00991, allocations: 0.5235 MB / 366.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.009953, allocations: 28.25 kB / 366.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.009995, allocations: 28.48 kB / 366.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.01017, allocations: 146.2 kB / 366.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01017, allocations: 0 / 366.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003172/0.01049, allocations: 253.5 kB / 366.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.0105, allocations: 4 kB / 366.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01051, allocations: 4 kB / 366.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.01074, allocations: 75.23 kB / 366.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01085, allocations: 35.98 kB / 366.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.01259, allocations: 3.62 MB / 370.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01272, allocations: 31.81 kB / 370.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.01273, allocations: 4 kB / 370.4 MB, free: 10.4 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.0001783/0.01291, allocations: 190 kB / 370.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.01296, allocations: 47.75 kB / 370.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.01301, allocations: 51.41 kB / 370.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01301, allocations: 4 kB / 370.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.01302, allocations: 7.938 kB / 370.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01302, allocations: 0 / 370.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.01323, allocations: 217 kB / 370.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01324, allocations: 0 / 370.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01334, allocations: 31.92 kB / 370.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.01352, allocations: 75.3 kB / 371 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.01355, allocations: 8 kB / 371 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.01532, allocations: 3.62 MB / 374.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01532, allocations: 0 / 374.6 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.01587, allocations: 447.7 kB / 375.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.01591, allocations: 43.69 kB / 375.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01594, allocations: 11.94 kB / 375.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.01606, allocations: 20.02 kB / 375.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.01612, allocations: 19.97 kB / 375.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01613, allocations: 4 kB / 375.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.0163, allocations: 255 kB / 375.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0163, allocations: 0 / 375.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.01658, allocations: 75.95 kB / 375.5 MB, free: 5.012 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.0001329/0.01671, allocations: 110.1 kB / 375.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.01714, allocations: 487.3 kB / 376.1 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01714, allocations: 0 / 376.1 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.01739, allocations: 443.1 kB / 376.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.0177, allocations: 69.39 kB / 376.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.01859, allocations: 0.6621 MB / 377.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.232e-05/0.01868, allocations: 132.5 kB / 377.4 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.01876, allocations: 26.97 kB / 377.4 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.01887, allocations: 110.2 kB / 377.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01887, allocations: 0 / 377.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of Templates: time 0.007121/0.02599, allocations: 4.794 MB / 382.3 MB, free: 14.11 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: 2.995881170965731]