Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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) 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(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001298, allocations: 116.9 kB / 17.76 MB, free: 5.336 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.001395/0.001395, allocations: 184.7 kB / 18.68 MB, free: 4.414 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.289e-05, allocations: 4.109 kB / 351.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.0136/0.01363, allocations: 11.45 MB / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007947/0.02161, allocations: 3.715 MB / 367.1 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.0236, allocations: 67.69 kB / 367.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002484/0.0261, allocations: 0.8775 MB / 368.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.02955, allocations: 0.967 MB / 369 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.03101, allocations: 496.4 kB / 369.5 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1912/0.2222, allocations: 3.722 MB / 373.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.2245, allocations: 1.53 MB / 374.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.2269, allocations: 1.335 MB / 376.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.2297, allocations: 1.346 MB / 377.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004759/0.2302, allocations: 231.8 kB / 377.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.2325, allocations: 0.8255 MB / 378.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003029/0.2356, allocations: 3.725 MB / 382.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002093/0.2377, allocations: 2.398 MB / 384.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009696/0.2386, allocations: 354.5 kB / 385 MB, free: 7.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006057/0.2393, allocations: 66.95 kB / 385 MB, free: 7.672 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1178:11-1178:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: tauRef Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetData smpmData