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.001864/0.001864, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.001962/0.001962, allocations: 161.3 kB / 23.54 MB, free: 0.8789 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.1175/0.1175, allocations: 18.15 MB / 278.5 MB, free: 11.34 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.445e-06/2.445e-06, allocations: 0 / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.673e-05, allocations: 2.312 kB / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.004316/0.004353, allocations: 1.089 MB / 357.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.007869, allocations: 1.338 MB / 358.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.008075, allocations: 0 / 358.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.008657, allocations: 75.48 kB / 359 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.009105, allocations: 91.47 kB / 359.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009082/0.01001, allocations: 211.5 kB / 359.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006228/0.01064, allocations: 259.4 kB / 359.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.01084, allocations: 44.5 kB / 359.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.01117, allocations: 119.6 kB / 359.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.01166, allocations: 167.6 kB / 359.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.01177, allocations: 20 kB / 359.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.539e-05/0.01185, allocations: 24 kB / 359.9 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.01209, allocations: 119.6 kB / 360.1 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.01232, allocations: 71.75 kB / 360.1 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.01289, allocations: 271.1 kB / 360.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.0129, allocations: 0 / 360.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.0129, allocations: 0 / 360.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.01291, allocations: 11.94 kB / 360.4 MB, free: 4.289 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.002502/0.01541, allocations: 0.7136 MB / 361.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.01547, allocations: 12.92 kB / 361.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.01564, allocations: 40.75 kB / 361.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.01673, allocations: 276.5 kB / 361.4 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.01678, allocations: 16.66 kB / 361.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.01684, allocations: 12.38 kB / 361.5 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.01733, allocations: 128.4 kB / 361.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.01735, allocations: 192 / 361.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.01739, allocations: 8.375 kB / 361.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.01741, allocations: 3.938 kB / 361.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.01794, allocations: 116.7 kB / 361.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.01995, allocations: 0.5969 MB / 362.3 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.02074, allocations: 177 kB / 362.5 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.02102, allocations: 71.66 kB / 362.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.02106, allocations: 4 kB / 362.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.02111, allocations: 41.39 kB / 362.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 2.124e-06/0.02112, allocations: 0 / 362.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.002858/0.02397, allocations: 458 kB / 363.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.02405, allocations: 51.41 kB / 363.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.02515, allocations: 394.2 kB / 363.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.0252, allocations: 33.64 kB / 363.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.02545, allocations: 215.2 kB / 363.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.02562, allocations: 99.2 kB / 363.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.02579, allocations: 55.36 kB / 363.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004656/0.02626, allocations: 0.5313 MB / 364.4 MB, free: 80 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.02648, allocations: 47.97 kB / 364.5 MB, free: 32 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.02672, allocations: 44.06 kB / 364.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.02751, allocations: 203.2 kB / 364.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02751, allocations: 0 / 364.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001248/0.02876, allocations: 288.9 kB / 365 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.02879, allocations: 4 kB / 365 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.0288, allocations: 0 / 365 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.0294, allocations: 79.61 kB / 365.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.0297, allocations: 39.92 kB / 365.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.03325, allocations: 2.077 MB / 367.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.03369, allocations: 39.86 kB / 367.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.03373, allocations: 8 kB / 367.2 MB, free: 13.12 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.0003695/0.0341, allocations: 198.4 kB / 367.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.03425, allocations: 39.75 kB / 367.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.03442, allocations: 42.34 kB / 367.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.03443, allocations: 4 kB / 367.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.03444, allocations: 0 / 367.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.03445, allocations: 3.984 kB / 367.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.03509, allocations: 256.4 kB / 367.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.03509, allocations: 0 / 367.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.03545, allocations: 35.97 kB / 367.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.03597, allocations: 75.75 kB / 367.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.03601, allocations: 11.92 kB / 367.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.03942, allocations: 2.073 MB / 370 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.03942, allocations: 0 / 370 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.04105, allocations: 0.5015 MB / 370.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.0412, allocations: 39.72 kB / 370.5 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.04126, allocations: 4 kB / 370.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.04173, allocations: 39.92 kB / 370.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.04184, allocations: 19.97 kB / 370.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.04187, allocations: 4 kB / 370.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008374/0.04271, allocations: 274.9 kB / 370.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04271, allocations: 0 / 370.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006444/0.04335, allocations: 63.95 kB / 370.9 MB, free: 9.258 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.0002312/0.04358, allocations: 107.2 kB / 371 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.04471, allocations: 353.5 kB / 371.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.04472, allocations: 4 kB / 371.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.04538, allocations: 281.4 kB / 371.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.04607, allocations: 52.12 kB / 371.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.04812, allocations: 0.6076 MB / 372.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.04843, allocations: 177.8 kB / 372.5 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.04867, allocations: 50.23 kB / 372.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.04879, allocations: 20.5 kB / 372.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.04879, allocations: 0 / 372.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of Templates: time 0.01443/0.06322, allocations: 3.77 MB / 376.3 MB, free: 3.793 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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.758067375048995]