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.001297/0.001297, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001577/0.001577, allocations: 160.3 kB / 23.01 MB, free: 4.957 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.104/0.104, 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_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: 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.002218/0.002218, allocations: 71.89 kB / 414.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1177, allocations: 59.57 MB / 474.2 MB, free: 8.812 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.002379/0.1201, allocations: 1.088 MB / 475.3 MB, free: 7.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1219, allocations: 1.323 MB / 476.6 MB, free: 6.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.122, allocations: 8 kB / 476.6 MB, free: 6.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1223, allocations: 71.55 kB / 476.7 MB, free: 6.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1226, allocations: 79.59 kB / 476.8 MB, free: 6.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1229, allocations: 159.7 kB / 476.9 MB, free: 6.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.1236, allocations: 471.1 kB / 477.4 MB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1237, allocations: 32.56 kB / 477.4 MB, free: 5.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1239, allocations: 175.5 kB / 477.6 MB, free: 5.406 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.1243, allocations: 211.2 kB / 477.8 MB, free: 5.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.1243, allocations: 20 kB / 477.8 MB, free: 5.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.1244, allocations: 24 kB / 477.8 MB, free: 5.152 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1245, allocations: 111.7 kB / 478 MB, free: 5.043 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1246, allocations: 95.44 kB / 478.1 MB, free: 4.949 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.125, allocations: 278.7 kB / 478.3 MB, free: 4.676 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.125, allocations: 0 / 478.3 MB, free: 4.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.125, allocations: 0 / 478.3 MB, free: 4.676 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.125, allocations: 0 / 478.3 MB, free: 4.676 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001957/0.1269, allocations: 0.6842 MB / 479 MB, free: 3.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.127, allocations: 12.92 kB / 479 MB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.127, allocations: 32.75 kB / 479.1 MB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.1281, allocations: 358.3 kB / 479.4 MB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1281, allocations: 12.66 kB / 479.4 MB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.1282, allocations: 20.31 kB / 479.4 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1285, allocations: 192.1 kB / 479.6 MB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1285, allocations: 0 / 479.6 MB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1285, allocations: 8 kB / 479.6 MB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1286, allocations: 4 kB / 479.6 MB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.129, allocations: 192.7 kB / 479.8 MB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.1301, allocations: 0.59 MB / 480.4 MB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.1307, allocations: 262.4 kB / 480.7 MB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1309, allocations: 124.7 kB / 480.8 MB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1309, allocations: 0 / 480.8 MB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.131, allocations: 42.5 kB / 480.8 MB, free: 2.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.041e-06/0.131, allocations: 4 kB / 480.8 MB, free: 2.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001908/0.1329, allocations: 0.6137 MB / 481.4 MB, free: 1.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1329, allocations: 55.41 kB / 481.5 MB, free: 1.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009821/0.1339, allocations: 412 kB / 481.9 MB, free: 0.9492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1339, allocations: 29.7 kB / 481.9 MB, free: 0.9141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.134, allocations: 152.5 kB / 482.1 MB, free: 0.7617 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/0.1341, allocations: 91.27 kB / 482.2 MB, free: 0.6719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.1342, allocations: 41.7 kB / 482.2 MB, free: 0.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1344, allocations: 342.8 kB / 482.5 MB, free: 288 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1346, allocations: 107.9 kB / 482.7 MB, free: 180 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.1347, allocations: 108.9 kB / 482.8 MB, free: 72 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2299/0.3647, allocations: 0.7135 MB / 483.5 MB, free: 52.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.3647, allocations: 6.25 kB / 483.5 MB, free: 52.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008297/0.3655, allocations: 441 kB / 483.9 MB, free: 52.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3655, allocations: 3.406 kB / 483.9 MB, free: 52.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3655, allocations: 0 / 483.9 MB, free: 52.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.3658, allocations: 96.75 kB / 484 MB, free: 52.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.366, allocations: 36.59 kB / 484 MB, free: 52.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.3674, allocations: 1.709 MB / 485.8 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.3678, allocations: 66.98 kB / 485.8 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.3678, allocations: 13.88 kB / 485.8 MB, free: 50.94 MB / 446.1 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.0001815/0.368, allocations: 166.2 kB / 486 MB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.368, allocations: 27.78 kB / 486 MB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.3681, allocations: 49.31 kB / 486.1 MB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3681, allocations: 3.188 kB / 486.1 MB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3681, allocations: 0 / 486.1 MB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3681, allocations: 5.109 kB / 486.1 MB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3684, allocations: 264.2 kB / 486.3 MB, free: 50.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3684, allocations: 0 / 486.3 MB, free: 50.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.3686, allocations: 32.69 kB / 486.4 MB, free: 50.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.3689, allocations: 94.05 kB / 486.5 MB, free: 50.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.3689, allocations: 11.34 kB / 486.5 MB, free: 50.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.3701, allocations: 1.71 MB / 488.2 MB, free: 49.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3701, allocations: 2.844 kB / 488.2 MB, free: 49.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.371, allocations: 0.6189 MB / 488.8 MB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.371, allocations: 38.98 kB / 488.8 MB, free: 49.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3711, allocations: 7.875 kB / 488.8 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.3715, allocations: 60.77 kB / 488.9 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.3716, allocations: 13.41 kB / 488.9 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3716, allocations: 13.67 kB / 488.9 MB, free: 49.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007451/0.3723, allocations: 320.6 kB / 489.2 MB, free: 49.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3723, allocations: 0 / 489.2 MB, free: 49.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.3726, allocations: 67.08 kB / 489.3 MB, free: 49.06 MB / 446.1 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 9.169e-05/0.3727, allocations: 108.8 kB / 489.4 MB, free: 48.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005966/0.3733, allocations: 398.2 kB / 489.8 MB, free: 48.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3733, allocations: 2.938 kB / 489.8 MB, free: 48.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.3736, allocations: 273.1 kB / 490.1 MB, free: 48.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.374, allocations: 45.84 kB / 490.1 MB, free: 48.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3751, allocations: 0.6969 MB / 490.8 MB, free: 48.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.3752, allocations: 180.2 kB / 491 MB, free: 48.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.3753, allocations: 64.98 kB / 491.1 MB, free: 48.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.3754, allocations: 24.72 kB / 491.1 MB, free: 48.14 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3754, allocations: 0 / 491.1 MB, free: 48.14 MB / 446.1 MB Notification: Performance of Templates: time 1.087/1.462, allocations: 3.717 MB / 494.8 MB, free: 47.82 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.069253266090527] Failed to read output from testmodel.py, exit status != 0: 1.4705004079733044 1.4776105929999999 1.3506194839999999 Calling exit ...