Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.001186/0.001186, allocations: 188.6 kB / 18.68 MB, free: 4.43 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.069e-05, allocations: 2.281 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01014/0.01017, allocations: 10.3 MB / 362.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006423/0.01662, allocations: 3.435 MB / 365.7 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.01843, allocations: 59.75 kB / 365.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.0204, allocations: 0.7685 MB / 366.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.02309, allocations: 0.8385 MB / 367.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.02401, allocations: 423.3 kB / 367.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.02749, allocations: 3.096 MB / 370.9 MB, free: 296 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2074/0.2349, allocations: 1.444 MB / 372.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.2373, allocations: 1.168 MB / 373.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.2395, allocations: 1.206 MB / 374.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003771/0.2399, allocations: 208.5 kB / 374.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.2422, allocations: 0.8184 MB / 375.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002788/0.245, allocations: 3.393 MB / 379.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001761/0.2467, allocations: 2.155 MB / 381.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008407/0.2476, allocations: 328.4 kB / 381.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007064/0.2483, allocations: 56.78 kB / 381.6 MB, free: 8.188 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