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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 104.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 191.7 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 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.1005/0.1005, allocations: 22.7 MB / 325.4 MB, free: 3.566 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002032/0.002032, allocations: 63.83 kB / 457.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1436, allocations: 58.02 MB / 0.5036 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002534/0.1461, allocations: 0.9779 MB / 0.5045 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1479, allocations: 1.202 MB / 0.5057 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.148, allocations: 3.938 kB / 0.5057 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1483, allocations: 39.77 kB / 0.5058 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1485, allocations: 39.77 kB / 0.5058 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1487, allocations: 75.89 kB / 0.5059 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.149, allocations: 195.6 kB / 0.5061 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1491, allocations: 29.38 kB / 0.5061 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1492, allocations: 99.66 kB / 0.5062 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1494, allocations: 99.67 kB / 0.5063 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1495, allocations: 12 kB / 0.5063 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.355e-05/0.1495, allocations: 12 kB / 0.5063 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1496, allocations: 51.83 kB / 0.5063 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.1497, allocations: 63.53 kB / 0.5064 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1499, allocations: 131.4 kB / 0.5065 GB, free: 4.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1499, allocations: 0 / 0.5065 GB, free: 4.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1499, allocations: 0 / 0.5065 GB, free: 4.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1499, allocations: 3.938 kB / 0.5065 GB, free: 4.129 MB / 382.1 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.001281/0.1512, allocations: 0.5182 MB / 0.507 GB, free: 3.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1512, allocations: 12.03 kB / 0.5071 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.1513, allocations: 12.84 kB / 0.5071 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.1519, allocations: 300.6 kB / 0.5073 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1519, allocations: 8.359 kB / 0.5074 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.152, allocations: 8.375 kB / 0.5074 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1522, allocations: 117.9 kB / 0.5075 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1523, allocations: 0 / 0.5075 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1523, allocations: 0 / 0.5075 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1523, allocations: 4 kB / 0.5075 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.1526, allocations: 107.8 kB / 0.5076 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.1534, allocations: 468.4 kB / 0.508 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.1538, allocations: 154.4 kB / 0.5082 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.154, allocations: 56.83 kB / 0.5082 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.154, allocations: 4 kB / 0.5082 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.154, allocations: 34.56 kB / 0.5083 GB, free: 2.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.154, allocations: 4 kB / 0.5083 GB, free: 2.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00128/0.1553, allocations: 391.5 kB / 0.5086 GB, free: 1.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.1554, allocations: 59.33 kB / 0.5087 GB, free: 1.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.1559, allocations: 238.6 kB / 0.5089 GB, free: 1.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1559, allocations: 29.7 kB / 0.509 GB, free: 1.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.156, allocations: 116.1 kB / 0.5091 GB, free: 1.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.1561, allocations: 47.61 kB / 0.5091 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1561, allocations: 25.7 kB / 0.5091 GB, free: 1.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1563, allocations: 326.8 kB / 0.5095 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1564, allocations: 51.97 kB / 0.5095 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1565, allocations: 51.95 kB / 0.5096 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1577, allocations: 341 kB / 0.5099 GB, free: 476 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1577, allocations: 0 / 0.5099 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005275/0.1583, allocations: 232.4 kB / 0.5101 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1583, allocations: 4 kB / 0.5101 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1583, allocations: 0 / 0.5101 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.1585, allocations: 56.8 kB / 0.5102 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1586, allocations: 27.94 kB / 0.5102 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2551/0.4138, allocations: 1.584 MB / 0.5117 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.4141, allocations: 33.39 kB / 0.5118 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.4141, allocations: 10.62 kB / 0.5118 GB, free: 14.66 MB / 382.1 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.000191/0.4143, allocations: 138.3 kB / 0.5119 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.4143, allocations: 15.92 kB / 0.5119 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.4144, allocations: 25.98 kB / 0.5119 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4144, allocations: 5 kB / 0.5119 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4144, allocations: 1.969 kB / 0.5119 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.4144, allocations: 6.062 kB / 0.512 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.4147, allocations: 255.2 kB / 0.5122 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4147, allocations: 0 / 0.5122 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.4148, allocations: 17.92 kB / 0.5122 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.415, allocations: 55.98 kB / 0.5123 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.415, allocations: 8.156 kB / 0.5123 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.4161, allocations: 1.597 MB / 0.5138 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4161, allocations: 3.438 kB / 0.5138 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.4167, allocations: 377.3 kB / 0.5142 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.4168, allocations: 96.19 kB / 0.5143 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.4168, allocations: 2.344 kB / 0.5143 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.4171, allocations: 34.11 kB / 0.5143 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.4171, allocations: 10.2 kB / 0.5143 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.4171, allocations: 2.875 kB / 0.5143 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004502/0.4176, allocations: 203.4 kB / 0.5145 GB, free: 12.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4176, allocations: 0 / 0.5145 GB, free: 12.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.4179, allocations: 29.5 kB / 0.5146 GB, free: 12.68 MB / 382.1 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.0001182/0.418, allocations: 99.44 kB / 0.5147 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005637/0.4186, allocations: 275.2 kB / 0.5149 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4186, allocations: 0 / 0.5149 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.4188, allocations: 189.2 kB / 0.5151 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4192, allocations: 18.64 kB / 0.5151 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.4198, allocations: 357.1 kB / 0.5155 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.42, allocations: 0.7297 MB / 0.5162 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.137e-05/0.4201, allocations: 29.69 kB / 0.5162 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.4201, allocations: 22.56 kB / 0.5162 GB, free: 11.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4201, allocations: 0 / 0.5162 GB, free: 11.47 MB / 382.1 MB Notification: Performance of Templates: time 0.005685/0.4258, allocations: 1.961 MB / 0.5181 GB, free: 11.43 MB / 382.1 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: 5.072295425925404] Failed to read output from testmodel.py, exit status != 0: 0.43430006690323353 0.44558218299999997 0.293029591 Calling exit ...