Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.001779/0.001779, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00209/0.00209, allocations: 157.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.552/1.552, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.1024/0.1024, allocations: 17.8 MB / 277.6 MB, free: 15.34 MB / 270.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.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_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.89 kB / 414.7 MB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1146, allocations: 59.55 MB / 474.2 MB, free: 8.832 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.002889/0.1175, allocations: 1.034 MB / 475.2 MB, free: 7.797 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1194, allocations: 1.272 MB / 476.5 MB, free: 6.508 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.1195, allocations: 8 kB / 476.5 MB, free: 6.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1199, allocations: 55.64 kB / 476.6 MB, free: 6.445 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.1201, allocations: 63.67 kB / 476.6 MB, free: 6.383 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1204, allocations: 115.8 kB / 476.8 MB, free: 6.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.1209, allocations: 367.3 kB / 477.1 MB, free: 5.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1211, allocations: 25.8 kB / 477.1 MB, free: 5.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1213, allocations: 143.5 kB / 477.3 MB, free: 5.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.1216, allocations: 159.5 kB / 477.4 MB, free: 5.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.1217, allocations: 20 kB / 477.5 MB, free: 5.566 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.9e-05/0.1217, allocations: 20 kB / 477.5 MB, free: 5.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.1219, allocations: 95.7 kB / 477.6 MB, free: 5.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.122, allocations: 79.5 kB / 477.6 MB, free: 5.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.1223, allocations: 227 kB / 477.9 MB, free: 5.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.1223, allocations: 0 / 477.9 MB, free: 5.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1224, allocations: 0 / 477.9 MB, free: 5.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1224, allocations: 4 kB / 477.9 MB, free: 5.145 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001923/0.1243, allocations: 0.5945 MB / 478.5 MB, free: 4.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.1243, allocations: 12.92 kB / 478.5 MB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.1244, allocations: 28.73 kB / 478.5 MB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/0.1254, allocations: 305.4 kB / 478.8 MB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1254, allocations: 8.375 kB / 478.8 MB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.1254, allocations: 20.36 kB / 478.8 MB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.1258, allocations: 170.9 kB / 479 MB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1258, allocations: 0 / 479 MB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1259, allocations: 8 kB / 479 MB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1259, allocations: 0 / 479 MB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.1263, allocations: 171.9 kB / 479.2 MB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1274, allocations: 0.5273 MB / 479.7 MB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.1278, allocations: 206.4 kB / 479.9 MB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.128, allocations: 116.7 kB / 480 MB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.128, allocations: 4 kB / 480 MB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.128, allocations: 34.56 kB / 480.1 MB, free: 2.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.128, allocations: 3.938 kB / 480.1 MB, free: 2.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.00183/0.1298, allocations: 0.5659 MB / 480.6 MB, free: 2.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1299, allocations: 55.36 kB / 480.7 MB, free: 2.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.1307, allocations: 341.8 kB / 481 MB, free: 1.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1307, allocations: 33.7 kB / 481 MB, free: 1.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1309, allocations: 136.6 kB / 481.2 MB, free: 1.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.131, allocations: 79.31 kB / 481.3 MB, free: 1.609 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.1311, allocations: 37.7 kB / 481.3 MB, free: 1.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1312, allocations: 338.8 kB / 481.6 MB, free: 1.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1314, allocations: 95.88 kB / 481.7 MB, free: 1.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.1316, allocations: 91.88 kB / 481.8 MB, free: 1.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.1336, allocations: 0.6247 MB / 482.4 MB, free: 424 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1336, allocations: 0 / 482.4 MB, free: 424 kB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008061/0.1344, allocations: 406.1 kB / 482.8 MB, free: 8 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1344, allocations: 4 kB / 482.8 MB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1344, allocations: 0 / 482.8 MB, free: 4 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2249/0.3593, allocations: 97.66 kB / 482.9 MB, free: 52.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3595, allocations: 31.48 kB / 483 MB, free: 52.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3609, allocations: 1.701 MB / 484.7 MB, free: 51.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.3612, allocations: 61.92 kB / 484.7 MB, free: 51.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3613, allocations: 4.312 kB / 484.7 MB, free: 51.12 MB / 446.1 MB Warning: Assuming fixed start value for the following 6 variables: 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 (21): * Single equations (assignments): 20 * 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.0001758/0.3614, allocations: 159.6 kB / 484.9 MB, free: 51.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.3615, allocations: 23.2 kB / 484.9 MB, free: 51.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.3616, allocations: 41.31 kB / 484.9 MB, free: 51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3616, allocations: 0 / 484.9 MB, free: 51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3616, allocations: 3.406 kB / 484.9 MB, free: 51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3616, allocations: 7.25 kB / 485 MB, free: 51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3618, allocations: 232.6 kB / 485.2 MB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3618, allocations: 0 / 485.2 MB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.362, allocations: 27.94 kB / 485.2 MB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.3622, allocations: 89.84 kB / 485.3 MB, free: 50.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3622, allocations: 10.12 kB / 485.3 MB, free: 50.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.3634, allocations: 1.709 MB / 487 MB, free: 49.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3634, allocations: 2.625 kB / 487 MB, free: 49.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/0.3642, allocations: 0.5576 MB / 487.6 MB, free: 49.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.3642, allocations: 34.31 kB / 487.6 MB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.3642, allocations: 7.25 kB / 487.6 MB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.3646, allocations: 42.48 kB / 487.7 MB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3647, allocations: 17.81 kB / 487.7 MB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3647, allocations: 3.375 kB / 487.7 MB, free: 49.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005644/0.3652, allocations: 278.3 kB / 487.9 MB, free: 49.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3652, allocations: 0 / 487.9 MB, free: 49.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.3655, allocations: 66.48 kB / 488 MB, free: 49.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * 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 (15): * Single equations (assignments): 14 * 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 8.319e-05/0.3656, allocations: 104.8 kB / 488.1 MB, free: 49.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.3662, allocations: 364.3 kB / 488.5 MB, free: 49.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3662, allocations: 0 / 488.5 MB, free: 49.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.3665, allocations: 253 kB / 488.7 MB, free: 49.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3668, allocations: 34.7 kB / 488.8 MB, free: 49.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.3676, allocations: 0.5745 MB / 489.3 MB, free: 48.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3677, allocations: 157 kB / 489.5 MB, free: 48.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3678, allocations: 51.28 kB / 489.5 MB, free: 48.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.3678, allocations: 20.91 kB / 489.5 MB, free: 48.73 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3678, allocations: 1.75 kB / 489.6 MB, free: 48.73 MB / 446.1 MB Notification: Performance of Templates: time 1.071/1.439, allocations: 3.225 MB / 492.8 MB, free: 48.49 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.815170318004675] Failed to read output from testmodel.py, exit status != 0: 1.4474715110845864 1.459076868 1.334367849 Calling exit ...