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.001403/0.001403, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001565/0.001565, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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.496/1.496, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.1079/0.1079, allocations: 18.14 MB / 278.5 MB, free: 11.31 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.525e-06/2.525e-06, allocations: 0 / 356.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.874e-05/4.127e-05, allocations: 2.312 kB / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.004477/0.004518, allocations: 1.737 MB / 358.2 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.006511, allocations: 0.6739 MB / 358.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.006618, allocations: 4 kB / 358.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.00703, allocations: 79.53 kB / 359 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.007352, allocations: 87.64 kB / 359.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.008211, allocations: 191.4 kB / 359.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.008641, allocations: 199.5 kB / 359.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.008763, allocations: 29.72 kB / 359.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.008978, allocations: 99.7 kB / 359.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.009337, allocations: 139.7 kB / 359.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.00939, allocations: 16 kB / 359.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.00961, allocations: 83.91 kB / 359.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.009755, allocations: 63.77 kB / 359.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.009892, allocations: 51.83 kB / 359.9 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.01044, allocations: 263.2 kB / 360.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01045, allocations: 0 / 360.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01045, allocations: 4 kB / 360.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.01046, 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.002009/0.01246, allocations: 0.5493 MB / 360.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.01251, allocations: 12.92 kB / 360.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.01264, allocations: 32.8 kB / 360.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/0.01362, allocations: 260.7 kB / 361.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.01364, allocations: 8.375 kB / 361.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.0137, allocations: 16.38 kB / 361.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.01422, allocations: 179.7 kB / 361.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01423, allocations: 192 / 361.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.01426, allocations: 4.375 kB / 361.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.01427, allocations: 7.938 kB / 361.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.01478, allocations: 161.6 kB / 361.4 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.01607, allocations: 424.2 kB / 361.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.01683, allocations: 216 kB / 362 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.01716, allocations: 126.5 kB / 362.2 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.01718, allocations: 8.062 kB / 362.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.01768, allocations: 214.7 kB / 362.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.01768, allocations: 0 / 362.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.002172/0.01985, allocations: 0.5686 MB / 363 MB, free: 1.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.01995, allocations: 81.11 kB / 363 MB, free: 1.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.02092, allocations: 317.8 kB / 363.3 MB, free: 1.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.02097, allocations: 33.69 kB / 363.4 MB, free: 1.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.02113, allocations: 136 kB / 363.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.02125, allocations: 59.48 kB / 363.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.02137, allocations: 37.7 kB / 363.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002745/0.02165, allocations: 334.8 kB / 363.9 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.02194, allocations: 113.7 kB / 364 MB, free: 412 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.02224, allocations: 121.6 kB / 364.2 MB, free: 284 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.02463, allocations: 0.5916 MB / 364.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02463, allocations: 0 / 364.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001266/0.0259, allocations: 444.7 kB / 365.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.02597, allocations: 44.81 kB / 365.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.02598, allocations: 0 / 365.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.02637, allocations: 60.73 kB / 365.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.02655, allocations: 24 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.02908, allocations: 1.468 MB / 366.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.02951, allocations: 39.84 kB / 366.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.02955, allocations: 4 kB / 366.8 MB, free: 13.46 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.0003714/0.02992, allocations: 195.5 kB / 367 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.03001, allocations: 31.86 kB / 367.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.03011, allocations: 38.05 kB / 367.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.03011, allocations: 0 / 367.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.03012, allocations: 11.94 kB / 367.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.03013, allocations: 0 / 367.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.03054, allocations: 209.1 kB / 367.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.03054, allocations: 0 / 367.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.03073, allocations: 16 kB / 367.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003361/0.03106, allocations: 60.8 kB / 367.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.0311, allocations: 4.047 kB / 367.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.03349, allocations: 1.476 MB / 368.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.03349, allocations: 4.062 kB / 368.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.03514, allocations: 0.6041 MB / 369.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.03521, allocations: 19.86 kB / 369.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.03527, allocations: 8 kB / 369.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.03568, allocations: 27.95 kB / 369.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.03577, allocations: 15.97 kB / 369.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.03581, allocations: 12 kB / 369.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008305/0.03664, allocations: 241.1 kB / 369.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.03665, allocations: 0 / 369.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005734/0.03722, allocations: 67.89 kB / 369.9 MB, free: 10.24 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.000333/0.03755, allocations: 131.1 kB / 370 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.03872, allocations: 469.2 kB / 370.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03873, allocations: 0 / 370.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006941/0.03942, allocations: 335.5 kB / 370.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.03986, allocations: 39.92 kB / 370.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.04109, allocations: 0.5101 MB / 371.3 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.04129, allocations: 156.4 kB / 371.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.306e-05/0.04138, allocations: 33.47 kB / 371.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.04143, allocations: 12.5 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.04143, allocations: 0 / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of Templates: time 0.007632/0.04906, allocations: 3.049 MB / 374.6 MB, free: 5.434 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.476535482914187]