Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 115.8 kB / 17.75 MB, free: 5.285 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.001172/0.001172, allocations: 189.9 kB / 18.68 MB, free: 4.363 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.264/1.264, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.203e-05, allocations: 3.266 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01167/0.0117, allocations: 12.1 MB / 340.6 MB, free: 7.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007063/0.0188, allocations: 3.293 MB / 343.9 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.02093, allocations: 39.88 kB / 344 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.02268, allocations: 0.6673 MB / 344.6 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.02485, allocations: 0.7286 MB / 345.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.0256, allocations: 395.6 kB / 345.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.02846, allocations: 2.819 MB / 348.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.02962, allocations: 0.9977 MB / 349.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.03082, allocations: 0.9065 MB / 350.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000854/0.03168, allocations: 0.9877 MB / 351.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.03189, allocations: 203.9 kB / 351.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.03311, allocations: 0.6397 MB / 352.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002283/0.0354, allocations: 3.346 MB / 355.6 MB, free: 8.027 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001412/0.03682, allocations: 2.102 MB / 357.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.03751, allocations: 355.1 kB / 358.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003687/0.03789, allocations: 51.88 kB / 358.1 MB, free: 5.496 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 dcpmData2