Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.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.001412/0.001412, allocations: 91.56 kB / 20.45 MB, free: 4.117 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.00132/0.00132, allocations: 169 kB / 23.82 MB, free: 0.75 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 0.9825/0.9825, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.07006/0.07006, allocations: 18.14 MB / 278.9 MB, free: 11.3 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.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 4 kB / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.762e-05, allocations: 5.406 kB / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002855/0.002883, allocations: 2.012 MB / 359.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.003841, allocations: 0.6466 MB / 360 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.003951, allocations: 7.938 kB / 360 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.004315, allocations: 63.38 kB / 360 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.004481, allocations: 35.73 kB / 360.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.004743, allocations: 143.7 kB / 360.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.00504, allocations: 299.9 kB / 360.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.005187, allocations: 74.52 kB / 360.6 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.005304, allocations: 111.7 kB / 360.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.00544, allocations: 115.6 kB / 360.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.005481, allocations: 24 kB / 360.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.828e-05/0.005509, allocations: 28 kB / 360.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.005591, allocations: 79.72 kB / 360.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.005658, allocations: 83.75 kB / 361 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.005869, allocations: 199.2 kB / 361.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005872, allocations: 4 kB / 361.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005873, allocations: 0 / 361.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.005878, allocations: 0 / 361.2 MB, free: 3.895 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007533/0.006632, allocations: 0.6403 MB / 361.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.006668, allocations: 8.922 kB / 361.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.006746, allocations: 56.75 kB / 361.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.007052, allocations: 240.5 kB / 362.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.007084, allocations: 25.03 kB / 362.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.007124, allocations: 28.38 kB / 362.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.007443, allocations: 262 kB / 362.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.007459, allocations: 4.188 kB / 362.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.007479, allocations: 8.375 kB / 362.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.007491, allocations: 11.94 kB / 362.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.007682, allocations: 130.8 kB / 362.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.00899, allocations: 1.233 MB / 363.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.009241, allocations: 147.7 kB / 364 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.009317, allocations: 56.12 kB / 364 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.009342, allocations: 4.234 kB / 364 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.009367, allocations: 45.61 kB / 364.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.009368, allocations: 0 / 364.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003752/0.009744, allocations: 232.6 kB / 364.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.009774, allocations: 59.34 kB / 364.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.009947, allocations: 292.2 kB / 364.7 MB, free: 236 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.009965, allocations: 29.7 kB / 364.7 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.01007, allocations: 223.4 kB / 364.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.01013, allocations: 111 kB / 365 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.01022, allocations: 83.67 kB / 365.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.01035, allocations: 0.5079 MB / 365.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.01044, allocations: 52.83 kB / 365.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.01057, allocations: 172.2 kB / 365.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.01089, allocations: 289 kB / 366.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01089, allocations: 4 kB / 366.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003224/0.01122, allocations: 288.7 kB / 366.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01123, allocations: 8 kB / 366.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01124, allocations: 8 kB / 366.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.01126, allocations: 7.984 kB / 366.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.01158, allocations: 104.1 kB / 366.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.01159, allocations: 11.92 kB / 366.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01172, allocations: 39.77 kB / 366.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.01174, allocations: 16 kB / 366.6 MB, free: 14.18 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: y_filter.y:VARIABLE(flow=false start = y_filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 9 (not1.y,PI_2.LOsat,PI_2.HIsat,PI_1.LOsat,PI_1.HIsat,PI_2.iNoDec,PI_2.iNoInc,PI_1.iNoDec,PI_1.iNoInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.01189, allocations: 185 kB / 366.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.01193, allocations: 39.8 kB / 366.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.01224, allocations: 225 kB / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01224, allocations: 0 / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.01225, allocations: 3.938 kB / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01225, allocations: 4 kB / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.01255, allocations: 260.4 kB / 367.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01255, allocations: 0 / 367.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.01276, allocations: 71.89 kB / 367.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.01276, allocations: 4 kB / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.01278, allocations: 4 kB / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01279, allocations: 4 kB / 367.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01279, allocations: 4 kB / 367.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.01318, allocations: 428.8 kB / 367.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.01321, allocations: 31.78 kB / 367.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.01324, allocations: 8 kB / 367.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.01334, allocations: 19.98 kB / 367.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.0134, allocations: 27.95 kB / 367.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.01341, allocations: 7.938 kB / 367.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.689e-05/0.01351, allocations: 193.1 kB / 368.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01351, allocations: 7.938 kB / 368.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.01372, allocations: 59.89 kB / 368.1 MB, free: 12.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (PI_1.xfb,PI_1.xBias,PI_1.u,PI_1.csfil,PI_2.xfb,PI_2.xBias,PI_2.u,PI_2.csfil,Process.x_scaled[1],Process.x_scaled[2],y_filter.y) * Number of discrete variables: 5 (PI_1.HIsat,PI_1.LOsat,PI_2.HIsat,PI_2.LOsat,not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.325e-05/0.01381, allocations: 102.2 kB / 368.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.01409, allocations: 196.5 kB / 368.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01409, allocations: 0.625 kB / 368.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.0142, allocations: 99.52 kB / 368.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.01444, allocations: 44.23 kB / 368.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.01523, allocations: 0.6116 MB / 369.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.01529, allocations: 96.3 kB / 369.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.26e-05/0.01539, allocations: 42.95 kB / 369.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.01546, allocations: 32.5 kB / 369.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01546, allocations: 4 kB / 369.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of Templates: time 0.00508/0.02054, allocations: 2.747 MB / 372.1 MB, free: 8.539 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.sim & ./AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.028588186018169]