Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.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.000706/0.000706, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001724, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006804/0.0006804, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000986/0.001666, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9865/0.9865, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09044/1.077, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.08133/0.08133, allocations: 18.12 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01377/0.0951, allocations: 6.786 MB / 269.1 MB, free: 6.238 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.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.754e-05, allocations: 9.344 kB / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.001556/0.001573, allocations: 1.151 MB / 271.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.00293, allocations: 1.373 MB / 273 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.003009, allocations: 3.938 kB / 273 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.003192, allocations: 67.5 kB / 273.1 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.003331, allocations: 87.59 kB / 273.2 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.003639, allocations: 207.4 kB / 273.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.003854, allocations: 255.4 kB / 273.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.003939, allocations: 46.41 kB / 273.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.004114, allocations: 192.3 kB / 273.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.004289, allocations: 167.6 kB / 274 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.004327, allocations: 24 kB / 274.1 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.922e-05/0.004356, allocations: 24 kB / 274.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.004455, allocations: 91.75 kB / 274.2 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.004521, allocations: 47.81 kB / 274.2 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004697, allocations: 179.3 kB / 274.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.004708, allocations: 0 / 274.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004708, allocations: 0 / 274.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.004718, allocations: 0 / 274.4 MB, free: 0.8555 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006237/0.005341, allocations: 0.5617 MB / 275 MB, free: 272 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.43e-05/0.005366, allocations: 16.03 kB / 275 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.00541, allocations: 28.91 kB / 275 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1268/0.1322, allocations: 247 kB / 275.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.1322, allocations: 12.34 kB / 275.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.1323, allocations: 16.56 kB / 275.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.1326, allocations: 114.4 kB / 275.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1326, allocations: 192 / 275.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1326, allocations: 9.312 kB / 275.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1326, allocations: 4 kB / 275.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1327, allocations: 59.28 kB / 275.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.1334, allocations: 376.8 kB / 275.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.1337, allocations: 179.1 kB / 276 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.1338, allocations: 43.8 kB / 276 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1338, allocations: 4.219 kB / 276.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.1338, allocations: 40.19 kB / 276.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.634e-06/0.1338, allocations: 0 / 276.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009072/0.1347, allocations: 314.5 kB / 276.4 MB, free: 3.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.1347, allocations: 54.36 kB / 276.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1349, allocations: 260.8 kB / 276.7 MB, free: 2.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.135, allocations: 25.7 kB / 276.7 MB, free: 2.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.135, allocations: 124.3 kB / 276.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.1351, allocations: 94.16 kB / 276.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.1351, allocations: 44.33 kB / 277 MB, free: 2.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.1352, allocations: 343.5 kB / 277.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.1352, allocations: 22.48 kB / 277.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.897e-05/0.1353, allocations: 21.27 kB / 277.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.1355, allocations: 124.8 kB / 277.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1355, allocations: 0 / 277.5 MB, free: 2.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003461/0.1358, allocations: 187.3 kB / 277.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1359, allocations: 7.5 kB / 277.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1359, allocations: 1.219 kB / 277.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.1361, allocations: 53.69 kB / 277.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1362, allocations: 41.95 kB / 277.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008815/0.1371, allocations: 1.346 MB / 279.1 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1372, allocations: 25.12 kB / 279.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1373, allocations: 7.594 kB / 279.2 MB, free: 1.184 MB / 266.7 MB Warning: Assuming fixed start value for the following 7 variables: Cff.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.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: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.1374, allocations: 142.9 kB / 279.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.1375, allocations: 23.98 kB / 279.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.1375, allocations: 44.19 kB / 279.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1375, allocations: 3.156 kB / 279.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1375, allocations: 2.219 kB / 279.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1375, allocations: 1.922 kB / 279.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1378, allocations: 160.9 kB / 279.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1378, allocations: 0.7188 kB / 279.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1379, allocations: 33.14 kB / 279.6 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.138, allocations: 38.31 kB / 279.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.1381, allocations: 55.23 kB / 279.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.1382, allocations: 8.812 kB / 279.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009087/0.1391, allocations: 1.355 MB / 281 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1391, allocations: 0 / 281 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.1395, allocations: 373.3 kB / 281.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1396, allocations: 6.781 kB / 281.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1397, allocations: 12.59 kB / 281.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.1397, allocations: 15.03 kB / 281.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1398, allocations: 8.453 kB / 281.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1399, allocations: 94.72 kB / 281.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1399, allocations: 3.844 kB / 281.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.1402, allocations: 65.14 kB / 281.6 MB, free: 15.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2],Cff.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.1403, allocations: 87 kB / 281.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.1406, allocations: 234.5 kB / 281.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.1407, allocations: 4.094 kB / 281.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1409, allocations: 206.7 kB / 282.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1412, allocations: 199.3 kB / 282.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.1421, allocations: 0.5633 MB / 282.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.1422, allocations: 113.5 kB / 283 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.347e-05/0.1423, allocations: 26.59 kB / 283 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1425, allocations: 85.59 kB / 283.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1425, allocations: 0.6562 kB / 283.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of Templates: time 0.007949/0.1504, allocations: 4.237 MB / 287.3 MB, free: 14.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8957292903214693]