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.001473/0.001473, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001771/0.001771, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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.558/1.558, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.1241/0.1241, allocations: 18.13 MB / 278.5 MB, free: 11.31 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.764e-06/1.764e-06, allocations: 0 / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.788e-05, allocations: 6.25 kB / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002211/0.002239, allocations: 0.9519 MB / 357.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.004203, allocations: 1.229 MB / 358.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.004274, allocations: 8 kB / 358.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.004575, allocations: 39.72 kB / 358.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.004763, allocations: 39.77 kB / 358.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.00507, allocations: 111.7 kB / 358.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.005295, allocations: 143.6 kB / 359 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.005392, allocations: 17.62 kB / 359.1 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.005503, allocations: 67.73 kB / 359.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.005691, allocations: 83.81 kB / 359.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.005726, allocations: 16 kB / 359.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.005752, allocations: 12 kB / 359.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.005844, allocations: 47.83 kB / 359.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.005916, allocations: 39.83 kB / 359.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.006127, allocations: 135.6 kB / 359.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.00613, allocations: 0 / 359.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006131, allocations: 0 / 359.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006135, allocations: 0 / 359.4 MB, free: 5.246 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.001241/0.007376, allocations: 453.5 kB / 359.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.007411, allocations: 12.86 kB / 359.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.007486, allocations: 28.83 kB / 359.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.008107, allocations: 225.4 kB / 360.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.008129, allocations: 8.375 kB / 360.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.008167, allocations: 8.375 kB / 360.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.008442, allocations: 109.2 kB / 360.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.008457, allocations: 4.125 kB / 360.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.008482, allocations: 4.375 kB / 360.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.008493, allocations: 7.938 kB / 360.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.00875, allocations: 99.92 kB / 360.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000811/0.009561, allocations: 376.3 kB / 360.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.01001, allocations: 158.4 kB / 360.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.01016, allocations: 64.81 kB / 361 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.01018, allocations: 8 kB / 361 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.01021, allocations: 34.55 kB / 361 MB, free: 3.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.01021, allocations: 0 / 361 MB, free: 3.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.001149/0.01136, allocations: 326.6 kB / 361.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.01142, allocations: 51.41 kB / 361.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.01203, allocations: 255.1 kB / 361.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.01205, allocations: 29.7 kB / 361.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.01214, allocations: 112.1 kB / 361.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.0122, allocations: 51.58 kB / 361.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.01226, allocations: 25.72 kB / 361.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.01245, allocations: 326.8 kB / 362.2 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.01258, allocations: 51.95 kB / 362.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01268, allocations: 47.97 kB / 362.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.01389, allocations: 344.2 kB / 362.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01389, allocations: 0 / 362.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005384/0.01443, allocations: 249.6 kB / 362.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01445, allocations: 7.938 kB / 362.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01445, allocations: 4 kB / 362.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.01472, allocations: 52.81 kB / 362.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01482, allocations: 15.98 kB / 362.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.0166, allocations: 1.468 MB / 364.4 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.01685, allocations: 35.94 kB / 364.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.01687, allocations: 4 kB / 364.4 MB, free: 15.98 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.0001991/0.01706, allocations: 145.9 kB / 364.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.01711, allocations: 15.94 kB / 364.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.01718, allocations: 29.47 kB / 364.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.01718, allocations: 0 / 364.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01718, allocations: 3.938 kB / 364.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01719, allocations: 0 / 364.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.01746, allocations: 181.1 kB / 364.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.01746, allocations: 4 kB / 364.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.01758, allocations: 11.98 kB / 364.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/0.0178, allocations: 68.8 kB / 364.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.01781, allocations: 0 / 364.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.01939, allocations: 1.464 MB / 366.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.0194, allocations: 3.938 kB / 366.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.02011, allocations: 380.2 kB / 366.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.02015, allocations: 27.92 kB / 366.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.02018, allocations: 4 kB / 366.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.02044, allocations: 28 kB / 366.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.0205, allocations: 7.984 kB / 366.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.02051, allocations: 7.984 kB / 366.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007109/0.02122, allocations: 199.2 kB / 367 MB, free: 13.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02122, allocations: 0 / 367 MB, free: 13.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.02151, allocations: 35.94 kB / 367 MB, free: 13.22 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.0001199/0.02163, allocations: 91.25 kB / 367.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.02222, allocations: 266.3 kB / 367.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02222, allocations: 0 / 367.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.02257, allocations: 194.5 kB / 367.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.02291, allocations: 28.47 kB / 367.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.02366, allocations: 348.8 kB / 367.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.02381, allocations: 126.7 kB / 368.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.988e-05/0.0239, allocations: 25.12 kB / 368.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.02395, allocations: 12.5 kB / 368.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.02395, allocations: 0 / 368.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of Templates: time 0.005904/0.02985, allocations: 2.095 MB / 370.2 MB, free: 10 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.756821274990216]