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.0009985/0.0009985, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.001115/0.001115, allocations: 165 kB / 24.85 MB, free: 8.641 MB / 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 0.976/0.976, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.07338/0.07338, allocations: 18.14 MB / 280 MB, free: 11.17 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.012e-06/1.012e-06, allocations: 0 / 358.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.719e-05, allocations: 5.406 kB / 358.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.001986/0.002003, allocations: 1.783 MB / 360.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.002869, allocations: 0.6895 MB / 361 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.00295, allocations: 3.938 kB / 361 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.003243, allocations: 75.66 kB / 361.1 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.003397, allocations: 91.5 kB / 361.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.003814, allocations: 195.5 kB / 361.4 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.004012, allocations: 195.5 kB / 361.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.004087, allocations: 25.78 kB / 361.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.004186, allocations: 103.7 kB / 361.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.004354, allocations: 139.7 kB / 361.8 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.004378, allocations: 16 kB / 361.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.004479, allocations: 83.86 kB / 361.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.004546, allocations: 59.83 kB / 362 MB, free: 5.105 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.0046, allocations: 55.77 kB / 362.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.004809, allocations: 211.3 kB / 362.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004811, allocations: 0 / 362.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.004811, allocations: 0 / 362.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.004815, allocations: 7.938 kB / 362.3 MB, free: 4.836 MB / 330.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.0006695/0.005484, allocations: 0.583 MB / 362.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.005516, allocations: 8.922 kB / 362.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.005574, allocations: 32.8 kB / 362.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.005842, allocations: 224.3 kB / 363.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.005858, allocations: 8.375 kB / 363.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.005877, allocations: 4.375 kB / 363.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.006021, allocations: 128.5 kB / 363.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.006031, allocations: 192 / 363.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.006043, allocations: 4.375 kB / 363.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006049, allocations: 3.938 kB / 363.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.466e-05/0.006144, allocations: 84.17 kB / 363.3 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.006564, allocations: 380.1 kB / 363.7 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.006775, allocations: 140.5 kB / 363.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.006833, allocations: 73.3 kB / 363.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.006843, allocations: 4 kB / 363.9 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.006974, allocations: 152.4 kB / 364.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.006975, allocations: 0 / 364.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.000575/0.00755, allocations: 362.2 kB / 364.4 MB, free: 2.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.007582, allocations: 85.09 kB / 364.5 MB, free: 2.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.007733, allocations: 284.2 kB / 364.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.00775, allocations: 29.7 kB / 364.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.007822, allocations: 190.7 kB / 365 MB, free: 1.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.00787, allocations: 63.47 kB / 365.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.00792, allocations: 47.34 kB / 365.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.008052, allocations: 0.5156 MB / 365.6 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.008097, allocations: 49.69 kB / 365.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.008145, allocations: 63.19 kB / 365.7 MB, free: 1.094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.008309, allocations: 193.6 kB / 365.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008311, allocations: 0 / 365.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002695/0.00858, allocations: 256.6 kB / 366.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.008611, allocations: 45.62 kB / 366.2 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.008614, allocations: 0 / 366.2 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.008743, allocations: 35.64 kB / 366.3 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.008801, allocations: 27.92 kB / 366.3 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008682/0.009669, allocations: 1.807 MB / 368.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.009749, allocations: 15.89 kB / 368.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.00976, allocations: 7.984 kB / 368.1 MB, free: 14.55 MB / 346.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.0001393/0.0099, allocations: 214.3 kB / 368.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.009935, allocations: 35.84 kB / 368.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.009964, allocations: 26.12 kB / 368.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.009966, allocations: 0 / 368.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.009971, allocations: 3.984 kB / 368.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.009973, allocations: 0 / 368.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.0101, allocations: 169.1 kB / 368.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.0101, allocations: 4 kB / 368.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.01019, allocations: 23.92 kB / 368.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.01032, allocations: 31.66 kB / 368.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.01034, allocations: 8 kB / 368.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007961/0.01113, allocations: 1.804 MB / 370.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01113, allocations: 0 / 370.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.0115, allocations: 388.9 kB / 370.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.01152, allocations: 27.98 kB / 370.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01155, allocations: 7.938 kB / 370.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.01162, allocations: 15.98 kB / 370.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.01165, allocations: 11.97 kB / 370.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.01167, allocations: 15.98 kB / 370.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.01176, allocations: 197 kB / 371.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01176, allocations: 0 / 371.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.01196, allocations: 75.89 kB / 371.1 MB, free: 11.3 MB / 346.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.000129/0.01209, allocations: 123.2 kB / 371.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.01242, allocations: 403 kB / 371.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01242, allocations: 3.938 kB / 371.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.0126, allocations: 338.5 kB / 372 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.01277, allocations: 41.05 kB / 372 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.01323, allocations: 440.3 kB / 372.5 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.01328, allocations: 96.19 kB / 372.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.01331, allocations: 13.48 kB / 372.6 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.01341, allocations: 106.2 kB / 372.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01341, allocations: 3.938 kB / 372.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of Templates: time 0.004698/0.01811, allocations: 3.31 MB / 376 MB, free: 6.34 MB / 346.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.922272835858166]