Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=50000,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|speedController.integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|speedController.integrator.y",fileNamePrefix="Modelica_3.2.3_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.001357/0.001357, allocations: 107.3 kB / 18.41 MB, free: 4.688 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.001316/0.001316, allocations: 193.4 kB / 19.35 MB, free: 3.762 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.593/1.593, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.79e-05, allocations: 3.266 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.01703/0.01707, allocations: 15.17 MB / 344.4 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.03068, allocations: 5.673 MB / 350 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00519/0.03591, allocations: 79.62 kB / 350.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.03983, allocations: 0.9548 MB / 351.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.04305, allocations: 0.6276 MB / 351.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.04489, allocations: 0.7413 MB / 352.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004323/0.04922, allocations: 3.143 MB / 355.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.05102, allocations: 1.324 MB / 356.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.05292, allocations: 1.093 MB / 358 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.05397, allocations: 1.065 MB / 359.1 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.05425, allocations: 252 kB / 359.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.05627, allocations: 0.9944 MB / 360.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002428/0.0587, allocations: 3.634 MB / 363.9 MB, free: 376 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001379/0.06009, allocations: 2.305 MB / 366.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000625/0.06072, allocations: 390.8 kB / 366.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006472/0.06138, allocations: 99.36 kB / 366.7 MB, free: 13.54 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