Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 115.5 kB / 17.75 MB, free: 5.215 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.001358/0.001358, allocations: 185.8 kB / 18.68 MB, free: 4.297 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/1.969e-05, allocations: 5.656 kB / 352 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource): time 0.01374/0.01377, allocations: 11.88 MB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.02201, allocations: 3.995 MB / 367.8 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.02424, allocations: 75.62 kB / 367.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.027, allocations: 0.9355 MB / 368.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.0308, allocations: 1.014 MB / 369.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.03269, allocations: 0.5578 MB / 370.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1923/0.225, allocations: 3.853 MB / 374.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.2274, allocations: 1.979 MB / 376.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.2301, allocations: 1.423 MB / 377.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.2322, allocations: 1.532 MB / 379.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.2326, allocations: 267.3 kB / 379.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.2347, allocations: 0.8843 MB / 380.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003619/0.2383, allocations: 4.232 MB / 384.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001762/0.2401, allocations: 2.678 MB / 387.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000863/0.241, allocations: 402.5 kB / 387.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000702/0.2417, allocations: 87.08 kB / 387.7 MB, free: 6.453 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