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.0009233/0.0009233, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.000955/0.000955, allocations: 165 kB / 23.82 MB, free: 0.7578 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.056/1.056, allocations: 177.1 MB / 204.2 MB, free: 5.168 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.07937/0.07937, allocations: 18.13 MB / 278.9 MB, free: 11.02 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.303e-06/1.303e-06, allocations: 0 / 357.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.557e-05, allocations: 2.312 kB / 357.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001625/0.00165, allocations: 0.9861 MB / 358.3 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003043, allocations: 1.248 MB / 359.5 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.00311, allocations: 0 / 359.5 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.003408, allocations: 39.7 kB / 359.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.00353, allocations: 47.75 kB / 359.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.003751, allocations: 115.7 kB / 359.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.003909, allocations: 139.6 kB / 359.9 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.003991, allocations: 21.62 kB / 359.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.004068, allocations: 63.8 kB / 359.9 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.004179, allocations: 83.81 kB / 360 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.004209, allocations: 8 kB / 360 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.004228, allocations: 12 kB / 360 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.004296, allocations: 51.83 kB / 360.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.004341, allocations: 39.83 kB / 360.1 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.00447, allocations: 99.58 kB / 360.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004472, allocations: 0 / 360.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004472, allocations: 4 kB / 360.2 MB, free: 5.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004477, allocations: 0 / 360.2 MB, free: 5.883 MB / 330.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.0006236/0.0051, allocations: 0.5076 MB / 360.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.005135, allocations: 8.922 kB / 360.8 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.005185, allocations: 28.84 kB / 360.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.005447, allocations: 204.9 kB / 361 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005461, allocations: 4.375 kB / 361 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.005486, allocations: 12.38 kB / 361 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.005611, allocations: 78.11 kB / 361.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.005619, allocations: 192 / 361.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.005631, allocations: 8.375 kB / 361.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.005638, allocations: 7.938 kB / 361.1 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.218e-05/0.00573, allocations: 41.05 kB / 361.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.006166, allocations: 391.5 kB / 361.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.006392, allocations: 103 kB / 361.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.006443, allocations: 31.67 kB / 361.6 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.006455, allocations: 8 kB / 361.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.006477, allocations: 37.33 kB / 361.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.006479, allocations: 0 / 361.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005072/0.006986, allocations: 221.6 kB / 361.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.007013, allocations: 55.34 kB / 362 MB, free: 4.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.007158, allocations: 237.8 kB / 362.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.007172, allocations: 25.7 kB / 362.2 MB, free: 3.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.007235, allocations: 162.8 kB / 362.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.007274, allocations: 51.59 kB / 362.4 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.007313, allocations: 31.38 kB / 362.5 MB, free: 3.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.007439, allocations: 0.4962 MB / 363 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.007474, allocations: 15.98 kB / 363 MB, free: 2.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.007506, allocations: 20.09 kB / 363 MB, free: 2.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.007635, allocations: 83.61 kB / 363.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007637, allocations: 0 / 363.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002169/0.007854, allocations: 144 kB / 363.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.007867, allocations: 11.94 kB / 363.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.00787, allocations: 0 / 363.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.008036, allocations: 39.64 kB / 363.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.008101, allocations: 23.92 kB / 363.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009708/0.009072, allocations: 1.838 MB / 365.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.009143, allocations: 19.94 kB / 365.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.009151, allocations: 7.938 kB / 365.2 MB, free: 0.6289 MB / 330.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.0001127/0.009263, allocations: 168.5 kB / 365.3 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.009294, allocations: 19.91 kB / 365.3 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.009319, allocations: 25.45 kB / 365.4 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.00932, allocations: 0 / 365.4 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009324, allocations: 4 kB / 365.4 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.009327, allocations: 144 / 365.4 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.009474, allocations: 176.4 kB / 365.5 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009476, allocations: 0 / 365.5 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.009536, allocations: 23.98 kB / 365.6 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.009648, allocations: 31.66 kB / 365.6 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.009661, allocations: 7.984 kB / 365.6 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008717/0.01053, allocations: 1.83 MB / 367.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01054, allocations: 7.969 kB / 367.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.01082, allocations: 311.3 kB / 367.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.01084, allocations: 23.78 kB / 367.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.01086, allocations: 4 kB / 367.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.01093, allocations: 11.98 kB / 367.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.01097, allocations: 23.91 kB / 367.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.01098, allocations: 4 kB / 367.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.621e-05/0.01107, allocations: 184.2 kB / 368 MB, free: 13.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01107, allocations: 0 / 368 MB, free: 13.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.01126, allocations: 31.95 kB / 368 MB, free: 13.56 MB / 346.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 7.182e-05/0.01133, allocations: 95.44 kB / 368.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.01162, allocations: 253.4 kB / 368.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01162, allocations: 0 / 368.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.01176, allocations: 229.5 kB / 368.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01197, allocations: 19.94 kB / 368.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.01238, allocations: 318.8 kB / 368.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.67e-05/0.01242, allocations: 83.81 kB / 369 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.01247, allocations: 25.12 kB / 369 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.01251, allocations: 12.5 kB / 369 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01251, allocations: 0 / 369 MB, free: 12.45 MB / 346.7 MB Notification: Performance of Templates: time 0.003726/0.01623, allocations: 2.109 MB / 371.1 MB, free: 10.36 MB / 346.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: 3.2390584596432745]