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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1231/0.1231, allocations: 17.69 MB / 33.64 MB, free: 1.746 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001859/0.00186, allocations: 182.3 kB / 38.92 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 249.5 MB, free: 2.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007533/0.0007532, allocations: 96.81 kB / 302.2 MB, free: 4.41 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 16 kB / 366.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2558, allocations: 51.97 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3647, allocations: 78.98 MB / 497.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.3651, allocations: 75.91 kB / 498 MB, free: 9.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.3802, allocations: 4.741 MB / 0.4909 GB, free: 4.484 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.3802, allocations: 4 kB / 0.4909 GB, free: 4.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.3803, allocations: 7.938 kB / 0.4909 GB, free: 4.473 MB / 362.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.001209/0.3815, allocations: 0.582 MB / 0.4915 GB, free: 3.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.3816, allocations: 8.031 kB / 0.4915 GB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.3817, allocations: 24.66 kB / 0.4915 GB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.3824, allocations: 338.5 kB / 0.4919 GB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.3825, allocations: 16.31 kB / 0.4919 GB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.3825, allocations: 8.375 kB / 0.4919 GB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.3829, allocations: 162.1 kB / 0.492 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3829, allocations: 192 / 0.492 GB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3829, allocations: 7.938 kB / 0.492 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.3829, allocations: 7.938 kB / 0.4921 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.3832, allocations: 143.9 kB / 0.4922 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.384, allocations: 492.5 kB / 0.4927 GB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.3845, allocations: 214.2 kB / 0.4929 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3847, allocations: 116.8 kB / 0.493 GB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3847, allocations: 4 kB / 0.493 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.385, allocations: 197 kB / 0.4932 GB, free: 2.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.595e-06/0.385, allocations: 0 / 0.4932 GB, free: 2.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001389/0.3864, allocations: 0.6191 MB / 0.4938 GB, free: 1.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3864, allocations: 85.23 kB / 0.4939 GB, free: 1.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.387, allocations: 320.8 kB / 0.4942 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.387, allocations: 29.7 kB / 0.4942 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.3871, allocations: 132.1 kB / 0.4943 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.3872, allocations: 59.11 kB / 0.4944 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.3872, allocations: 0 / 0.4944 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3873, allocations: 338.8 kB / 0.4947 GB, free: 372 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3875, allocations: 91.94 kB / 0.4948 GB, free: 280 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3877, allocations: 99.75 kB / 0.4949 GB, free: 180 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2279/0.6155, allocations: 0.6342 MB / 0.4955 GB, free: 82.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6156, allocations: 3.688 kB / 0.4955 GB, free: 82.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008812/0.6165, allocations: 423.9 kB / 0.4959 GB, free: 82.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.6165, allocations: 36.14 kB / 0.4959 GB, free: 82.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.6165, allocations: 1.953 kB / 0.4959 GB, free: 82.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.6168, allocations: 60.02 kB / 0.496 GB, free: 82.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.6169, allocations: 27.58 kB / 0.496 GB, free: 82.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.6181, allocations: 1.494 MB / 0.4975 GB, free: 81.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.6184, allocations: 40.34 kB / 0.4975 GB, free: 81.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6184, allocations: 13.39 kB / 0.4975 GB, free: 81.31 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,SP.a,SP.b,SP.last,$PRE.SP.nextEvent,SP.nextEvent,SP.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.6186, allocations: 199.4 kB / 0.4977 GB, free: 81.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.6187, allocations: 26.25 kB / 0.4978 GB, free: 81.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.6187, allocations: 32.88 kB / 0.4978 GB, free: 81.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6188, allocations: 1.188 kB / 0.4978 GB, free: 81.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6188, allocations: 1.219 kB / 0.4978 GB, free: 81.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6188, allocations: 5.391 kB / 0.4978 GB, free: 81.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.6191, allocations: 302.2 kB / 0.4981 GB, free: 80.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6191, allocations: 0.6562 kB / 0.4981 GB, free: 80.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.6192, allocations: 19.33 kB / 0.4981 GB, free: 80.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.6194, allocations: 50.09 kB / 0.4981 GB, free: 80.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.6194, allocations: 14.42 kB / 0.4982 GB, free: 80.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.6205, allocations: 1.495 MB / 0.4996 GB, free: 79.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6205, allocations: 0 / 0.4996 GB, free: 79.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/0.6215, allocations: 0.5861 MB / 0.5002 GB, free: 79.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.6215, allocations: 103.8 kB / 0.5003 GB, free: 79.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.6216, allocations: 12.81 kB / 0.5003 GB, free: 79.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.6218, allocations: 30.03 kB / 0.5003 GB, free: 79.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.6219, allocations: 19.38 kB / 0.5003 GB, free: 79.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.622, allocations: 10.39 kB / 0.5004 GB, free: 79.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004581/0.6224, allocations: 246.6 kB / 0.5006 GB, free: 79.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6224, allocations: 0 / 0.5006 GB, free: 79.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.6228, allocations: 73.05 kB / 0.5007 GB, free: 79.39 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002029/0.623, allocations: 137.8 kB / 0.5008 GB, free: 79.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006505/0.6236, allocations: 430.7 kB / 0.5012 GB, free: 79.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6237, allocations: 1 kB / 0.5012 GB, free: 79.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.6241, allocations: 321.8 kB / 0.5015 GB, free: 78.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.6244, allocations: 26.05 kB / 0.5015 GB, free: 78.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.6252, allocations: 0.5337 MB / 0.5021 GB, free: 78.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.6254, allocations: 0.7592 MB / 0.5028 GB, free: 77.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.573e-05/0.6255, allocations: 30.34 kB / 0.5028 GB, free: 77.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.6256, allocations: 15.52 kB / 0.5028 GB, free: 77.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6256, allocations: 3.938 kB / 0.5028 GB, free: 77.79 MB / 362.7 MB Notification: Performance of Templates: time 0.00616/0.6317, allocations: 2.567 MB / 0.5054 GB, free: 77.61 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.makefile (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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1)