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.001254/0.001255, allocations: 119.7 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.6 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.806e-05/3.807e-05, allocations: 6.219 kB / 359.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.2027/0.2027, allocations: 14.11 MB / 373.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00871/0.2115, allocations: 5.237 MB / 378.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.2143, allocations: 55.44 kB / 378.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.217, allocations: 0.8607 MB / 379.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.2189, allocations: 0.542 MB / 380.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2199, allocations: 0.5119 MB / 380.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.2225, allocations: 2.453 MB / 383.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.2239, allocations: 1.124 MB / 384.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.2251, allocations: 0.7933 MB / 385 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008916/0.226, allocations: 0.8581 MB / 385.9 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.2263, allocations: 200.3 kB / 386.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.2286, allocations: 0.9617 MB / 387 MB, free: 6.051 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002061/0.2306, allocations: 2.976 MB / 390 MB, free: 4.023 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000918/0.2316, allocations: 1.857 MB / 391.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.232, allocations: 328.5 kB / 392.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003572/0.2323, allocations: 62.31 kB / 392.3 MB, free: 2.488 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