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.00198/0.00198, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002109/0.002109, allocations: 161.3 kB / 23.54 MB, free: 0.8789 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 1.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.144/0.144, allocations: 18.14 MB / 278.5 MB, free: 11.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 2.024e-06/2.024e-06, allocations: 0 / 356.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.087e-05, allocations: 6.312 kB / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.005488/0.005519, allocations: 1.74 MB / 358.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.008015, allocations: 0.6934 MB / 358.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.008146, allocations: 4 kB / 359 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.008685, allocations: 75.59 kB / 359 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.00909, allocations: 91.56 kB / 359.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01009, allocations: 183.5 kB / 359.3 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.01053, allocations: 211.5 kB / 359.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.01067, allocations: 25.73 kB / 359.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.01092, allocations: 99.7 kB / 359.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.0113, allocations: 139.7 kB / 359.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.01137, allocations: 16 kB / 359.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.01163, allocations: 83.92 kB / 359.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.01181, allocations: 67.75 kB / 359.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.01195, allocations: 43.84 kB / 360 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000619/0.01257, allocations: 263.2 kB / 360.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01257, allocations: 4 kB / 360.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01257, allocations: 0 / 360.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.01258, allocations: 0 / 360.2 MB, free: 4.488 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.001809/0.01439, allocations: 0.6216 MB / 360.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.01443, allocations: 16.92 kB / 360.9 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.01458, allocations: 32.8 kB / 360.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.01531, allocations: 219.6 kB / 361.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.01534, allocations: 4.375 kB / 361.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.01538, allocations: 12.38 kB / 361.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.01582, allocations: 138.6 kB / 361.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.01583, allocations: 192 / 361.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.01586, allocations: 8.375 kB / 361.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.01587, allocations: 7.938 kB / 361.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.01631, allocations: 101.7 kB / 361.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.0177, allocations: 467.4 kB / 361.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.0184, allocations: 168.6 kB / 362 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.01866, allocations: 81.38 kB / 362.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.01869, allocations: 15.92 kB / 362.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.01913, allocations: 183.1 kB / 362.3 MB, free: 2.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.01913, allocations: 0 / 362.3 MB, free: 2.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.002059/0.02119, allocations: 426 kB / 362.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.0213, allocations: 85.11 kB / 362.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/0.02208, allocations: 336.2 kB / 363.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.02213, allocations: 29.7 kB / 363.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.02237, allocations: 198.8 kB / 363.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.0225, allocations: 67.47 kB / 363.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.02265, allocations: 47.36 kB / 363.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004482/0.0231, allocations: 0.5196 MB / 364 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.02333, allocations: 69.69 kB / 364 MB, free: 428 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.02354, allocations: 69.69 kB / 364.1 MB, free: 352 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.0243, allocations: 258.1 kB / 364.3 MB, free: 72 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.0243, allocations: 0 / 364.3 MB, free: 72 kB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00113/0.02543, allocations: 319.5 kB / 364.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/0.02552, allocations: 40.66 kB / 364.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.02552, allocations: 0 / 364.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.02596, allocations: 51.59 kB / 364.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.02618, allocations: 19.98 kB / 364.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.02926, allocations: 1.912 MB / 366.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.02958, allocations: 27.88 kB / 366.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.02961, allocations: 4 kB / 366.7 MB, free: 13.55 MB / 298.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.0004344/0.03005, allocations: 218.2 kB / 366.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.03015, allocations: 31.84 kB / 367 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.03025, allocations: 30.06 kB / 367 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.03026, allocations: 4 kB / 367 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.03027, allocations: 0 / 367 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.03028, allocations: 3.984 kB / 367 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.03077, allocations: 228.3 kB / 367.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03077, allocations: 0 / 367.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.03099, allocations: 23.98 kB / 367.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.03134, allocations: 47.64 kB / 367.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.03138, allocations: 8 kB / 367.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.03429, allocations: 1.912 MB / 369.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.03429, allocations: 4.031 kB / 369.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.03583, allocations: 475.9 kB / 369.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.03593, allocations: 23.84 kB / 369.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.036, allocations: 8 kB / 369.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.03628, allocations: 11.98 kB / 369.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.03639, allocations: 15.97 kB / 369.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.03643, allocations: 8 kB / 369.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006307/0.03706, allocations: 229.1 kB / 370 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.03706, allocations: 0 / 370 MB, free: 10.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000598/0.03766, allocations: 67.92 kB / 370 MB, free: 10.01 MB / 298.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.0003794/0.03804, allocations: 131.1 kB / 370.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.03918, allocations: 460.2 kB / 370.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.03918, allocations: 0 / 370.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006177/0.0398, allocations: 374 kB / 371 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.04012, allocations: 36.36 kB / 371 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.04108, allocations: 464.3 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.04126, allocations: 144.6 kB / 371.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.372e-05/0.04134, allocations: 29.45 kB / 371.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.04139, allocations: 16.5 kB / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04139, allocations: 0 / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of Templates: time 0.008336/0.04973, allocations: 3.057 MB / 374.7 MB, free: 5.211 MB / 298.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: 4.786603081971407]