Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 112.8 kB / 17.75 MB, free: 5.172 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.001122/0.001122, allocations: 188.3 kB / 18.68 MB, free: 4.25 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.264/1.264, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.761e-05, allocations: 2.281 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource): time 0.01756/0.01759, allocations: 15.89 MB / 367.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2121/0.2297, allocations: 5.363 MB / 373.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.233, allocations: 105.6 kB / 373.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.2361, allocations: 1.112 MB / 374.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.2406, allocations: 1.361 MB / 375.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.2428, allocations: 0.953 MB / 376.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006535/0.2494, allocations: 4.646 MB / 381.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.2524, allocations: 2.329 MB / 383.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.2561, allocations: 1.638 MB / 385.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.2586, allocations: 1.794 MB / 387.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.2591, allocations: 330 kB / 387.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.2619, allocations: 1.096 MB / 388.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003609/0.2656, allocations: 4.971 MB / 393.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001789/0.2674, allocations: 3.21 MB / 396.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000861/0.2682, allocations: 470.7 kB / 397.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007851/0.269, allocations: 81.17 kB / 397.3 MB, free: 0.8008 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