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.00161/0.00161, allocations: 108.1 kB / 16.42 MB, free: 6.516 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.001689/0.001689, allocations: 190 kB / 17.36 MB, free: 5.727 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08642/0.08642, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.587e-05, allocations: 2.281 kB / 437.7 MB, free: 11.82 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.03452/0.03456, allocations: 21.46 MB / 459.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.03802, allocations: 1.598 MB / 460.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.03838, allocations: 4 kB / 460.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.03887, allocations: 75.48 kB / 460.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.03925, allocations: 91.45 kB / 460.9 MB, free: 4.719 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.001403/0.04067, allocations: 486.7 kB / 461.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005833/0.04126, allocations: 447 kB / 461.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.04142, allocations: 64.73 kB / 461.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.04161, allocations: 159.4 kB / 462 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.04221, allocations: 160.8 kB / 462.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.04227, allocations: 20 kB / 462.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.04292, allocations: 415.2 kB / 462.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003231/0.04325, allocations: 446.8 kB / 463 MB, free: 2.566 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001499/0.0434, allocations: 283.7 kB / 463.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.04347, allocations: 39.81 kB / 463.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.791e-05/0.04357, allocations: 8 kB / 463.4 MB, free: 2.238 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))