Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|currentController.PI_d.x|currentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|currentController.PI_d.x|currentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 116.3 kB / 18.47 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 210.3 kB / 19.42 MB, free: 3.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.845e-05, allocations: 4.25 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource): time 0.161/0.161, allocations: 16.5 MB / 375.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009333/0.1704, allocations: 5.642 MB / 381.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.1727, allocations: 108.9 kB / 381.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.1754, allocations: 1.123 MB / 382.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.1787, allocations: 1.326 MB / 384.1 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.1807, allocations: 0.9901 MB / 385 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006011/0.1867, allocations: 4.706 MB / 389.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.1895, allocations: 2.324 MB / 392.1 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.1919, allocations: 1.648 MB / 393.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.194, allocations: 1.798 MB / 395.5 MB, free: 3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.1945, allocations: 332.8 kB / 395.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.1971, allocations: 1.124 MB / 397 MB, free: 2.664 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003033/0.2001, allocations: 5.003 MB / 402 MB, free: 15.04 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001849/0.202, allocations: 3.224 MB / 405.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.2026, allocations: 473.1 kB / 405.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005903/0.2032, allocations: 79.67 kB / 405.7 MB, free: 12.41 MB / 318.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