Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001248/0.001248, allocations: 107.5 kB / 16.42 MB, free: 6.48 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.001165/0.001165, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.175e-05, allocations: 6.219 kB / 327.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01232/0.01235, allocations: 12.09 MB / 339.3 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006961/0.01934, allocations: 3.301 MB / 342.6 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000955/0.02032, allocations: 39.88 kB / 342.6 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.02194, allocations: 0.6673 MB / 343.3 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.02367, allocations: 0.7286 MB / 344 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.02441, allocations: 403.5 kB / 344.4 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.02742, allocations: 2.811 MB / 347.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.02886, allocations: 0.9938 MB / 348.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.03028, allocations: 0.9104 MB / 349.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009005/0.0312, allocations: 0.9876 MB / 350.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.03145, allocations: 200 kB / 350.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.03276, allocations: 0.6475 MB / 351 MB, free: 11.39 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002538/0.03531, allocations: 3.35 MB / 354.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001303/0.03662, allocations: 2.094 MB / 356.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.03712, allocations: 359.1 kB / 356.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002676/0.03739, allocations: 51.88 kB / 356.8 MB, free: 5.48 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