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.002552/0.002552, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002931/0.002931, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.637/1.637, 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.1187/0.1187, allocations: 18.14 MB / 278.5 MB, free: 11.33 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.342e-06/1.342e-06, allocations: 0 / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.592e-05, allocations: 2.312 kB / 356.5 MB, free: 8.188 MB / 282.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.0367/0.03673, allocations: 23.35 MB / 379.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.04052, allocations: 1.601 MB / 381.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.04065, allocations: 4 kB / 381.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.04106, allocations: 83.36 kB / 381.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.04135, allocations: 91.45 kB / 381.6 MB, free: 15.23 MB / 314.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.001481/0.04283, allocations: 0.584 MB / 382.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.04325, allocations: 311.2 kB / 382.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.04339, allocations: 36.91 kB / 382.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.0436, allocations: 139.5 kB / 382.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.04438, allocations: 175.6 kB / 382.9 MB, free: 14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.04444, allocations: 24 kB / 382.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008735/0.04532, allocations: 450.9 kB / 383.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.04547, allocations: 99.64 kB / 383.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.04561, allocations: 83.67 kB / 383.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.04654, allocations: 0.5958 MB / 384.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.04655, allocations: 4 kB / 384.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04655, allocations: 0 / 384.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.04655, allocations: 0 / 384.1 MB, free: 12.75 MB / 314.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.001664/0.04822, allocations: 0.7828 MB / 384.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.04825, allocations: 8.031 kB / 384.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.04842, allocations: 48.7 kB / 385 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.0491, allocations: 292.4 kB / 385.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.04912, allocations: 8.375 kB / 385.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.04916, allocations: 16.38 kB / 385.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.0495, allocations: 127 kB / 385.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.04951, allocations: 3.938 kB / 385.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.04954, allocations: 8 kB / 385.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.04954, allocations: 0 / 385.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.04989, allocations: 108.2 kB / 385.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.05113, allocations: 0.5778 MB / 386.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.05177, allocations: 206.8 kB / 386.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.05194, allocations: 65.3 kB / 386.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.05196, allocations: 4 kB / 386.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.05225, allocations: 133 kB / 386.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.05225, allocations: 0 / 386.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.001526/0.05377, allocations: 420.9 kB / 386.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.05384, allocations: 67.28 kB / 387 MB, free: 9.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/0.05454, allocations: 430.2 kB / 387.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.05459, allocations: 37.7 kB / 387.4 MB, free: 9.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.05478, allocations: 219.4 kB / 387.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.05488, allocations: 91.33 kB / 387.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.05502, allocations: 75.34 kB / 387.8 MB, free: 8.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000331/0.05535, allocations: 0.5274 MB / 388.3 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.05555, allocations: 68.28 kB / 388.4 MB, free: 8.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.05579, allocations: 95.98 kB / 388.5 MB, free: 8.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.05636, allocations: 248.5 kB / 388.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.05637, allocations: 0 / 388.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000789/0.05715, allocations: 336.2 kB / 389.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.05717, allocations: 4 kB / 389.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.05718, allocations: 4 kB / 389.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.05753, allocations: 67.66 kB / 389.1 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.05775, allocations: 51.92 kB / 389.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.06012, allocations: 2.038 MB / 391.2 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.06038, allocations: 43.84 kB / 391.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.06041, allocations: 8 kB / 391.3 MB, free: 5.238 MB / 314.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.0002601/0.06067, allocations: 201.6 kB / 391.5 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.06075, allocations: 43.81 kB / 391.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.06084, allocations: 35.19 kB / 391.5 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.06084, allocations: 4 kB / 391.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.06085, allocations: 3.938 kB / 391.5 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.06085, allocations: 0 / 391.5 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.06122, allocations: 256.6 kB / 391.8 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.06122, allocations: 4 kB / 391.8 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.06139, allocations: 27.98 kB / 391.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.06166, allocations: 63.62 kB / 391.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.06169, allocations: 11.94 kB / 391.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.06405, allocations: 2.313 MB / 394.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.06405, allocations: 0 / 394.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.06498, allocations: 408.8 kB / 394.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.06507, allocations: 39.73 kB / 394.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.06512, allocations: 12 kB / 394.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.06558, allocations: 27.91 kB / 394.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.06566, allocations: 15.97 kB / 394.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.06568, allocations: 16.02 kB / 394.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.06617, allocations: 286.9 kB / 395 MB, free: 1.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06617, allocations: 0 / 395 MB, free: 1.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005791/0.06675, allocations: 163.5 kB / 395.2 MB, free: 1.137 MB / 314.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.0009753/0.06772, allocations: 347.1 kB / 395.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008079/0.06853, allocations: 383.2 kB / 395.9 MB, free: 440 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.06853, allocations: 0 / 395.9 MB, free: 440 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.06907, allocations: 299.9 kB / 396.2 MB, free: 120 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.06941, allocations: 54.56 kB / 396.2 MB, free: 68 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.07049, allocations: 0.5415 MB / 396.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.07069, allocations: 179.4 kB / 396.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.07082, allocations: 46.25 kB / 397 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.0709, allocations: 24.5 kB / 397 MB, free: 15.23 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0709, allocations: 3.938 kB / 397 MB, free: 15.22 MB / 330.7 MB Notification: Performance of Templates: time 0.01305/0.08395, allocations: 5.775 MB / 402.8 MB, free: 9.488 MB / 330.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: 5.156513243098743]