Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") translateModel(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001092, allocations: 119.1 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 209 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.128/1.128, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1722/0.1722, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.068e-05, allocations: 5.234 kB / 481.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01037/0.01039, allocations: 11.73 MB / 493.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.0156, allocations: 3.957 MB / 497.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.01629, allocations: 71.69 kB / 497.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.01772, allocations: 0.8731 MB / 498.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.01938, allocations: 0.9512 MB / 499.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.02014, allocations: 0.5188 MB / 0.4883 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.02309, allocations: 3.782 MB / 0.492 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.02495, allocations: 1.943 MB / 0.4939 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.0262, allocations: 1.398 MB / 0.4952 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.02758, allocations: 1.514 MB / 0.4967 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.02787, allocations: 263.9 kB / 0.497 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.02927, allocations: 0.9048 MB / 0.4979 GB, free: 8.094 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002405/0.03168, allocations: 4.103 MB / 0.5019 GB, free: 3.949 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001355/0.03305, allocations: 2.595 MB / 0.5044 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.03341, allocations: 394.9 kB / 0.5048 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000324/0.03374, allocations: 75.56 kB / 0.5048 GB, free: 0.8594 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