Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001248/0.001248, allocations: 187.2 kB / 17.35 MB, free: 5.734 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.653e-05, allocations: 2.281 kB / 327.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.009375/0.009409, allocations: 8.125 MB / 335.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.01488, allocations: 2.747 MB / 338.1 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007049/0.01561, allocations: 27.94 kB / 338.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.01704, allocations: 0.5317 MB / 338.6 MB, free: 7.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.01806, allocations: 436.5 kB / 339.1 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.01873, allocations: 359.5 kB / 339.4 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.02025, allocations: 1.753 MB / 341.2 MB, free: 5.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.02106, allocations: 0.6092 MB / 341.8 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.02169, allocations: 0.5601 MB / 342.3 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.02223, allocations: 0.5987 MB / 342.9 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.02237, allocations: 124 kB / 343 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.0234, allocations: 0.5538 MB / 343.6 MB, free: 2.816 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001447/0.02485, allocations: 2.136 MB / 345.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007576/0.02562, allocations: 1.367 MB / 347.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.02584, allocations: 227.3 kB / 347.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001934/0.02604, allocations: 51.73 kB / 347.4 MB, free: 15 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 dcpmData