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.0009737/0.0009737, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.000984/0.000984, allocations: 173 kB / 24.17 MB, free: 336 kB / 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.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.06412/0.06412, allocations: 18.13 MB / 279.2 MB, free: 11.21 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.373e-06/1.373e-06, allocations: 0 / 304.5 MB, free: 0.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.232e-05, allocations: 3.625 kB / 304.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002246/0.002269, allocations: 1.777 MB / 306.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.003304, allocations: 0.7037 MB / 307 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.0034, allocations: 5.312 kB / 307 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.003694, allocations: 77.3 kB / 307.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.00386, allocations: 87.92 kB / 307.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.004297, allocations: 189.3 kB / 307.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.004538, allocations: 208 kB / 307.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.004626, allocations: 31.3 kB / 307.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004756, allocations: 96.92 kB / 307.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.004961, allocations: 130.7 kB / 307.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.004991, allocations: 16 kB / 307.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.005111, allocations: 86.31 kB / 307.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.005189, allocations: 61.69 kB / 308 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.005246, allocations: 51.73 kB / 308 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.00547, allocations: 208.7 kB / 308.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005472, allocations: 0 / 308.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005473, allocations: 0.7031 kB / 308.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.005476, allocations: 0 / 308.2 MB, free: 14.29 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.0005624/0.006038, allocations: 479 kB / 308.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.006068, allocations: 16.86 kB / 308.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.006112, allocations: 24.91 kB / 308.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.00635, allocations: 205.5 kB / 308.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.006366, allocations: 8.375 kB / 308.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.00639, allocations: 8.375 kB / 308.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.006544, allocations: 119.6 kB / 309.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.006554, allocations: 4.188 kB / 309.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.006565, allocations: 384 / 309.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.006574, allocations: 11.92 kB / 309.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.006672, allocations: 73.22 kB / 309.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.007058, allocations: 273.7 kB / 309.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.007288, allocations: 177.4 kB / 309.6 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.007347, allocations: 66.55 kB / 309.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.00736, allocations: 11.88 kB / 309.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.007502, allocations: 149.6 kB / 309.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.072e-06/0.007504, allocations: 0 / 309.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006365/0.00814, allocations: 312.2 kB / 310.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.008182, allocations: 85.09 kB / 310.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.008322, allocations: 213 kB / 310.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.00834, allocations: 29.7 kB / 310.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.008386, allocations: 112.5 kB / 310.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.008437, allocations: 59.52 kB / 310.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.008492, allocations: 45.62 kB / 310.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.008589, allocations: 338.7 kB / 311 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.008636, allocations: 56.52 kB / 311 MB, free: 11.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.00869, allocations: 51.67 kB / 311.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.008844, allocations: 200.3 kB / 311.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.008846, allocations: 0 / 311.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002075/0.009054, allocations: 197.4 kB / 311.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.009081, allocations: 41.69 kB / 311.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.009087, allocations: 3.938 kB / 311.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/0.009217, allocations: 39.59 kB / 311.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.009271, allocations: 16 kB / 311.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007373/0.01001, allocations: 1.26 MB / 312.8 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.01009, allocations: 11.89 kB / 312.8 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.0101, allocations: 8 kB / 312.9 MB, free: 9.289 MB / 282.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.000143/0.01024, allocations: 163.8 kB / 313 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01027, allocations: 27.92 kB / 313 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.0103, allocations: 26.11 kB / 313.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.0103, allocations: 7.938 kB / 313.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01031, allocations: 0 / 313.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01031, allocations: 0 / 313.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.01044, allocations: 133.7 kB / 313.2 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01044, allocations: 4 kB / 313.2 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.0105, allocations: 12 kB / 313.2 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.01061, allocations: 43.58 kB / 313.3 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01062, allocations: 0 / 313.3 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000674/0.0113, allocations: 1.259 MB / 314.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0113, allocations: 0 / 314.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.01163, allocations: 330.1 kB / 314.8 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.01165, allocations: 27.8 kB / 314.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.01168, allocations: 8 kB / 314.9 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.01174, allocations: 19.92 kB / 314.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.01178, allocations: 11.92 kB / 314.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01179, allocations: 8 kB / 314.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.01185, allocations: 78.8 kB / 315 MB, free: 6.969 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01185, allocations: 0 / 315 MB, free: 6.969 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000185/0.01204, allocations: 63.94 kB / 315.1 MB, free: 6.906 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.0001323/0.01217, allocations: 116.3 kB / 315.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.01249, allocations: 339.2 kB / 315.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.01249, allocations: 4 kB / 315.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.01268, allocations: 276.5 kB / 315.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.01282, allocations: 27.86 kB / 315.8 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.01329, allocations: 449.5 kB / 316.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.378e-05/0.01335, allocations: 92.78 kB / 316.3 MB, free: 5.488 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.01338, allocations: 17.48 kB / 316.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.01348, allocations: 83.36 kB / 316.4 MB, free: 5.387 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01348, allocations: 0 / 316.4 MB, free: 5.387 MB / 282.7 MB Notification: Performance of Templates: time 0.004951/0.01843, allocations: 3.211 MB / 319.6 MB, free: 2.238 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.9333070190623403]