Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.CurrentControlledDCPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009708/0.0009708, allocations: 109.9 kB / 16.42 MB, free: 6.516 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.0009174/0.0009175, allocations: 185.5 kB / 17.35 MB, free: 5.73 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.234/1.234, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/1.886e-05, allocations: 7.484 kB / 327.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01353/0.01356, allocations: 13.98 MB / 341.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008286/0.02187, allocations: 5.162 MB / 346.3 MB, free: 96 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.02333, allocations: 55.81 kB / 346.4 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.02534, allocations: 0.8696 MB / 347.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.02642, allocations: 0.5502 MB / 347.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/0.02726, allocations: 0.5111 MB / 348.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.02936, allocations: 2.506 MB / 350.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.03067, allocations: 1.144 MB / 352 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007907/0.03147, allocations: 0.8015 MB / 352.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.03223, allocations: 0.8787 MB / 353.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.03246, allocations: 204 kB / 353.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.03404, allocations: 0.9631 MB / 354.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002022/0.03607, allocations: 3.017 MB / 357.8 MB, free: 4.484 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001109/0.03719, allocations: 1.89 MB / 359.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.0375, allocations: 327.1 kB / 360 MB, free: 2.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000206/0.03771, allocations: 67.62 kB / 360.1 MB, free: 2.18 MB / 302.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