Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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) 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(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 115.2 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 213 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.865e-05, allocations: 2.281 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.1986/0.1987, allocations: 14.11 MB / 373.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009106/0.2078, allocations: 5.231 MB / 378.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.2106, allocations: 63.88 kB / 378.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.2136, allocations: 0.8996 MB / 379.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.2159, allocations: 0.5849 MB / 380.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2172, allocations: 0.5011 MB / 380.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.2202, allocations: 2.457 MB / 383.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.2216, allocations: 1.132 MB / 384.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.2229, allocations: 0.7946 MB / 385.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009269/0.2239, allocations: 0.8663 MB / 386 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.2241, allocations: 201.8 kB / 386.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.2262, allocations: 0.9552 MB / 387.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001663/0.2279, allocations: 2.977 MB / 390.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009249/0.2288, allocations: 1.857 MB / 392 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.2293, allocations: 320.3 kB / 392.3 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005886/0.2299, allocations: 71.28 kB / 392.4 MB, free: 2.418 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