Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.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.0009842/0.0009842, allocations: 72.83 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.001112/0.001112, 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.086/1.086, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.07359/0.07359, allocations: 18.14 MB / 279.2 MB, free: 11.18 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_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 304.6 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.741e-05, allocations: 2.312 kB / 304.6 MB, free: 356 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.003307/0.003334, allocations: 1.828 MB / 306.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.004759, allocations: 0.6977 MB / 307.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.004884, allocations: 2.75 kB / 307.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.005221, allocations: 75.94 kB / 307.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.005429, allocations: 93.45 kB / 307.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.006013, allocations: 176.5 kB / 307.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.006359, allocations: 208.1 kB / 307.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.006457, allocations: 26.8 kB / 307.7 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.006631, allocations: 91.8 kB / 307.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.006883, allocations: 134.6 kB / 307.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.00692, allocations: 16 kB / 307.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.007117, allocations: 99.61 kB / 308 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.007222, allocations: 69.86 kB / 308.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.007294, allocations: 43.7 kB / 308.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.007624, allocations: 208.7 kB / 308.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007628, allocations: 0.5156 kB / 308.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007629, allocations: 0 / 308.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.007634, allocations: 0 / 308.3 MB, free: 14.01 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007259/0.00836, allocations: 485.6 kB / 308.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.008397, allocations: 12.92 kB / 308.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.008452, allocations: 16.92 kB / 308.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.008776, allocations: 209.6 kB / 309 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.008796, allocations: 12.31 kB / 309 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.008822, allocations: 8.375 kB / 309 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.00901, allocations: 118.7 kB / 309.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.009022, allocations: 4.172 kB / 309.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.009036, allocations: 8.359 kB / 309.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.009044, allocations: 7.938 kB / 309.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.009161, allocations: 66.48 kB / 309.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.009626, allocations: 285.6 kB / 309.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.009886, allocations: 172.6 kB / 309.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.009953, allocations: 58.55 kB / 309.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.009967, allocations: 11.94 kB / 309.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.01013, allocations: 157.4 kB / 309.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/0.01013, allocations: 0 / 309.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006094/0.01074, allocations: 307.4 kB / 310.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.01078, allocations: 89.05 kB / 310.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01096, allocations: 221 kB / 310.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.01098, allocations: 25.7 kB / 310.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.01103, allocations: 112.5 kB / 310.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.01109, allocations: 63.52 kB / 310.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.01115, allocations: 33.7 kB / 310.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.01126, allocations: 342.7 kB / 311.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.01132, allocations: 56.52 kB / 311.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.01137, allocations: 51.66 kB / 311.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.01158, allocations: 190 kB / 311.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01158, allocations: 0 / 311.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002797/0.01186, allocations: 205.3 kB / 311.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.0119, allocations: 37.69 kB / 311.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01191, allocations: 3.938 kB / 311.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.01207, allocations: 39.64 kB / 311.6 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.01215, allocations: 23.92 kB / 311.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009493/0.0131, allocations: 1.258 MB / 312.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.0132, allocations: 23.83 kB / 313 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01322, allocations: 0 / 313 MB, free: 9.004 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: C.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: 7 (SP.nextEventScaled,SP.nextEvent,$PRE.SP.nextEvent,SP.last,SP.b,SP.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0001655/0.01338, allocations: 167.4 kB / 313.1 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.01342, allocations: 23.97 kB / 313.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.01346, allocations: 30.12 kB / 313.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01347, allocations: 3.984 kB / 313.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01347, allocations: 0 / 313.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.01348, allocations: 0 / 313.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.01364, allocations: 133.7 kB / 313.3 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01364, allocations: 0 / 313.3 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.01372, allocations: 19.88 kB / 313.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.01384, allocations: 43.58 kB / 313.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.01386, allocations: 11.98 kB / 313.4 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008436/0.0147, allocations: 1.261 MB / 314.6 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.0147, allocations: 0 / 314.6 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.01516, allocations: 338.2 kB / 315 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.01518, allocations: 23.8 kB / 315 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.01522, allocations: 11.98 kB / 315 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.01529, allocations: 11.94 kB / 315 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.01535, allocations: 15.97 kB / 315 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.01537, allocations: 8 kB / 315 MB, free: 6.738 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.179e-05/0.01545, allocations: 66.78 kB / 315.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01545, allocations: 0 / 315.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.01573, allocations: 67.94 kB / 315.2 MB, free: 6.605 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],C.x_scaled[1]) * Number of discrete variables: 6 ($whenCondition1,SP.a,SP.b,SP.last,SP.nextEvent,SP.nextEventScaled) * Number of discrete states: 6 (SP.nextEvent,SP.last,SP.nextEventScaled,SP.b,SP.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001748/0.0159, allocations: 116.4 kB / 315.3 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.0163, allocations: 348.6 kB / 315.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.01631, allocations: 0 / 315.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.01653, allocations: 272.5 kB / 315.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.0167, allocations: 31.41 kB / 315.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.01731, allocations: 449.5 kB / 316.4 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.001e-05/0.01738, allocations: 92.78 kB / 316.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.01743, allocations: 13.48 kB / 316.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.01769, allocations: 83.36 kB / 316.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01769, allocations: 0 / 316.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of Templates: time 0.00606/0.02375, allocations: 3.212 MB / 319.8 MB, free: 1.938 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.081104353070259]