Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 111.8 kB / 18.47 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 210.2 kB / 19.42 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.395e-05, allocations: 2.281 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA): time 0.1984/0.1984, allocations: 28.62 MB / 388 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.2165, allocations: 8.496 MB / 396.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008042/0.2246, allocations: 217.2 kB / 396.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01915/0.2437, allocations: 8.226 MB / 404.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.2549, allocations: 2.836 MB / 407.8 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006096/0.261, allocations: 1.878 MB / 409.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01328/0.2743, allocations: 10.05 MB / 419.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02628/0.3006, allocations: 17.52 MB / 437.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009189/0.3099, allocations: 4.789 MB / 442 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008952/0.3189, allocations: 5.161 MB / 447.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002986/0.3219, allocations: 1.137 MB / 448.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/0.3281, allocations: 2.084 MB / 450.4 MB, free: 200 kB / 350.1 MB Notification: Performance of combineBinaries: time 0.01222/0.3403, allocations: 10.94 MB / 461.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.007785/0.3481, allocations: 6.952 MB / 468.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004525/0.3527, allocations: 0.8107 MB / 469.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.001704/0.3544, allocations: 91.75 kB / 469.2 MB, free: 13.21 MB / 382.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