Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MagLev_MagLev.Examples.Continuous.CurrentControl.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/MagLev 2.3.0-main/package.mo", uses=false) Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-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(MagLev.Examples.Continuous.CurrentControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.Continuous.CurrentControl") translateModel(MagLev.Examples.Continuous.CurrentControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.Continuous.CurrentControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001606/0.001606, allocations: 190 kB / 17.36 MB, free: 5.703 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.01793/0.01793, allocations: 4.233 MB / 295.4 MB, free: 10.57 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.714e-05, allocations: 2.281 kB / 408.4 MB, free: 27.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.Continuous.CurrentControl): time 0.006168/0.006204, allocations: 6.021 MB / 414.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004464/0.01068, allocations: 2.255 MB / 416.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.01205, allocations: 20 kB / 416.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.01349, allocations: 324.8 kB / 417 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.01506, allocations: 317.5 kB / 417.3 MB, free: 18.45 MB / 302.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.001494/0.01657, allocations: 467.2 kB / 417.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.01852, allocations: 1.516 MB / 419.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.01929, allocations: 0.6763 MB / 420 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.01979, allocations: 0.5058 MB / 420.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009511/0.02075, allocations: 0.581 MB / 421.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.0209, allocations: 140 kB / 421.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.02167, allocations: 0.5694 MB / 421.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008554/0.02253, allocations: 1.927 MB / 423.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004163/0.02295, allocations: 1.205 MB / 424.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.02314, allocations: 203.4 kB / 425.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003517/0.0235, allocations: 47.67 kB / 425.2 MB, free: 10.56 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (coil.hallSensor.uniformNoise.r_raw, coil.hallSensor.uniformNoise.state) := Modelica.Math.Random.Generators.Xorshift128plus.random(pre(coil.hallSensor.uniformNoise.state))