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.0007307/0.0007307, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009019/0.001633, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007105/0.0007105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009239/0.001634, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9627/0.9627, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08741/1.05, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.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.07647/0.07647, allocations: 18.11 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01087/0.08734, allocations: 6.785 MB / 268.9 MB, free: 6.34 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.503e-06/1.503e-06, allocations: 0 / 270.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.395e-05, allocations: 2.312 kB / 270.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.003183/0.003207, allocations: 1.819 MB / 272.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.004459, allocations: 0.7127 MB / 272.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.00456, allocations: 0 / 272.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.004814, allocations: 71.61 kB / 272.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.005005, allocations: 107.5 kB / 273 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.005508, allocations: 163.5 kB / 273.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.005838, allocations: 207.4 kB / 273.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.005942, allocations: 30.36 kB / 273.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.00617, allocations: 151.7 kB / 273.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.006396, allocations: 127.7 kB / 273.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.006433, allocations: 16 kB / 273.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.006618, allocations: 99.91 kB / 273.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.619e-05/0.006714, allocations: 55.78 kB / 273.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.006781, allocations: 35.88 kB / 273.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.00705, allocations: 183.3 kB / 274.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.007064, allocations: 0 / 274.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.007065, allocations: 0 / 274.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.00708, allocations: 0 / 274.1 MB, free: 1.113 MB / 266.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.0008332/0.007913, allocations: 0.4969 MB / 274.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.007946, allocations: 12.03 kB / 274.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.008006, allocations: 20.92 kB / 274.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.008325, allocations: 209.5 kB / 274.8 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.008344, allocations: 8.375 kB / 274.8 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.008374, allocations: 20.33 kB / 274.8 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.008578, allocations: 121.2 kB / 274.9 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.008589, allocations: 192 / 274.9 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.008606, allocations: 8.375 kB / 274.9 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.008614, allocations: 3.938 kB / 275 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.008748, allocations: 69.66 kB / 275 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/0.1235, allocations: 274.6 kB / 275.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.1238, allocations: 169.3 kB / 275.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.1239, allocations: 64.88 kB / 275.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1239, allocations: 3.594 kB / 275.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1241, allocations: 163.5 kB / 275.7 MB, free: 3.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/0.1241, allocations: 0 / 275.7 MB, free: 3.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006185/0.1247, allocations: 320.5 kB / 276 MB, free: 2.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1247, allocations: 87.2 kB / 276.1 MB, free: 2.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1249, allocations: 217.6 kB / 276.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1249, allocations: 28.52 kB / 276.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.1249, allocations: 110.2 kB / 276.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.125, allocations: 64.23 kB / 276.5 MB, free: 2.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.149e-05/0.125, allocations: 37.48 kB / 276.5 MB, free: 2.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.1251, allocations: 341.5 kB / 276.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.1251, allocations: 55.72 kB / 276.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.637e-05/0.1252, allocations: 50.52 kB / 277 MB, free: 2.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1254, allocations: 207.4 kB / 277.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1254, allocations: 0 / 277.2 MB, free: 2.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005948/0.126, allocations: 202.8 kB / 277.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.126, allocations: 39.89 kB / 277.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.126, allocations: 0.5938 kB / 277.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.1262, allocations: 42.53 kB / 277.4 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.1263, allocations: 22.36 kB / 277.5 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000802/0.1271, allocations: 1.26 MB / 278.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1272, allocations: 21.94 kB / 278.7 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1272, allocations: 4.688 kB / 278.8 MB, free: 0.8398 MB / 266.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.0001292/0.1273, allocations: 164.6 kB / 278.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1273, allocations: 31.61 kB / 278.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.1274, allocations: 28.92 kB / 279 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1274, allocations: 4.484 kB / 279 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1274, allocations: 2.469 kB / 279 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1274, allocations: 1.969 kB / 279 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1275, allocations: 130 kB / 279.1 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1275, allocations: 0 / 279.1 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.1276, allocations: 17.19 kB / 279.1 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.1276, allocations: 27.09 kB / 279.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.1278, allocations: 41.55 kB / 279.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1278, allocations: 8.125 kB / 279.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000792/0.1286, allocations: 1.263 MB / 280.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1286, allocations: 3.281 kB / 280.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.129, allocations: 342.6 kB / 280.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.129, allocations: 11.8 kB / 280.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.1291, allocations: 8.188 kB / 280.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1291, allocations: 18.95 kB / 280.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1292, allocations: 4.969 kB / 280.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.91e-05/0.1292, allocations: 73.83 kB / 280.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1292, allocations: 1.781 kB / 280.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.1295, allocations: 67.81 kB / 281 MB, free: 15.22 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.0001723/0.1297, allocations: 115.7 kB / 281.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.1301, allocations: 351 kB / 281.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.1301, allocations: 4.047 kB / 281.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.1303, allocations: 277.2 kB / 281.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.1305, allocations: 44.11 kB / 281.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.1312, allocations: 435.4 kB / 282.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.722e-05/0.1313, allocations: 97.23 kB / 282.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.1314, allocations: 15.72 kB / 282.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1315, allocations: 83.11 kB / 282.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1315, allocations: 0 / 282.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of Templates: time 0.006688/0.1382, allocations: 3.258 MB / 285.6 MB, free: 14.15 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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.722693578340113]