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.0008964/0.0008964, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0009169/0.0009169, allocations: 173 kB / 24.17 MB, free: 336 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 1.027/1.027, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.06621/0.06621, allocations: 18.15 MB / 279.2 MB, free: 11.21 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.633e-06/1.633e-06, allocations: 0 / 304.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.177e-05, allocations: 4.047 kB / 304.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.00347/0.003492, allocations: 1.029 MB / 305.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.005645, allocations: 1.26 MB / 306.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.005761, allocations: 1.344 kB / 306.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.006101, allocations: 38.83 kB / 306.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.006262, allocations: 47.5 kB / 306.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.006601, allocations: 118 kB / 307 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.006859, allocations: 135.8 kB / 307.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.006962, allocations: 24.11 kB / 307.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.007089, allocations: 61.91 kB / 307.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.007261, allocations: 82.52 kB / 307.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.007295, allocations: 9.656 kB / 307.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.007318, allocations: 11.75 kB / 307.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.007398, allocations: 54.78 kB / 307.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.007452, allocations: 37.95 kB / 307.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.007628, allocations: 100.3 kB / 307.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.007633, allocations: 4.797 kB / 307.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.007635, allocations: 0 / 307.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.007641, allocations: 1.375 kB / 307.6 MB, free: 14.73 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.0005679/0.008209, allocations: 374 kB / 307.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.008246, allocations: 9.438 kB / 307.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.008294, allocations: 20.03 kB / 308 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.008559, allocations: 189.8 kB / 308.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.00858, allocations: 5.828 kB / 308.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.008601, allocations: 8.375 kB / 308.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.008748, allocations: 74.59 kB / 308.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.008757, allocations: 4.75 kB / 308.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.008766, allocations: 384 / 308.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.008772, allocations: 7.938 kB / 308.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.008854, allocations: 26.47 kB / 308.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.009269, allocations: 253.5 kB / 308.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.009495, allocations: 136.3 kB / 308.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.009534, allocations: 22.08 kB / 308.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.009547, allocations: 12.59 kB / 308.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.009571, allocations: 30.56 kB / 308.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.009572, allocations: 0 / 308.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004685/0.01004, allocations: 178.6 kB / 308.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.01007, allocations: 51.97 kB / 308.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01019, allocations: 168.7 kB / 309.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.0102, allocations: 25.7 kB / 309.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.01024, allocations: 112 kB / 309.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.01028, allocations: 43.59 kB / 309.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.01033, allocations: 29.69 kB / 309.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.01041, allocations: 330.7 kB / 309.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/0.01044, allocations: 14.83 kB / 309.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.01047, allocations: 15.98 kB / 309.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.01057, allocations: 73.78 kB / 309.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01057, allocations: 0 / 309.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001741/0.01074, allocations: 113.1 kB / 309.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01076, allocations: 11.98 kB / 309.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01076, allocations: 0 / 309.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.01092, allocations: 39.59 kB / 309.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.01098, allocations: 20 kB / 309.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008552/0.01183, allocations: 1.258 MB / 311.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.01189, allocations: 11.92 kB / 311.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.0119, allocations: 7.984 kB / 311.2 MB, free: 11.03 MB / 282.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.0001285/0.01203, allocations: 130.5 kB / 311.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.01206, allocations: 19.92 kB / 311.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.0121, allocations: 21.47 kB / 311.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.0121, allocations: 0 / 311.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0121, allocations: 0 / 311.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01211, allocations: 3.984 kB / 311.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.01224, allocations: 109.8 kB / 311.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01224, allocations: 4 kB / 311.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.01231, allocations: 12 kB / 311.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.01241, allocations: 35.59 kB / 311.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.01243, allocations: 11.98 kB / 311.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007023/0.01313, allocations: 1.264 MB / 312.8 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01313, allocations: 144 / 312.8 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.01339, allocations: 284.5 kB / 313.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.01341, allocations: 11.91 kB / 313.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01342, allocations: 11.98 kB / 313.1 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.01348, allocations: 4 kB / 313.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.01353, allocations: 15.92 kB / 313.1 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.01353, allocations: 4.031 kB / 313.1 MB, free: 8.945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.01358, allocations: 57.86 kB / 313.2 MB, free: 8.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01358, allocations: 0 / 313.2 MB, free: 8.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.01374, allocations: 31.94 kB / 313.2 MB, free: 8.855 MB / 282.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 9.685e-05/0.01384, allocations: 85.11 kB / 313.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.01409, allocations: 183.3 kB / 313.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.01409, allocations: 4 kB / 313.5 MB, free: 8.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01421, allocations: 162.9 kB / 313.6 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.0144, allocations: 30.95 kB / 313.7 MB, free: 8.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.01483, allocations: 311.7 kB / 314 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.34e-05/0.01489, allocations: 80.56 kB / 314 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.01494, allocations: 17.14 kB / 314.1 MB, free: 7.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.01502, allocations: 63.38 kB / 314.1 MB, free: 7.855 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01502, allocations: 0 / 314.1 MB, free: 7.855 MB / 282.7 MB Notification: Performance of Templates: time 0.004348/0.01937, allocations: 2.162 MB / 316.3 MB, free: 5.727 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.868781794793904]