Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 102.3 kB / 18.46 MB, free: 4.613 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.001338/0.001338, allocations: 192.2 kB / 19.4 MB, free: 3.688 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.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2492/0.2492, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.204e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.0135/0.01353, allocations: 11.68 MB / 482.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009901/0.02348, allocations: 3.898 MB / 486.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.02744, allocations: 71.69 kB / 486.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002885/0.03035, allocations: 0.8653 MB / 487.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.03464, allocations: 0.959 MB / 488.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.03632, allocations: 0.5071 MB / 489.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006055/0.04239, allocations: 3.783 MB / 492.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.04532, allocations: 1.923 MB / 494.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.04781, allocations: 1.398 MB / 496.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.04987, allocations: 1.514 MB / 497.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.05023, allocations: 264 kB / 498 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.05237, allocations: 0.8814 MB / 498.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.003175/0.05555, allocations: 4.107 MB / 0.4912 GB, free: 13.17 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001914/0.05747, allocations: 2.591 MB / 0.4937 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.05819, allocations: 390.9 kB / 0.4941 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0007319/0.05893, allocations: 71.56 kB / 0.4942 GB, free: 10.09 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