Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.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) 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(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 105.6 kB / 17.69 MB, free: 5.523 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.001244/0.001244, allocations: 192.7 kB / 18.63 MB, free: 4.594 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.23/1.23, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.162e-05, allocations: 6.219 kB / 302 MB, free: 5.207 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM): time 0.01435/0.01438, allocations: 14.51 MB / 316.5 MB, free: 6.637 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.008551/0.02297, allocations: 5.306 MB / 321.8 MB, free: 1.312 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.02533, allocations: 59.75 kB / 321.9 MB, free: 1.254 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.0275, allocations: 0.9082 MB / 322.8 MB, free: 348 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.02901, allocations: 0.5852 MB / 323.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.02995, allocations: 0.6048 MB / 324 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.03224, allocations: 2.748 MB / 326.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.0336, allocations: 1.236 MB / 328 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.03449, allocations: 0.8754 MB / 328.8 MB, free: 10.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007236/0.03522, allocations: 0.9525 MB / 329.8 MB, free: 9.262 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.03544, allocations: 228 kB / 330 MB, free: 9.039 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.03696, allocations: 0.9827 MB / 331 MB, free: 8.055 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.001979/0.03895, allocations: 3.341 MB / 334.3 MB, free: 4.676 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.001104/0.04006, allocations: 2.106 MB / 336.5 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.04048, allocations: 366.9 kB / 336.8 MB, free: 2.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 0.0002982/0.04078, allocations: 75.55 kB / 336.9 MB, free: 2.105 MB / 270.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