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.001016/0.001016, allocations: 81.86 kB / 21.46 MB, free: 3.047 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.001043/0.001043, allocations: 161 kB / 24.85 MB, free: 9.27 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 0.9935/0.9935, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.1264/0.1264, allocations: 18.13 MB / 280 MB, free: 11.16 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_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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 4 kB / 358.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.336e-05, allocations: 2.312 kB / 358.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001893/0.001917, allocations: 1.045 MB / 359.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.003511, allocations: 1.303 MB / 360.9 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003611, allocations: 4 kB / 360.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.003975, allocations: 59.5 kB / 361 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.004129, allocations: 59.75 kB / 361 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.004397, allocations: 175.5 kB / 361.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.004597, allocations: 207.5 kB / 361.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.004714, allocations: 29.64 kB / 361.4 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.004812, allocations: 95.7 kB / 361.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.004974, allocations: 139.7 kB / 361.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.005007, allocations: 20 kB / 361.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.005031, allocations: 24 kB / 361.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.005119, allocations: 87.72 kB / 361.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.005184, allocations: 59.77 kB / 361.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.005355, allocations: 175.3 kB / 362 MB, free: 4.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005358, allocations: 0 / 362 MB, free: 4.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005359, allocations: 0 / 362 MB, free: 4.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005363, allocations: 0 / 362 MB, free: 4.016 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006717/0.006035, allocations: 0.5891 MB / 362.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.00607, allocations: 12.92 kB / 362.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.006126, allocations: 36.75 kB / 362.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.006435, allocations: 236.3 kB / 362.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.006456, allocations: 12.36 kB / 362.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.006483, allocations: 16.38 kB / 362.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.006627, allocations: 86.69 kB / 363 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.006641, allocations: 16.06 kB / 363 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006654, allocations: 4.375 kB / 363 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.00666, allocations: 11.94 kB / 363 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.006748, allocations: 56.88 kB / 363.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.007264, allocations: 451.9 kB / 363.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.007411, allocations: 109.9 kB / 363.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.007465, allocations: 43.67 kB / 363.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.007477, allocations: 4 kB / 363.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.007498, allocations: 37.39 kB / 363.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.0075, allocations: 0 / 363.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007719/0.008272, allocations: 333.1 kB / 364 MB, free: 1.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.008302, allocations: 59.39 kB / 364.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.008462, allocations: 280.2 kB / 364.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.008479, allocations: 33.7 kB / 364.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.008553, allocations: 187.3 kB / 364.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.008608, allocations: 79.27 kB / 364.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.008662, allocations: 55.34 kB / 364.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.008807, allocations: 0.5117 MB / 365.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.008843, allocations: 15.98 kB / 365.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.008877, allocations: 23.92 kB / 365.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.009019, allocations: 114.8 kB / 365.4 MB, free: 460 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.009021, allocations: 0 / 365.4 MB, free: 460 kB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002802/0.009301, allocations: 197 kB / 365.6 MB, free: 252 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.009312, allocations: 12 kB / 365.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.009316, allocations: 0 / 365.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.0095, allocations: 51.58 kB / 365.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.009589, allocations: 31.98 kB / 365.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.01064, allocations: 1.914 MB / 367.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.01072, allocations: 19.89 kB / 367.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.01073, allocations: 4 kB / 367.6 MB, free: 14.1 MB / 298.7 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.0001467/0.01088, allocations: 181.8 kB / 367.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.01092, allocations: 32.05 kB / 367.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.01096, allocations: 30.12 kB / 367.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01096, allocations: 7.938 kB / 367.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01097, allocations: 4 kB / 367.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01097, allocations: 3.984 kB / 367.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.01115, allocations: 181 kB / 368 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01115, allocations: 4 kB / 368 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.01124, allocations: 27.92 kB / 368.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.01138, allocations: 47.64 kB / 368.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.0114, allocations: 11.98 kB / 368.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000926/0.01232, allocations: 1.91 MB / 370 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01233, allocations: 0 / 370 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.01268, allocations: 383.6 kB / 370.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.0127, allocations: 27.8 kB / 370.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.01272, allocations: 12.02 kB / 370.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.01281, allocations: 12 kB / 370.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.01285, allocations: 11.97 kB / 370.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.01287, allocations: 11.94 kB / 370.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.01296, allocations: 197.1 kB / 370.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01296, allocations: 0 / 370.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.01316, allocations: 59.95 kB / 370.7 MB, free: 10.79 MB / 298.7 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.843e-05/0.01325, allocations: 107.2 kB / 370.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.01356, allocations: 293.2 kB / 371.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01356, allocations: 0 / 371.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.01371, allocations: 241.3 kB / 371.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.01394, allocations: 43 kB / 371.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.01446, allocations: 494.4 kB / 371.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.01452, allocations: 100.5 kB / 372 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.01456, allocations: 21.95 kB / 372 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.01464, allocations: 90.19 kB / 372.1 MB, free: 9.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01465, allocations: 4 kB / 372.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of Templates: time 0.004844/0.01949, allocations: 3.535 MB / 375.6 MB, free: 5.816 MB / 298.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.988054594025016]