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.001699/0.001699, allocations: 84.23 kB / 20.23 MB, free: 4.203 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.002138/0.002138, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.203 MB / 186.7 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.1403/0.1403, allocations: 18.14 MB / 278.5 MB, free: 11.21 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 2.505e-06/2.505e-06, allocations: 0 / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.302e-05, allocations: 2.312 kB / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.002988/0.003021, allocations: 1.077 MB / 357.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.005426, allocations: 1.326 MB / 358.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.005557, allocations: 3.938 kB / 358.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.005983, allocations: 75.48 kB / 359 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.006291, allocations: 95.45 kB / 359.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.006862, allocations: 207.5 kB / 359.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.007308, allocations: 263.4 kB / 359.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.00745, allocations: 44.48 kB / 359.6 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.007644, allocations: 115.7 kB / 359.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.007938, allocations: 171.6 kB / 359.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.007995, allocations: 20 kB / 359.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.008037, allocations: 24 kB / 359.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.008198, allocations: 111.6 kB / 360 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.008315, allocations: 79.75 kB / 360.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.0087, allocations: 275.1 kB / 360.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.008705, allocations: 0 / 360.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.008709, allocations: 4 kB / 360.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.008715, allocations: 0 / 360.4 MB, free: 4.316 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.002211/0.01093, allocations: 0.6842 MB / 361.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.01096, allocations: 8.922 kB / 361.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.01108, allocations: 44.75 kB / 361.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.0122, allocations: 357.6 kB / 361.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.01222, allocations: 8.656 kB / 361.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.01227, allocations: 20.38 kB / 361.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.01269, allocations: 184.4 kB / 361.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.0127, allocations: 192 / 361.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.01273, allocations: 8.359 kB / 361.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.01274, allocations: 7.938 kB / 361.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.01318, allocations: 204.6 kB / 361.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.01449, allocations: 0.5821 MB / 362.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.01512, allocations: 272.8 kB / 362.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.01537, allocations: 120.8 kB / 362.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.0154, allocations: 4 kB / 362.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.01544, allocations: 42.48 kB / 362.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.192e-06/0.01544, allocations: 0 / 362.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.002167/0.01761, allocations: 0.6114 MB / 363.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.01766, allocations: 55.41 kB / 363.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.01872, allocations: 424 kB / 364 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.01876, allocations: 29.7 kB / 364 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.0189, allocations: 156.5 kB / 364.2 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.019, allocations: 83.23 kB / 364.2 MB, free: 308 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.0191, allocations: 45.7 kB / 364.3 MB, free: 256 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.01932, allocations: 342.8 kB / 364.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.01954, allocations: 103.9 kB / 364.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.01975, allocations: 114.4 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/0.02232, allocations: 0.7052 MB / 365.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.02232, allocations: 0 / 365.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009933/0.02331, allocations: 449.9 kB / 366 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.02334, allocations: 8 kB / 366 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.02335, allocations: 0 / 366 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004374/0.02378, allocations: 104.8 kB / 366.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.02399, allocations: 39.92 kB / 366.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.02629, allocations: 1.715 MB / 367.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.02674, allocations: 71.89 kB / 367.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.02676, allocations: 4 kB / 367.9 MB, free: 12.49 MB / 298.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.0002719/0.02703, allocations: 171.7 kB / 368.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.02712, allocations: 39.75 kB / 368.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.02724, allocations: 46.34 kB / 368.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.02724, allocations: 4 kB / 368.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.02725, allocations: 0 / 368.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.02726, allocations: 3.984 kB / 368.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.02767, allocations: 257.1 kB / 368.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.02768, allocations: 3.984 kB / 368.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.02791, allocations: 31.98 kB / 368.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/0.02829, allocations: 104.9 kB / 368.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.02832, allocations: 11.98 kB / 368.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.03065, allocations: 1.711 MB / 370.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.03065, allocations: 3.938 kB / 370.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.0319, allocations: 0.6263 MB / 370.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.03197, allocations: 35.73 kB / 371 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.03202, allocations: 11.98 kB / 371 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.03249, allocations: 55.98 kB / 371 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.03258, allocations: 19.95 kB / 371 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.0326, allocations: 8 kB / 371 MB, free: 9.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009004/0.0335, allocations: 330.9 kB / 371.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0335, allocations: 0 / 371.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.03388, allocations: 63.95 kB / 371.4 MB, free: 8.809 MB / 298.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.0001715/0.03405, allocations: 99.25 kB / 371.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008581/0.03491, allocations: 410.5 kB / 371.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03491, allocations: 0 / 371.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.03538, allocations: 262.4 kB / 372.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.03583, allocations: 52.25 kB / 372.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.03734, allocations: 0.6906 MB / 372.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.03757, allocations: 177.8 kB / 373.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.03774, allocations: 58.25 kB / 373.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.03783, allocations: 28.48 kB / 373.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03783, allocations: 4 kB / 373.2 MB, free: 6.965 MB / 298.7 MB Notification: Performance of Templates: time 0.009085/0.04691, allocations: 3.741 MB / 376.9 MB, free: 3.258 MB / 298.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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.805362935992889]