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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001274/0.001274, allocations: 186 kB / 20.78 MB, free: 1.547 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.518/1.518, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.09558/0.09558, allocations: 22.69 MB / 327.2 MB, free: 7.297 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_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.001951/0.001951, allocations: 65.8 kB / 460.6 MB, free: 41.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1358, allocations: 58.03 MB / 0.5065 GB, free: 6.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002476/0.1382, allocations: 1.773 MB / 0.5082 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1393, allocations: 0.6896 MB / 0.5089 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.513e-05/0.1394, allocations: 0 / 0.5089 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1397, allocations: 87.64 kB / 0.509 GB, free: 4.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1399, allocations: 91.62 kB / 0.5091 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.1403, allocations: 139.7 kB / 0.5092 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.1406, allocations: 267.5 kB / 0.5095 GB, free: 3.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1408, allocations: 29.48 kB / 0.5095 GB, free: 3.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1409, allocations: 115.6 kB / 0.5096 GB, free: 3.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1411, allocations: 167.5 kB / 0.5098 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.1412, allocations: 16 kB / 0.5098 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1413, allocations: 91.86 kB / 0.5099 GB, free: 3.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.1414, allocations: 71.75 kB / 0.5099 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.1415, allocations: 83.45 kB / 0.51 GB, free: 3.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.1418, allocations: 239 kB / 0.5102 GB, free: 2.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1418, allocations: 7.938 kB / 0.5102 GB, free: 2.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1418, allocations: 0 / 0.5102 GB, free: 2.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1418, allocations: 0 / 0.5102 GB, free: 2.824 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.001297/0.1431, allocations: 0.6324 MB / 0.5109 GB, free: 2.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1431, allocations: 12.75 kB / 0.5109 GB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.1432, allocations: 24.8 kB / 0.5109 GB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.1438, allocations: 314.9 kB / 0.5112 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1438, allocations: 4.375 kB / 0.5112 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.1439, allocations: 12.38 kB / 0.5112 GB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1441, allocations: 154.5 kB / 0.5114 GB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1442, allocations: 0 / 0.5114 GB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1442, allocations: 4 kB / 0.5114 GB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1442, allocations: 0 / 0.5114 GB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.1444, allocations: 139.9 kB / 0.5115 GB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.1452, allocations: 0.5042 MB / 0.512 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.1456, allocations: 185 kB / 0.5122 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1457, allocations: 92.81 kB / 0.5123 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1458, allocations: 7.938 kB / 0.5123 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.146, allocations: 178.6 kB / 0.5124 GB, free: 420 kB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.146, allocations: 0 / 0.5124 GB, free: 420 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001269/0.1473, allocations: 0.5804 MB / 0.513 GB, free: 15.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.1474, allocations: 85.11 kB / 0.5131 GB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.1479, allocations: 304.9 kB / 0.5134 GB, free: 15.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.148, allocations: 29.7 kB / 0.5134 GB, free: 15.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1481, allocations: 136.1 kB / 0.5135 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.1481, allocations: 67.47 kB / 0.5136 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.1482, allocations: 41.7 kB / 0.5136 GB, free: 15.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1484, allocations: 334.8 kB / 0.514 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1486, allocations: 79.95 kB / 0.514 GB, free: 14.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1487, allocations: 90.19 kB / 0.5141 GB, free: 14.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.1501, allocations: 0.5789 MB / 0.5147 GB, free: 13.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1501, allocations: 7.938 kB / 0.5147 GB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007677/0.1509, allocations: 388 kB / 0.5151 GB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.1509, allocations: 41.69 kB / 0.5151 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.151, allocations: 0 / 0.5151 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.1512, allocations: 48.81 kB / 0.5151 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1513, allocations: 27.92 kB / 0.5152 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.1533, allocations: 1.606 MB / 0.5167 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.1536, allocations: 43.94 kB / 0.5168 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1536, allocations: 8 kB / 0.5168 GB, free: 11.67 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.0002798/0.1539, allocations: 188.2 kB / 0.517 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.1539, allocations: 27.86 kB / 0.517 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.154, allocations: 38.11 kB / 0.517 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.154, allocations: 3.938 kB / 0.517 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.154, allocations: 4 kB / 0.517 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.154, allocations: 0 / 0.517 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.1544, allocations: 293.4 kB / 0.5173 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1544, allocations: 0 / 0.5173 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1545, allocations: 15.94 kB / 0.5173 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.1547, allocations: 60.88 kB / 0.5174 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.1547, allocations: 15.94 kB / 0.5174 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.1565, allocations: 1.602 MB / 0.519 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1565, allocations: 0 / 0.519 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/0.1574, allocations: 0.5277 MB / 0.5195 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.1575, allocations: 96.97 kB / 0.5196 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.1575, allocations: 11.94 kB / 0.5196 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1578, allocations: 40.06 kB / 0.5196 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.1578, allocations: 7.984 kB / 0.5196 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.1579, allocations: 8 kB / 0.5196 GB, free: 8.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004777/0.1583, allocations: 244.4 kB / 0.5199 GB, free: 8.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1583, allocations: 4 kB / 0.5199 GB, free: 8.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.1587, allocations: 63.89 kB / 0.5199 GB, free: 8.184 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.0002332/0.1589, allocations: 131.2 kB / 0.5201 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008227/0.1597, allocations: 398 kB / 0.5204 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1597, allocations: 0 / 0.5204 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.1601, allocations: 298 kB / 0.5207 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1604, allocations: 39.16 kB / 0.5208 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000929/0.1613, allocations: 0.493 MB / 0.5213 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.1618, allocations: 0.7673 MB / 0.522 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.666e-05/0.1619, allocations: 29.41 kB / 0.522 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.1619, allocations: 11.44 kB / 0.522 GB, free: 5.922 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1619, allocations: 3.938 kB / 0.522 GB, free: 5.918 MB / 382.1 MB Notification: Performance of Templates: time 0.007413/0.1693, allocations: 2.949 MB / 0.5249 GB, free: 2.98 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] [Calling sys.exit(0), Time elapsed: 4.952816205099225]