Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.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.0008978/0.0008978, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001107/0.001107, allocations: 165 kB / 23.82 MB, free: 0.7539 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.073/1.073, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.07993/0.07993, allocations: 18.14 MB / 278.9 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.MSL_loop_2dof_noise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 357.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.946e-05, allocations: 5.406 kB / 357.3 MB, free: 8.715 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:1329:5-1330:50:writable] Warning: An inner declaration for outer component globalSeed could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:1329:5-1330:50:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"globalSeed\" component but an inner \"globalSeed\" component is not defined and therefore a default inner \"globalSeed\" component is introduced by the tool. To change the default setting, drag Noise.GlobalSeed into your model and specify the seed. Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise): time 0.02061/0.02064, allocations: 25.64 MB / 382.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.02288, allocations: 1.613 MB / 384.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.023, allocations: 7.938 kB / 384.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.02333, allocations: 71.48 kB / 384.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.02352, allocations: 99.39 kB / 384.7 MB, free: 13.44 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.0244, allocations: 0.584 MB / 385.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.02467, allocations: 307.1 kB / 385.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.02481, allocations: 40.91 kB / 385.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.02494, allocations: 135.6 kB / 385.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.02537, allocations: 188.5 kB / 386 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.02542, allocations: 20 kB / 386 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.02587, allocations: 450.9 kB / 386.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.02598, allocations: 99.66 kB / 386.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.02612, allocations: 79.73 kB / 386.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.02665, allocations: 0.5139 MB / 387.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.02665, allocations: 3.984 kB / 387.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02666, allocations: 4 kB / 387.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.02666, allocations: 0 / 387.1 MB, free: 11.04 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001039/0.0277, allocations: 0.7675 MB / 387.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.02775, allocations: 11.97 kB / 387.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.02789, allocations: 48.75 kB / 388 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.02828, allocations: 309.1 kB / 388.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.0283, allocations: 8.375 kB / 388.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.02833, allocations: 16.38 kB / 388.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.02853, allocations: 107 kB / 388.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.02854, allocations: 7.938 kB / 388.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.02856, allocations: 8 kB / 388.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.02856, allocations: 0 / 388.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.02871, allocations: 72.22 kB / 388.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.02945, allocations: 0.5388 MB / 389 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.02977, allocations: 170.1 kB / 389.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.02986, allocations: 47.67 kB / 389.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.02987, allocations: 4 kB / 389.2 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.03002, allocations: 113 kB / 389.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.253e-06/0.03002, allocations: 0 / 389.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000745/0.03077, allocations: 364.9 kB / 389.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.03081, allocations: 63.33 kB / 389.8 MB, free: 8.254 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.03115, allocations: 354.3 kB / 390.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.03118, allocations: 41.64 kB / 390.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.03128, allocations: 211.4 kB / 390.4 MB, free: 7.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.03133, allocations: 83.28 kB / 390.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.03141, allocations: 75.33 kB / 390.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.03155, allocations: 0.5157 MB / 391 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.03162, allocations: 36.31 kB / 391.1 MB, free: 6.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.03172, allocations: 79.98 kB / 391.1 MB, free: 6.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.03198, allocations: 188.4 kB / 391.3 MB, free: 6.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.03199, allocations: 0 / 391.3 MB, free: 6.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003748/0.03236, allocations: 272.6 kB / 391.6 MB, free: 6.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.03238, allocations: 7.984 kB / 391.6 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.03238, allocations: 0 / 391.6 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/0.03275, allocations: 55.67 kB / 391.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.03287, allocations: 51.91 kB / 391.7 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.03394, allocations: 1.937 MB / 393.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.03405, allocations: 47.78 kB / 393.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.03406, allocations: 8 kB / 393.7 MB, free: 4.113 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: Fn.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.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: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,$PRE.noise.r_raw,$PRE.noise.r,$PRE.noise.state[4],$PRE.noise.state[3],$PRE.noise.state[2],$PRE.noise.state[1],noise.r_raw,noise.r,noise.state[4],noise.state[3],noise.state[2],noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 1 * 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.0001389/0.0342, allocations: 181.7 kB / 393.9 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.03424, allocations: 51.75 kB / 393.9 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.03428, allocations: 39.19 kB / 394 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.03428, allocations: 0 / 394 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.03428, allocations: 7.938 kB / 394 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.03429, allocations: 0 / 394 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.03447, allocations: 228.4 kB / 394.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.03447, allocations: 0 / 394.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.03455, allocations: 23.98 kB / 394.2 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.03469, allocations: 59.62 kB / 394.3 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.03472, allocations: 4.125 kB / 394.3 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.03609, allocations: 2.188 MB / 396.5 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03609, allocations: 4 kB / 396.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.03651, allocations: 328.5 kB / 396.8 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.03654, allocations: 35.7 kB / 396.8 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.03657, allocations: 11.98 kB / 396.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.03666, allocations: 23.97 kB / 396.9 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.03672, allocations: 24 kB / 396.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.03673, allocations: 4 kB / 396.9 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.03688, allocations: 243 kB / 397.1 MB, free: 488 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03688, allocations: 0 / 397.1 MB, free: 488 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000391/0.03727, allocations: 151.7 kB / 397.3 MB, free: 336 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Fn.x_scaled[1]) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006015/0.03787, allocations: 363.3 kB / 397.6 MB, free: 16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004843/0.03835, allocations: 346.2 kB / 398 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.03835, allocations: 0 / 398 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.03858, allocations: 273.3 kB / 398.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.0388, allocations: 49.06 kB / 398.3 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.03942, allocations: 0.5258 MB / 398.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.03948, allocations: 104.3 kB / 398.9 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.318e-05/0.03956, allocations: 46.23 kB / 398.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.03961, allocations: 24.5 kB / 399 MB, free: 14.56 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03961, allocations: 4 kB / 399 MB, free: 14.55 MB / 378.7 MB Notification: Performance of Templates: time 0.008536/0.04815, allocations: 5.776 MB / 404.8 MB, free: 8.816 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3895234800875187]