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.002419/0.002419, allocations: 84.98 kB / 20.23 MB, free: 4.199 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.002811/0.002811, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.531/1.531, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.1309/0.1309, allocations: 18.14 MB / 278.5 MB, free: 11.34 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.024e-06/2.024e-06, allocations: 0 / 356.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.157e-05, allocations: 5.406 kB / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003775/0.003807, allocations: 1.965 MB / 358.5 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.00533, allocations: 0.6467 MB / 359.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.005486, allocations: 7.938 kB / 359.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.005862, allocations: 59.39 kB / 359.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.006062, allocations: 43.59 kB / 359.2 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.006556, allocations: 147.7 kB / 359.4 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.00697, allocations: 300 kB / 359.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.00717, allocations: 74.53 kB / 359.8 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.007343, allocations: 111.7 kB / 359.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.007549, allocations: 107.7 kB / 360 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.007609, allocations: 31.92 kB / 360 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.151e-05/0.00766, allocations: 28 kB / 360 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.007787, allocations: 79.72 kB / 360.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.007902, allocations: 83.73 kB / 360.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.008308, allocations: 283 kB / 360.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.008312, allocations: 0 / 360.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.008313, allocations: 0 / 360.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.008319, allocations: 0 / 360.5 MB, free: 4.254 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.001335/0.009654, allocations: 0.644 MB / 361.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.009709, allocations: 16.91 kB / 361.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.009836, allocations: 52.75 kB / 361.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.01031, allocations: 231.8 kB / 361.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.01035, allocations: 24.97 kB / 361.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.01041, allocations: 32.38 kB / 361.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.01097, allocations: 306 kB / 361.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.01099, allocations: 192 / 361.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01101, allocations: 8.375 kB / 361.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.01103, allocations: 11.94 kB / 361.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.01146, allocations: 185.8 kB / 362 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.01409, allocations: 1.307 MB / 363.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.01456, allocations: 182.1 kB / 363.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.01474, allocations: 80.12 kB / 363.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.01478, allocations: 4.234 kB / 363.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.01481, allocations: 41.62 kB / 363.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/0.01482, allocations: 0 / 363.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006998/0.01552, allocations: 288.6 kB / 363.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.01557, allocations: 59.34 kB / 363.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.01601, allocations: 332.2 kB / 364.2 MB, free: 288 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.01604, allocations: 33.7 kB / 364.3 MB, free: 248 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.01623, allocations: 235.3 kB / 364.5 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.01636, allocations: 103.4 kB / 364.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.01651, allocations: 99.67 kB / 364.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.01683, allocations: 0.5235 MB / 365.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.01702, allocations: 76.84 kB / 365.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.01733, allocations: 208.2 kB / 365.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.01801, allocations: 384.9 kB / 365.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01802, allocations: 0 / 365.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006494/0.01867, allocations: 336.7 kB / 366.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.01868, allocations: 8 kB / 366.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.0187, allocations: 4 kB / 366.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/0.01873, allocations: 4 kB / 366.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.01938, allocations: 104.2 kB / 366.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.01939, allocations: 7.75 kB / 366.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.01963, allocations: 43.77 kB / 366.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.01966, allocations: 12 kB / 366.4 MB, free: 14 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.0002785/0.01994, allocations: 200.9 kB / 366.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.02001, allocations: 35.81 kB / 366.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.02062, allocations: 265 kB / 366.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.02062, allocations: 4 kB / 366.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.02063, allocations: 3.938 kB / 366.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.02065, allocations: 3.984 kB / 366.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.02128, allocations: 296.4 kB / 367.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.02128, allocations: 4 kB / 367.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.02169, allocations: 67.91 kB / 367.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.02169, allocations: 0 / 367.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.02173, allocations: 8 kB / 367.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.02173, allocations: 0 / 367.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.02174, allocations: 8 kB / 367.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.02257, allocations: 0.4968 MB / 367.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.02264, allocations: 27.8 kB / 367.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.02268, allocations: 8 kB / 367.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.02289, allocations: 15.98 kB / 367.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.02299, allocations: 35.83 kB / 367.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.02301, allocations: 7.984 kB / 367.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.02329, allocations: 217.1 kB / 368.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02329, allocations: 4 kB / 368.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.02364, allocations: 55.89 kB / 368.1 MB, free: 12.19 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 0.000163/0.0238, allocations: 109.2 kB / 368.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005489/0.02435, allocations: 256.5 kB / 368.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02435, allocations: 0.625 kB / 368.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.02458, allocations: 119.6 kB / 368.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.02494, allocations: 32.48 kB / 368.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.0263, allocations: 0.6389 MB / 369.3 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.0265, allocations: 172.8 kB / 369.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.02665, allocations: 42.94 kB / 369.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.02675, allocations: 28.5 kB / 369.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.223e-06/0.02676, allocations: 0 / 369.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of Templates: time 0.007818/0.03457, allocations: 2.667 MB / 372.2 MB, free: 8.098 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: 4.744326494983397]