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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,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=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 111.6 kB / 16.42 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 178.7 kB / 17.35 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08699/0.08699, allocations: 22.33 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.805e-05, allocations: 2.281 kB / 437.7 MB, free: 11.87 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.03295/0.03299, allocations: 21.56 MB / 459.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.03579, allocations: 1.605 MB / 460.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.03598, allocations: 4 kB / 460.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.03636, allocations: 67.5 kB / 460.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.03667, allocations: 103.4 kB / 461 MB, free: 4.668 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.001223/0.03791, allocations: 486.7 kB / 461.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.03849, allocations: 455 kB / 461.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.03866, allocations: 56.72 kB / 462 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.03892, allocations: 159.4 kB / 462.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.03955, allocations: 161.5 kB / 462.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.374e-05/0.03965, allocations: 28 kB / 462.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.04027, allocations: 415.2 kB / 462.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003446/0.04063, allocations: 446.8 kB / 463.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001844/0.04082, allocations: 283.7 kB / 463.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.0409, allocations: 35.81 kB / 463.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.607e-05/0.04099, allocations: 11.98 kB / 463.5 MB, free: 2.176 MB / 334.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (noise.r_raw, noise.state) := Modelica.Math.Random.Generators.Xorshift128plus.random(pre(noise.state))