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.00187/0.00187, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.00231/0.00231, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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.46/1.46, allocations: 177.2 MB / 203.9 MB, free: 5.594 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.1097/0.1097, allocations: 18.15 MB / 278.5 MB, free: 11.32 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.914e-06/1.914e-06, allocations: 0 / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.342e-05/4.534e-05, allocations: 2.312 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003992/0.004037, allocations: 1.95 MB / 358.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.005513, allocations: 0.6311 MB / 359.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.005638, allocations: 7.875 kB / 359.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.005976, allocations: 63.38 kB / 359.2 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.006155, allocations: 39.67 kB / 359.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.006495, allocations: 151.7 kB / 359.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.006888, allocations: 300 kB / 359.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.007049, allocations: 62.53 kB / 359.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.007222, allocations: 115.6 kB / 359.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.007424, allocations: 111.6 kB / 359.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.007478, allocations: 28 kB / 360 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.323e-05/0.007522, allocations: 31.94 kB / 360 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.007646, allocations: 87.72 kB / 360.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.007761, allocations: 87.72 kB / 360.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.008133, allocations: 279 kB / 360.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.008136, allocations: 0 / 360.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.008137, allocations: 0 / 360.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.008142, allocations: 0 / 360.4 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.001389/0.009531, allocations: 0.5561 MB / 361 MB, free: 3.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.009565, allocations: 8.922 kB / 361 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.00968, allocations: 52.75 kB / 361.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.01053, allocations: 248.8 kB / 361.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.01058, allocations: 29.03 kB / 361.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.01064, allocations: 28.38 kB / 361.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.01122, allocations: 303.8 kB / 361.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.01123, allocations: 192 / 361.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.01126, allocations: 12.38 kB / 361.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.01128, allocations: 11.94 kB / 361.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.01175, allocations: 213.8 kB / 361.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.01387, allocations: 1.055 MB / 362.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.01435, allocations: 199.1 kB / 363.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.01455, allocations: 97.28 kB / 363.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.01458, allocations: 4.234 kB / 363.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.01462, allocations: 38.8 kB / 363.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.273e-06/0.01462, allocations: 0 / 363.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007616/0.01538, allocations: 342.5 kB / 363.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.01543, allocations: 59.34 kB / 363.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.0159, allocations: 269.6 kB / 363.9 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.01594, allocations: 29.7 kB / 364 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.01609, allocations: 176.6 kB / 364.1 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.01619, allocations: 103.1 kB / 364.2 MB, free: 288 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.01631, allocations: 78.02 kB / 364.3 MB, free: 200 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.01655, allocations: 338.8 kB / 364.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.01677, allocations: 100.8 kB / 364.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.01709, allocations: 185.1 kB / 364.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.01914, allocations: 0.6185 MB / 365.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01915, allocations: 0 / 365.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007099/0.01986, allocations: 384.7 kB / 365.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01987, allocations: 6.969 kB / 365.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.01988, allocations: 4 kB / 365.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.01991, allocations: 4 kB / 365.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.02052, allocations: 99.88 kB / 366 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.02054, allocations: 15.86 kB / 366 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.02084, allocations: 56.06 kB / 366.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.02087, allocations: 12 kB / 366.1 MB, free: 14.32 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.0002532/0.02112, allocations: 154.3 kB / 366.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.0212, allocations: 35.81 kB / 366.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.02182, allocations: 296.9 kB / 366.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.02183, allocations: 7.984 kB / 366.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.02184, allocations: 7.938 kB / 366.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.02184, allocations: 0 / 366.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.02239, allocations: 273.1 kB / 366.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02239, allocations: 0 / 366.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.02283, allocations: 63.97 kB / 366.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.02283, allocations: 4 kB / 366.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.02287, allocations: 11.98 kB / 366.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02287, allocations: 7.938 kB / 366.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02287, allocations: 0 / 366.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.02368, allocations: 496.4 kB / 367.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.02374, allocations: 27.8 kB / 367.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.02378, allocations: 8 kB / 367.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.02405, allocations: 23.97 kB / 367.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.02414, allocations: 28.06 kB / 367.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.02416, allocations: 19.88 kB / 367.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003402/0.0245, allocations: 189.2 kB / 367.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0245, allocations: 0 / 367.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.02485, allocations: 59.89 kB / 367.8 MB, free: 12.58 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.0001677/0.02502, allocations: 107.2 kB / 367.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005775/0.0256, allocations: 251.7 kB / 368.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.0256, allocations: 0 / 368.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.02585, allocations: 123.9 kB / 368.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.02659, allocations: 33.09 kB / 368.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.02835, allocations: 0.6569 MB / 368.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.02856, allocations: 176.8 kB / 369.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.02874, allocations: 42.95 kB / 369.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.02885, allocations: 28.48 kB / 369.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02885, allocations: 0 / 369.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Templates: time 0.007346/0.03619, allocations: 2.667 MB / 371.8 MB, free: 8.477 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6207455300027505]