Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.0006986/0.0006986, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008947/0.001593, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006875/0.0006875, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008955/0.001583, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9853/0.9853, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.089, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.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.07594/0.07594, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01092/0.08686, allocations: 6.786 MB / 269.1 MB, free: 6.234 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_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.902e-05, allocations: 2.312 kB / 270.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001884/0.001903, allocations: 1.014 MB / 271.5 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.005464, allocations: 1.268 MB / 272.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.005531, allocations: 7.938 kB / 272.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.005708, allocations: 31.78 kB / 272.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.005816, allocations: 55.7 kB / 272.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.006038, allocations: 107.7 kB / 273 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.006198, allocations: 127.7 kB / 273.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.006281, allocations: 30.25 kB / 273.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.006421, allocations: 107.7 kB / 273.3 MB, free: 2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.006556, allocations: 83.77 kB / 273.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.006586, allocations: 8 kB / 273.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.006607, allocations: 12 kB / 273.4 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.006668, allocations: 39.91 kB / 273.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.006706, allocations: 27.88 kB / 273.4 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.006838, allocations: 91.66 kB / 273.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.006848, allocations: 0 / 273.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006848, allocations: 0 / 273.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.006856, allocations: 0 / 273.5 MB, free: 1.742 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005586/0.007415, allocations: 399.8 kB / 273.9 MB, free: 1.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.007444, allocations: 12.03 kB / 273.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.007485, allocations: 12.92 kB / 273.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.007717, allocations: 186.2 kB / 274.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.007735, allocations: 8.281 kB / 274.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.007761, allocations: 20.33 kB / 274.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.01092, allocations: 69.03 kB / 274.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.01094, allocations: 192 / 274.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.01095, allocations: 4.375 kB / 274.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01096, allocations: 7.938 kB / 274.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.01104, allocations: 19.98 kB / 274.2 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.01147, allocations: 253.8 kB / 274.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.01172, allocations: 142.8 kB / 274.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.01178, allocations: 20.86 kB / 274.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.01179, allocations: 7.938 kB / 274.7 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.01181, allocations: 34.77 kB / 274.7 MB, free: 480 kB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.01181, allocations: 7.938 kB / 274.7 MB, free: 472 kB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005653/0.01238, allocations: 169.2 kB / 274.9 MB, free: 292 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.01241, allocations: 55.41 kB / 274.9 MB, free: 224 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.01254, allocations: 175 kB / 275.1 MB, free: 36 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.01256, allocations: 29.7 kB / 275.1 MB, free: 0 / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.149/0.1616, allocations: 93.09 kB / 275.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.1616, allocations: 46.48 kB / 275.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.1617, allocations: 27.95 kB / 275.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.1617, allocations: 333.7 kB / 275.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.1618, allocations: 14.83 kB / 275.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.1618, allocations: 10.89 kB / 275.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1619, allocations: 74.2 kB / 275.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1619, allocations: 2 kB / 275.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002166/0.1621, allocations: 111.1 kB / 275.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1621, allocations: 6.094 kB / 275.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1621, allocations: 0.6562 kB / 275.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.1623, allocations: 33 kB / 275.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.1624, allocations: 26.19 kB / 275.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007473/0.1631, allocations: 1.261 MB / 277.1 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.1632, allocations: 17.8 kB / 277.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1632, allocations: 4.328 kB / 277.2 MB, free: 1.715 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 9.974e-05/0.1633, allocations: 128.4 kB / 277.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1633, allocations: 10.38 kB / 277.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.1634, allocations: 26.42 kB / 277.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1634, allocations: 2.641 kB / 277.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1634, allocations: 1.188 kB / 277.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1634, allocations: 2.359 kB / 277.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1635, allocations: 114.6 kB / 277.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1635, allocations: 1.344 kB / 277.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.1636, allocations: 19.81 kB / 277.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.1636, allocations: 17.62 kB / 277.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.1637, allocations: 37.39 kB / 277.5 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1637, allocations: 6.531 kB / 277.5 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005529/0.1642, allocations: 1.259 MB / 278.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1642, allocations: 3.938 kB / 278.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1645, allocations: 279.1 kB / 279.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1645, allocations: 6.609 kB / 279.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.1646, allocations: 9.797 kB / 279.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1646, allocations: 8.438 kB / 279.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1646, allocations: 3.875 kB / 279.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.054e-05/0.1647, allocations: 47.44 kB / 279.1 MB, free: 16.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1647, allocations: 0.6562 kB / 279.1 MB, free: 16.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.1648, allocations: 37.8 kB / 279.2 MB, free: 16.13 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],Cfb.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 9.913e-05/0.1649, allocations: 83.72 kB / 279.2 MB, free: 16.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1652, allocations: 185 kB / 279.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.1652, allocations: 6.453 kB / 279.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1654, allocations: 164.4 kB / 279.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.1656, allocations: 109 kB / 279.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.166, allocations: 305.6 kB / 280 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.1661, allocations: 81.47 kB / 280.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.1661, allocations: 14.25 kB / 280.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.1662, allocations: 68.38 kB / 280.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1662, allocations: 0.5312 kB / 280.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of Templates: time 0.005156/0.1714, allocations: 2.41 MB / 282.6 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7453217040747404]