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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 109.1 kB / 18.19 MB, free: 3.973 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 192.4 kB / 21.34 MB, free: 0.8359 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09872/0.09872, allocations: 22.69 MB / 327.7 MB, free: 7.32 MB / 254.1 MB [Timeout remaining time 90] 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_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 0.001944/0.001944, allocations: 70.06 kB / 461 MB, free: 41.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08618, allocations: 58.03 MB / 0.5069 GB, free: 6.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002308/0.08849, allocations: 1.755 MB / 0.5086 GB, free: 5.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009571/0.08945, allocations: 0.6935 MB / 0.5093 GB, free: 4.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.08952, allocations: 8 kB / 0.5093 GB, free: 4.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.08981, allocations: 75.66 kB / 0.5093 GB, free: 4.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.08997, allocations: 87.69 kB / 0.5094 GB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.09037, allocations: 148.4 kB / 0.5096 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.09061, allocations: 263.5 kB / 0.5098 GB, free: 3.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.0907, allocations: 25.48 kB / 0.5098 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.09082, allocations: 127.6 kB / 0.51 GB, free: 3.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.09103, allocations: 163.5 kB / 0.5101 GB, free: 3.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.09107, allocations: 12 kB / 0.5101 GB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.09118, allocations: 87.92 kB / 0.5102 GB, free: 3.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.09127, allocations: 79.67 kB / 0.5103 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.09134, allocations: 83.47 kB / 0.5104 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.09158, allocations: 227.1 kB / 0.5106 GB, free: 3.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09159, allocations: 4 kB / 0.5106 GB, free: 3.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09159, allocations: 0 / 0.5106 GB, free: 3.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.09159, allocations: 4 kB / 0.5106 GB, free: 3 MB / 366.1 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.001101/0.0927, allocations: 0.6402 MB / 0.5112 GB, free: 2.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.09273, allocations: 8.031 kB / 0.5112 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.09278, allocations: 24.8 kB / 0.5113 GB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.09328, allocations: 306.9 kB / 0.5115 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.09329, allocations: 12.31 kB / 0.5116 GB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.09332, allocations: 20.31 kB / 0.5116 GB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.09355, allocations: 150.5 kB / 0.5117 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.09357, allocations: 4 kB / 0.5117 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.09358, allocations: 0 / 0.5117 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.09359, allocations: 0 / 0.5117 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.0938, allocations: 141.5 kB / 0.5119 GB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.09442, allocations: 0.5042 MB / 0.5124 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.09479, allocations: 182.5 kB / 0.5125 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.09493, allocations: 92.81 kB / 0.5126 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.09495, allocations: 4 kB / 0.5126 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.09515, allocations: 185 kB / 0.5128 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.09515, allocations: 0 / 0.5128 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001114/0.09627, allocations: 0.5687 MB / 0.5134 GB, free: 15.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.09633, allocations: 89.03 kB / 0.5134 GB, free: 15.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.09689, allocations: 308.9 kB / 0.5137 GB, free: 15.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.09692, allocations: 29.7 kB / 0.5138 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.09702, allocations: 136.1 kB / 0.5139 GB, free: 15.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.09709, allocations: 63.47 kB / 0.5139 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.09716, allocations: 41.7 kB / 0.514 GB, free: 15.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.09731, allocations: 334.8 kB / 0.5143 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.09747, allocations: 83.95 kB / 0.5144 GB, free: 14.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.09761, allocations: 86.19 kB / 0.5145 GB, free: 14.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.09903, allocations: 0.5789 MB / 0.515 GB, free: 14.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.09903, allocations: 0 / 0.515 GB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006911/0.09972, allocations: 395.9 kB / 0.5154 GB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.09976, allocations: 37.69 kB / 0.5154 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.09977, allocations: 3.984 kB / 0.5155 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.1, allocations: 52.81 kB / 0.5155 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1001, allocations: 27.92 kB / 0.5155 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.1018, allocations: 1.602 MB / 0.5171 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.1021, allocations: 35.89 kB / 0.5171 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.1021, allocations: 7.984 kB / 0.5171 GB, free: 11.85 MB / 382.1 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.000245/0.1023, allocations: 196.2 kB / 0.5173 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1024, allocations: 24 kB / 0.5173 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.1024, allocations: 38.09 kB / 0.5174 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1024, allocations: 7.938 kB / 0.5174 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1024, allocations: 0 / 0.5174 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1024, allocations: 3.938 kB / 0.5174 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1028, allocations: 289.5 kB / 0.5177 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1028, allocations: 0 / 0.5177 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.1029, allocations: 19.98 kB / 0.5177 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/0.1031, allocations: 56.81 kB / 0.5177 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.1031, allocations: 15.92 kB / 0.5178 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.1047, allocations: 1.591 MB / 0.5193 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1047, allocations: 3.984 kB / 0.5193 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.1056, allocations: 0.5316 MB / 0.5198 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.1057, allocations: 101 kB / 0.5199 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1058, allocations: 12 kB / 0.5199 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.106, allocations: 31.95 kB / 0.52 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.1061, allocations: 11.98 kB / 0.52 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.1061, allocations: 12 kB / 0.52 GB, free: 8.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004817/0.1066, allocations: 248.3 kB / 0.5202 GB, free: 8.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1066, allocations: 0 / 0.5202 GB, free: 8.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1069, allocations: 71.88 kB / 0.5203 GB, free: 8.352 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],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.0002098/0.1071, allocations: 123.4 kB / 0.5204 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007376/0.1079, allocations: 404.8 kB / 0.5208 GB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1079, allocations: 0 / 0.5208 GB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.1083, allocations: 298 kB / 0.5211 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1086, allocations: 38.58 kB / 0.5211 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.1095, allocations: 0.514 MB / 0.5216 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.1099, allocations: 0.7634 MB / 0.5224 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.1099, allocations: 19.38 kB / 0.5224 GB, free: 6.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1099, allocations: 3.938 kB / 0.5224 GB, free: 6.086 MB / 382.1 MB Notification: Performance of Templates: time 0.006281/0.1162, allocations: 3.598 MB / 0.5259 GB, free: 2.484 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 480]