Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 106.2 kB / 16.42 MB, free: 6.469 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.001405/0.001405, allocations: 189.9 kB / 17.36 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.387e-05, allocations: 3.547 kB / 327.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.01598/0.01602, allocations: 15.17 MB / 342.4 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.02669, allocations: 5.677 MB / 348 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003556/0.03028, allocations: 71.62 kB / 348.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.03345, allocations: 0.9626 MB / 349.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.03588, allocations: 0.6198 MB / 349.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.03745, allocations: 0.7452 MB / 350.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.04113, allocations: 3.139 MB / 353.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.0428, allocations: 1.332 MB / 354.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.04429, allocations: 1.051 MB / 356 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009355/0.04523, allocations: 1.065 MB / 357 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.0455, allocations: 252 kB / 357.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.04724, allocations: 0.9944 MB / 358.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002326/0.04957, allocations: 3.634 MB / 361.9 MB, free: 416 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001359/0.05094, allocations: 2.305 MB / 364.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.05145, allocations: 394.8 kB / 364.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003881/0.05185, allocations: 99.36 kB / 364.7 MB, free: 13.58 MB / 318.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: ILinear Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.DcPermanentMagnetData driveData.motorData