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.001334/0.001334, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001354/0.001354, allocations: 162.9 kB / 24.86 MB, free: 8.715 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.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.08035/0.08035, allocations: 18.15 MB / 280 MB, free: 11.16 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 1.442e-06/1.442e-06, allocations: 0 / 358.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.972e-05, allocations: 5.266 kB / 358.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003171/0.0032, allocations: 1.984 MB / 360.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.004278, allocations: 0.6427 MB / 361.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.004414, allocations: 11.88 kB / 361.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.004917, allocations: 55.45 kB / 361.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.005077, allocations: 39.72 kB / 361.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.005375, allocations: 143.7 kB / 361.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.005702, allocations: 299.9 kB / 361.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.005863, allocations: 66.55 kB / 361.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.005996, allocations: 115.6 kB / 361.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.006146, allocations: 115.6 kB / 362 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.006188, allocations: 24 kB / 362 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.081e-05/0.006219, allocations: 28 kB / 362.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.006311, allocations: 83.72 kB / 362.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.739e-05/0.006379, allocations: 79.75 kB / 362.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.006729, allocations: 203.2 kB / 362.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.006732, allocations: 0 / 362.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.006734, allocations: 0 / 362.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.006739, allocations: 0 / 362.4 MB, free: 4.676 MB / 330.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.0008275/0.007567, allocations: 0.6286 MB / 363.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.007603, allocations: 12.92 kB / 363.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.007672, allocations: 52.75 kB / 363.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.007941, allocations: 232.5 kB / 363.3 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.007972, allocations: 21.03 kB / 363.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.008009, allocations: 32.38 kB / 363.4 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.008281, allocations: 245.9 kB / 363.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.008295, allocations: 192 / 363.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.008315, allocations: 12.38 kB / 363.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.008326, allocations: 7.938 kB / 363.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.008627, allocations: 111.3 kB / 363.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.009903, allocations: 1.182 MB / 365 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.01016, allocations: 135.7 kB / 365.1 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.01022, allocations: 44.14 kB / 365.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.01025, allocations: 4.234 kB / 365.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.01027, allocations: 49.61 kB / 365.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.01028, allocations: 0 / 365.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003163/0.01059, allocations: 205.8 kB / 365.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.01063, allocations: 55.41 kB / 365.4 MB, free: 1.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.01093, allocations: 296 kB / 365.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.01094, allocations: 33.64 kB / 365.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.01105, allocations: 223.3 kB / 366 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.01111, allocations: 103.1 kB / 366.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.0112, allocations: 91.62 kB / 366.2 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.01134, allocations: 0.5078 MB / 366.7 MB, free: 196 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.0114, allocations: 44.84 kB / 366.7 MB, free: 152 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.01154, allocations: 164.2 kB / 366.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.0118, allocations: 273.5 kB / 367.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.0118, allocations: 0 / 367.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002857/0.01209, allocations: 264.7 kB / 367.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.0121, allocations: 5.875 kB / 367.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.01211, allocations: 4 kB / 367.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01213, allocations: 4.312 kB / 367.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.01246, allocations: 103.8 kB / 367.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01247, allocations: 7.984 kB / 367.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01258, allocations: 39.72 kB / 367.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.0126, allocations: 12 kB / 367.6 MB, free: 15.2 MB / 346.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_1.iNoInc,PI_1.iNoDec,PI_2.iNoInc,PI_2.iNoDec) * 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.000204/0.0128, allocations: 188.9 kB / 367.8 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.01285, allocations: 43.81 kB / 367.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.01315, allocations: 205.5 kB / 368 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01316, allocations: 4 kB / 368 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01316, allocations: 0 / 368 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.01317, allocations: 7.922 kB / 368 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.0135, allocations: 225 kB / 368.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.0135, allocations: 0 / 368.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.0137, allocations: 67.91 kB / 368.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.0137, allocations: 0 / 368.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.01372, allocations: 8 kB / 368.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01373, allocations: 4 kB / 368.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01373, allocations: 4 kB / 368.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.01411, allocations: 415.7 kB / 368.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.01414, allocations: 23.8 kB / 368.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01417, allocations: 8 kB / 368.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01427, allocations: 11.98 kB / 368.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.01432, allocations: 23.95 kB / 368.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.01434, allocations: 8 kB / 368.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004301/0.01477, allocations: 197 kB / 369 MB, free: 13.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01477, allocations: 0 / 369 MB, free: 13.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.01498, allocations: 59.89 kB / 369 MB, free: 13.65 MB / 346.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 0.0001158/0.0151, allocations: 99.25 kB / 369.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.01534, allocations: 177 kB / 369.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01534, allocations: 0 / 369.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.01543, allocations: 95.5 kB / 369.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.01568, allocations: 39.06 kB / 369.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.01653, allocations: 0.5961 MB / 370 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.01659, allocations: 100.3 kB / 370.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.01668, allocations: 30.97 kB / 370.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.0168, allocations: 110.2 kB / 370.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0168, allocations: 0 / 370.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of Templates: time 0.005163/0.02196, allocations: 2.943 MB / 373.2 MB, free: 9.43 MB / 346.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.168357249815017]