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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2752/0.2752, allocations: 22.34 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003441, allocations: 12 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3393, allocations: 55.98 MB / 437.9 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.001534/0.3409, allocations: 1.644 MB / 439.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.3417, allocations: 0.5899 MB / 440.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.3418, allocations: 3.031 kB / 440.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3421, allocations: 37.17 kB / 440.2 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3422, allocations: 32.25 kB / 440.2 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3424, allocations: 105 kB / 440.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.3426, allocations: 275.6 kB / 440.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3428, allocations: 69.66 kB / 440.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3429, allocations: 112.1 kB / 440.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3431, allocations: 124.4 kB / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3431, allocations: 10.72 kB / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.593e-05/0.3431, allocations: 12.91 kB / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.3432, allocations: 59.77 kB / 441 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.3432, allocations: 59.23 kB / 441 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.3434, allocations: 186 kB / 441.2 MB, free: 37.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3434, allocations: 3.938 kB / 441.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3434, allocations: 0 / 441.2 MB, free: 37.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3434, allocations: 0 / 441.2 MB, free: 37.14 MB / 350.1 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.0009595/0.3444, allocations: 0.5874 MB / 441.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.3444, allocations: 7.938 kB / 441.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.3445, allocations: 32.25 kB / 441.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.3449, allocations: 295.5 kB / 442.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3449, allocations: 27.53 kB / 442.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.345, allocations: 35.28 kB / 442.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.3454, allocations: 294.7 kB / 442.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.3454, allocations: 3.953 kB / 442.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3455, allocations: 11.66 kB / 442.5 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3455, allocations: 5.375 kB / 442.5 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.3459, allocations: 222.6 kB / 442.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3475, allocations: 1.19 MB / 443.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.3478, allocations: 204.9 kB / 444.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.348, allocations: 95.3 kB / 444.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.348, allocations: 4.234 kB / 444.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3481, allocations: 45.33 kB / 444.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.794e-06/0.3481, allocations: 0 / 444.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005588/0.3486, allocations: 321 kB / 444.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3487, allocations: 66.06 kB / 444.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.349, allocations: 274.9 kB / 444.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.349, allocations: 36.45 kB / 444.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.3491, allocations: 178 kB / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.3492, allocations: 92.41 kB / 445.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.3492, allocations: 8 kB / 445.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.3492, allocations: 344.2 kB / 445.5 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.3494, allocations: 94.67 kB / 445.6 MB, free: 34.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.3496, allocations: 184.6 kB / 445.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.3498, allocations: 121 kB / 445.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3498, allocations: 0 / 445.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000482/0.3503, allocations: 370.5 kB / 446.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3504, allocations: 10 kB / 446.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3504, allocations: 0 / 446.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3504, allocations: 9.609 kB / 446.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.3509, allocations: 103.2 kB / 446.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3509, allocations: 5.875 kB / 446.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.3512, allocations: 65.22 kB / 446.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3512, allocations: 19.42 kB / 446.5 MB, free: 33.76 MB / 350.1 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 (PI_1.HIsat,PI_1.LOsat,PI_2.HIsat,PI_2.LOsat,not1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.3514, allocations: 150.3 kB / 446.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3514, allocations: 23.75 kB / 446.7 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.3519, allocations: 301.2 kB / 447 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3519, allocations: 2.906 kB / 447 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3519, allocations: 0 / 447 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3519, allocations: 3.938 kB / 447 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.3524, allocations: 379.5 kB / 447.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3524, allocations: 0 / 447.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.3528, allocations: 73.2 kB / 447.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3528, allocations: 0 / 447.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.3528, allocations: 7.031 kB / 447.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3528, allocations: 3 kB / 447.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3528, allocations: 4 kB / 447.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.3534, allocations: 481 kB / 447.9 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.3534, allocations: 111.6 kB / 448 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.3535, allocations: 6.938 kB / 448 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3537, allocations: 30.23 kB / 448 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.3538, allocations: 24.27 kB / 448.1 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3538, allocations: 7.469 kB / 448.1 MB, free: 32.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.3541, allocations: 198.8 kB / 448.3 MB, free: 32.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.3541, allocations: 4.047 kB / 448.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.3545, allocations: 59.28 kB / 448.3 MB, free: 32.67 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.3546, allocations: 103.5 kB / 448.4 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.3551, allocations: 271.5 kB / 448.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3551, allocations: 0 / 448.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.3553, allocations: 135.8 kB / 448.8 MB, free: 32.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3557, allocations: 32.75 kB / 448.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3568, allocations: 0.8024 MB / 449.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.357, allocations: 0.7857 MB / 450.4 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.3572, allocations: 52.16 kB / 450.5 MB, free: 31.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.3573, allocations: 25.53 kB / 450.5 MB, free: 31.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3573, allocations: 0 / 450.5 MB, free: 31.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004944/0.3622, allocations: 2.271 MB / 452.8 MB, free: 31.06 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1)