Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 115 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 209.1 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.04e-05, allocations: 9.031 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.2562/0.2563, allocations: 24.68 MB / 384.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02116/0.2775, allocations: 7.867 MB / 391.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008468/0.286, allocations: 164 kB / 392.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01506/0.3011, allocations: 5.747 MB / 397.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.3133, allocations: 2.607 MB / 400.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007005/0.3203, allocations: 1.834 MB / 402.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01746/0.3378, allocations: 7.819 MB / 410.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01856/0.3564, allocations: 11.67 MB / 421.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00716/0.3636, allocations: 3.522 MB / 425.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007638/0.3713, allocations: 3.914 MB / 429.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002871/0.3742, allocations: 0.8086 MB / 430 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006448/0.3806, allocations: 1.721 MB / 431.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.01138/0.392, allocations: 8.558 MB / 440.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00435/0.3964, allocations: 5.438 MB / 445.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.398, allocations: 0.6547 MB / 446.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.001142/0.3992, allocations: 91.62 kB / 446.5 MB, free: 4.094 MB / 350.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