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.001022/0.001022, allocations: 78.66 kB / 21.46 MB, free: 3.039 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.001155/0.001155, allocations: 167.5 kB / 24.86 MB, free: 9.273 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 0.9861/0.9861, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.06697/0.06697, allocations: 18.15 MB / 280 MB, free: 11.15 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.383e-06/1.383e-06, allocations: 0 / 358.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.912e-05, allocations: 2.312 kB / 358.6 MB, free: 8.547 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.02592/0.02594, allocations: 25.67 MB / 384.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.02822, allocations: 1.594 MB / 385.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.02837, allocations: 7.938 kB / 385.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.02871, allocations: 63.55 kB / 385.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.02892, allocations: 107.3 kB / 386 MB, free: 13.26 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.001137/0.03005, allocations: 0.5801 MB / 386.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.03039, allocations: 311.1 kB / 386.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.03049, allocations: 36.92 kB / 386.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.03066, allocations: 135.6 kB / 387.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.03109, allocations: 186.3 kB / 387.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.03115, allocations: 24 kB / 387.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005549/0.03171, allocations: 450.9 kB / 387.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.03182, allocations: 95.66 kB / 387.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.03188, allocations: 75.69 kB / 387.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.03253, allocations: 0.5218 MB / 388.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.03253, allocations: 0 / 388.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.03254, allocations: 4 kB / 388.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.03254, allocations: 0 / 388.4 MB, free: 10.87 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.0009021/0.03344, allocations: 0.7401 MB / 389.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.03348, allocations: 8.031 kB / 389.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.03359, allocations: 48.73 kB / 389.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.03393, allocations: 285.1 kB / 389.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.03395, allocations: 16.38 kB / 389.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.03397, allocations: 16.36 kB / 389.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.03414, allocations: 103 kB / 389.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.03415, allocations: 3.938 kB / 389.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.03416, allocations: 8 kB / 389.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.03416, allocations: 0 / 389.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.03427, allocations: 61.78 kB / 389.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.03486, allocations: 488.4 kB / 390.1 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.03515, allocations: 154.8 kB / 390.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.0352, allocations: 35.67 kB / 390.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.03522, allocations: 4 kB / 390.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.03536, allocations: 105 kB / 390.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.03536, allocations: 4 kB / 390.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006734/0.03603, allocations: 328.9 kB / 390.8 MB, free: 8.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.03606, allocations: 55.41 kB / 390.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.03627, allocations: 358 kB / 391.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.0363, allocations: 37.7 kB / 391.2 MB, free: 7.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.03639, allocations: 207.3 kB / 391.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.03646, allocations: 87.31 kB / 391.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.03653, allocations: 67.31 kB / 391.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.03666, allocations: 0.5312 MB / 392.1 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.03671, allocations: 24.31 kB / 392.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.03678, allocations: 67.91 kB / 392.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.03697, allocations: 161 kB / 392.3 MB, free: 6.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.03698, allocations: 4 kB / 392.3 MB, free: 6.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003301/0.03731, allocations: 244.4 kB / 392.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.03732, allocations: 4 kB / 392.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.03733, allocations: 4.031 kB / 392.6 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.03751, allocations: 47.64 kB / 392.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.03762, allocations: 51.92 kB / 392.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/0.03861, allocations: 1.894 MB / 394.6 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.03873, allocations: 27.83 kB / 394.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.03875, allocations: 15.94 kB / 394.6 MB, free: 4.285 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,noise.localSeed,globalSeed.seed,noise.actualGlobalSeed,globalSeed.id_impure,$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.0001595/0.03891, allocations: 197.6 kB / 394.8 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.03895, allocations: 39.7 kB / 394.9 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.03899, allocations: 43.19 kB / 394.9 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.03899, allocations: 4 kB / 394.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.039, allocations: 0 / 394.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.039, allocations: 0 / 394.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.03916, allocations: 189 kB / 395.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.03917, allocations: 0 / 395.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.03925, allocations: 27.98 kB / 395.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.03938, allocations: 47.62 kB / 395.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.03939, allocations: 8.125 kB / 395.2 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.04044, allocations: 2.146 MB / 397.3 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.04044, allocations: 3.938 kB / 397.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.04081, allocations: 287.6 kB / 397.6 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.04084, allocations: 43.69 kB / 397.6 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.04087, allocations: 11.97 kB / 397.7 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.04095, allocations: 15.98 kB / 397.7 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.041, allocations: 15.97 kB / 397.7 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.04101, allocations: 7.984 kB / 397.7 MB, free: 1.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.04114, allocations: 230.9 kB / 397.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.04114, allocations: 0 / 397.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005442/0.04169, allocations: 151.6 kB / 398.1 MB, free: 0.6523 MB / 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.0007749/0.04246, allocations: 354.8 kB / 398.4 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.04298, allocations: 330.7 kB / 398.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.04298, allocations: 0 / 398.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.04328, allocations: 261.3 kB / 399 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.04358, allocations: 41.12 kB / 399 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.04434, allocations: 0.5208 MB / 399.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.304e-05/0.04441, allocations: 108.3 kB / 399.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.04448, allocations: 30.28 kB / 399.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.04457, allocations: 94.2 kB / 399.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04457, allocations: 0 / 399.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of Templates: time 0.009897/0.05446, allocations: 6.34 MB / 406.1 MB, free: 8.559 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: 2.9973954120650887]