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.001737/0.001737, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.002118/0.002118, allocations: 161.7 kB / 23.54 MB, free: 0.8984 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.497/1.497, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.1081/0.1081, allocations: 18.13 MB / 278.5 MB, free: 11.36 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 1.773e-06/1.773e-06, allocations: 0 / 356.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.614e-05, allocations: 2.312 kB / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.002339/0.002366, allocations: 1.022 MB / 357.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.004319, allocations: 1.28 MB / 358.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.00439, allocations: 3.938 kB / 358.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.004696, allocations: 55.62 kB / 358.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.004902, allocations: 67.61 kB / 358.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.005284, allocations: 167.6 kB / 359.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.005569, allocations: 203.5 kB / 359.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.005675, allocations: 29.66 kB / 359.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.005816, allocations: 103.7 kB / 359.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.006041, allocations: 131.7 kB / 359.6 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.006086, allocations: 16 kB / 359.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.006123, allocations: 20 kB / 359.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.006324, allocations: 95.7 kB / 359.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.006422, allocations: 63.75 kB / 359.8 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.006727, allocations: 235.2 kB / 360 MB, free: 4.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00673, allocations: 0 / 360 MB, free: 4.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006731, allocations: 0 / 360 MB, free: 4.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006735, allocations: 0 / 360 MB, free: 4.73 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.00173/0.008465, allocations: 0.5984 MB / 360.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.008497, allocations: 8.922 kB / 360.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.27e-05/0.00859, allocations: 36.8 kB / 360.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/0.00946, allocations: 304.7 kB / 360.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.00948, allocations: 8.375 kB / 360.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.009522, allocations: 12.38 kB / 360.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.009864, allocations: 170.6 kB / 361.1 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.00988, allocations: 4.141 kB / 361.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.009899, allocations: 8.375 kB / 361.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.009909, allocations: 7.938 kB / 361.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.01028, allocations: 163.9 kB / 361.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.01149, allocations: 0.5273 MB / 361.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.01189, allocations: 210.4 kB / 362 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.0121, allocations: 108.8 kB / 362.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.01212, allocations: 4 kB / 362.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.01216, allocations: 34.56 kB / 362.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.01216, allocations: 0 / 362.2 MB, free: 2.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001909/0.01407, allocations: 0.5869 MB / 362.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.01412, allocations: 51.41 kB / 362.8 MB, free: 1.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.01493, allocations: 349.8 kB / 363.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.01496, allocations: 25.7 kB / 363.2 MB, free: 1.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01508, allocations: 136.6 kB / 363.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.01518, allocations: 83.27 kB / 363.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.01526, allocations: 41.7 kB / 363.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01545, allocations: 334.8 kB / 363.8 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.01563, allocations: 87.94 kB / 363.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01581, allocations: 95.88 kB / 363.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.01801, allocations: 0.6138 MB / 364.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01801, allocations: 0 / 364.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008819/0.01889, allocations: 406.1 kB / 364.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.01891, allocations: 7.984 kB / 365 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01892, allocations: 4 kB / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/0.01958, allocations: 96.77 kB / 365.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.01976, allocations: 27.98 kB / 365.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.02192, allocations: 1.715 MB / 366.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.0223, allocations: 63.78 kB / 366.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.02232, allocations: 8 kB / 366.9 MB, free: 13.57 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.0002374/0.02256, allocations: 155.1 kB / 367 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.02263, allocations: 31.8 kB / 367 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.759e-05/0.02273, allocations: 38.11 kB / 367.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.02273, allocations: 4 kB / 367.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.02274, allocations: 0 / 367.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.02274, allocations: 0 / 367.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.02311, allocations: 233.2 kB / 367.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.02311, allocations: 4 kB / 367.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.0233, allocations: 27.92 kB / 367.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.02366, allocations: 96.77 kB / 367.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.02369, allocations: 15.91 kB / 367.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.02572, allocations: 1.715 MB / 369.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02572, allocations: 0 / 369.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.0268, allocations: 0.5624 MB / 369.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.02686, allocations: 35.8 kB / 369.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.0269, allocations: 15.98 kB / 369.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.02728, allocations: 39.94 kB / 369.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.02735, allocations: 19.97 kB / 369.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.02737, allocations: 4 kB / 369.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007017/0.02807, allocations: 273.1 kB / 370.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02807, allocations: 0 / 370.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.02843, allocations: 59.95 kB / 370.2 MB, free: 10.09 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 0.0001526/0.02858, allocations: 103.1 kB / 370.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007897/0.02937, allocations: 376.9 kB / 370.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02937, allocations: 0 / 370.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.0298, allocations: 254.4 kB / 370.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.03021, allocations: 38.97 kB / 370.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.03138, allocations: 0.5475 MB / 371.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.0316, allocations: 165.4 kB / 371.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.03173, allocations: 50.22 kB / 371.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.0318, allocations: 24.5 kB / 371.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0318, allocations: 0 / 371.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of Templates: time 0.008157/0.03996, allocations: 3.267 MB / 375 MB, free: 5.23 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.630576343042776]