Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.001912/0.001912, 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.002007/0.002007, allocations: 161.3 kB / 23.55 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.1143/0.1143, allocations: 18.14 MB / 278.5 MB, free: 11.34 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.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.126e-05, allocations: 2.312 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.00248/0.002512, allocations: 0.9443 MB / 357.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.004645, allocations: 1.233 MB / 358.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.004724, allocations: 0 / 358.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.005077, allocations: 47.64 kB / 358.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.005283, allocations: 43.77 kB / 358.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.005612, allocations: 111.7 kB / 358.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.005863, allocations: 143.6 kB / 359 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005976, allocations: 21.61 kB / 359.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.006097, allocations: 59.83 kB / 359.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.006314, allocations: 91.73 kB / 359.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.006357, allocations: 12 kB / 359.2 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.006384, allocations: 8 kB / 359.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.006484, allocations: 51.81 kB / 359.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.006553, allocations: 35.86 kB / 359.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.00679, allocations: 135.5 kB / 359.4 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006793, allocations: 4 kB / 359.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006794, allocations: 0 / 359.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.0068, allocations: 0 / 359.4 MB, free: 5.238 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001129/0.007929, allocations: 0.5151 MB / 360 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.007969, allocations: 12.92 kB / 360 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.008039, allocations: 24.84 kB / 360 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.008474, allocations: 188.3 kB / 360.2 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.008498, allocations: 4.375 kB / 360.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.008526, allocations: 12.38 kB / 360.2 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.008745, allocations: 88.95 kB / 360.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.008763, allocations: 8.172 kB / 360.3 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.008779, allocations: 4.375 kB / 360.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.008788, allocations: 3.938 kB / 360.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.009088, allocations: 63.95 kB / 360.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000847/0.009935, allocations: 415.5 kB / 360.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.01035, allocations: 118.9 kB / 360.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.01046, allocations: 39.67 kB / 360.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.01048, allocations: 4 kB / 360.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.01052, allocations: 33.39 kB / 361 MB, free: 3.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.01052, allocations: 4 kB / 361 MB, free: 3.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.001047/0.01157, allocations: 245.2 kB / 361.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.01162, allocations: 55.41 kB / 361.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.01201, allocations: 269.8 kB / 361.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.01204, allocations: 25.7 kB / 361.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01217, allocations: 166.8 kB / 361.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.01225, allocations: 55.56 kB / 361.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.01232, allocations: 39.36 kB / 361.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004075/0.01273, allocations: 0.504 MB / 362.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.01281, allocations: 19.98 kB / 362.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.01289, allocations: 27.92 kB / 362.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.01317, allocations: 112 kB / 362.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01317, allocations: 0 / 362.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004385/0.01361, allocations: 172 kB / 362.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01363, allocations: 7.938 kB / 362.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01363, allocations: 0 / 362.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.01393, allocations: 47.64 kB / 362.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.01403, allocations: 19.92 kB / 362.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.016, allocations: 1.912 MB / 364.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.01615, allocations: 19.92 kB / 364.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.01616, allocations: 4 kB / 364.6 MB, free: 15.71 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.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 (12): * Single equations (assignments): 11 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.01639, allocations: 188.4 kB / 364.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.01645, allocations: 19.94 kB / 364.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.633e-05/0.01652, allocations: 21.47 kB / 364.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01652, allocations: 0 / 364.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01652, allocations: 0 / 364.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01653, allocations: 0 / 364.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.0168, allocations: 188.5 kB / 365 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0168, allocations: 0 / 365 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.01693, allocations: 15.98 kB / 365.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.01713, allocations: 47.64 kB / 365.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.01715, allocations: 4 kB / 365.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.01924, allocations: 1.912 MB / 367 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01925, allocations: 3.938 kB / 367 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.01988, allocations: 351.4 kB / 367.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.01993, allocations: 23.83 kB / 367.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.01995, allocations: 4 kB / 367.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.02011, allocations: 11.98 kB / 367.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.02018, allocations: 15.97 kB / 367.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.02019, allocations: 4 kB / 367.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.02048, allocations: 192.2 kB / 367.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02048, allocations: 4 kB / 367.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003/0.02078, allocations: 39.94 kB / 367.7 MB, free: 12.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.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 (9): * Single equations (assignments): 8 * 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,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.0001294/0.02091, allocations: 95.19 kB / 367.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005666/0.02147, allocations: 273.4 kB / 368 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.02147, allocations: 4 kB / 368 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.02181, allocations: 233.5 kB / 368.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.02216, allocations: 35.86 kB / 368.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.02284, allocations: 326.5 kB / 368.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.02299, allocations: 114.8 kB / 368.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.694e-05/0.02307, allocations: 25.12 kB / 368.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.02313, allocations: 20.48 kB / 368.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02313, allocations: 0 / 368.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of Templates: time 0.006296/0.02942, allocations: 2.1 MB / 370.9 MB, free: 9.207 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.740687046083622]