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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 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.1475/0.1475, allocations: 22.69 MB / 327.2 MB, free: 7.219 MB / 254.1 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.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=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 0.001847/0.001847, allocations: 70.75 kB / 460.6 MB, free: 41.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1204, allocations: 58.02 MB / 0.5065 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002742/0.1231, allocations: 2.032 MB / 0.5085 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009673/0.1241, allocations: 0.6351 MB / 0.5091 GB, free: 3.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1242, allocations: 7.938 kB / 0.5091 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1245, allocations: 51.47 kB / 0.5092 GB, free: 3.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1247, allocations: 35.72 kB / 0.5092 GB, free: 3.875 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1249, allocations: 127.8 kB / 0.5093 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1252, allocations: 335.9 kB / 0.5096 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1253, allocations: 74.19 kB / 0.5097 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1254, allocations: 119.6 kB / 0.5098 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1256, allocations: 155.3 kB / 0.51 GB, free: 3.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.1256, allocations: 28 kB / 0.51 GB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.1257, allocations: 24 kB / 0.51 GB, free: 3.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.1257, allocations: 99.66 kB / 0.5101 GB, free: 2.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.1258, allocations: 127.2 kB / 0.5102 GB, free: 2.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.126, allocations: 266.8 kB / 0.5105 GB, free: 2.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.126, allocations: 0 / 0.5105 GB, free: 2.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.126, allocations: 0 / 0.5105 GB, free: 2.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.126, allocations: 0 / 0.5105 GB, free: 2.543 MB / 366.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.001135/0.1272, allocations: 0.6352 MB / 0.5111 GB, free: 1.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1272, allocations: 12.75 kB / 0.5111 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.1273, allocations: 40.7 kB / 0.5112 GB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.1277, allocations: 299.5 kB / 0.5114 GB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.1277, allocations: 24.94 kB / 0.5115 GB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1278, allocations: 28.38 kB / 0.5115 GB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1282, allocations: 302.5 kB / 0.5118 GB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1282, allocations: 3.938 kB / 0.5118 GB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1282, allocations: 19.94 kB / 0.5118 GB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1283, allocations: 4 kB / 0.5118 GB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.1286, allocations: 222 kB / 0.512 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.1303, allocations: 1.179 MB / 0.5132 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.1308, allocations: 209.6 kB / 0.5134 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.131, allocations: 89.3 kB / 0.5135 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.131, allocations: 4.234 kB / 0.5135 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.131, allocations: 42.72 kB / 0.5135 GB, free: 15.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.131, allocations: 0 / 0.5135 GB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007044/0.1317, allocations: 320 kB / 0.5138 GB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1318, allocations: 59.41 kB / 0.5139 GB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.1322, allocations: 282.5 kB / 0.5141 GB, free: 14.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.1323, allocations: 33.7 kB / 0.5142 GB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1324, allocations: 188.5 kB / 0.5143 GB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.1326, allocations: 103.1 kB / 0.5144 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.1327, allocations: 78.06 kB / 0.5145 GB, free: 14.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1329, allocations: 338.8 kB / 0.5148 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.1332, allocations: 100.8 kB / 0.5149 GB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.1336, allocations: 176.8 kB / 0.5151 GB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.136, allocations: 0.6141 MB / 0.5157 GB, free: 12.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.136, allocations: 3.938 kB / 0.5157 GB, free: 12.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006392/0.1366, allocations: 372.7 kB / 0.5161 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1367, allocations: 7.938 kB / 0.5161 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1367, allocations: 4 kB / 0.5161 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1367, allocations: 4 kB / 0.5161 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.1373, allocations: 103.8 kB / 0.5162 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.1373, allocations: 8.312 kB / 0.5162 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.1376, allocations: 51.7 kB / 0.5162 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.1376, allocations: 19.98 kB / 0.5163 GB, free: 12.32 MB / 382.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 (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.000266/0.1379, allocations: 156.6 kB / 0.5164 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.1379, allocations: 39.73 kB / 0.5164 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.1385, allocations: 301.5 kB / 0.5167 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1385, allocations: 0 / 0.5167 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.1386, allocations: 4 kB / 0.5167 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1386, allocations: 3.984 kB / 0.5167 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.1392, allocations: 365.3 kB / 0.5171 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1392, allocations: 0 / 0.5171 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.1396, allocations: 71.84 kB / 0.5172 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1396, allocations: 7.938 kB / 0.5172 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1396, allocations: 8 kB / 0.5172 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1396, allocations: 7.984 kB / 0.5172 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1396, allocations: 0 / 0.5172 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006888/0.1403, allocations: 491.4 kB / 0.5176 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.1404, allocations: 112.8 kB / 0.5178 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.1404, allocations: 12 kB / 0.5178 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.1407, allocations: 27.91 kB / 0.5178 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.1407, allocations: 23.97 kB / 0.5178 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1408, allocations: 8 kB / 0.5178 GB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00033/0.1411, allocations: 201.9 kB / 0.518 GB, free: 10.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1411, allocations: 0 / 0.518 GB, free: 10.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.1414, allocations: 51.94 kB / 0.5181 GB, free: 10.38 MB / 382.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 (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.0001502/0.1416, allocations: 111.2 kB / 0.5182 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.1421, allocations: 255.7 kB / 0.5184 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1421, allocations: 0 / 0.5184 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.1424, allocations: 123.8 kB / 0.5185 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1427, allocations: 36.45 kB / 0.5186 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.144, allocations: 0.7059 MB / 0.5193 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.1446, allocations: 0.7792 MB / 0.52 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.1447, allocations: 46.95 kB / 0.5201 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.1448, allocations: 23.44 kB / 0.5201 GB, free: 8.246 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1448, allocations: 0 / 0.5201 GB, free: 8.246 MB / 382.1 MB Notification: Performance of Templates: time 0.006713/0.1515, allocations: 2.802 MB / 0.5228 GB, free: 5.449 MB / 382.1 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: 5.0041629653424025]