Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 112.5 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 210.6 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.224/1.224, allocations: 230.4 MB / 251.3 MB, free: 8.871 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.369e-05, allocations: 5.094 kB / 368.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.1601/0.1601, allocations: 41.99 MB / 410.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02159/0.1817, allocations: 11.25 MB / 422.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006838/0.1885, allocations: 318.8 kB / 422.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01831/0.2069, allocations: 8.897 MB / 431.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.2176, allocations: 3.661 MB / 435 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006125/0.2238, allocations: 2.462 MB / 437.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01665/0.2404, allocations: 14.16 MB / 451.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01757/0.258, allocations: 14.57 MB / 466.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007394/0.2654, allocations: 6.261 MB / 472.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009537/0.2749, allocations: 7.103 MB / 479.5 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003015/0.2779, allocations: 1.402 MB / 480.9 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006198/0.2841, allocations: 2.416 MB / 483.4 MB, free: 14.14 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.01483/0.299, allocations: 15.11 MB / 498.5 MB, free: 14.88 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.008279/0.3072, allocations: 9.7 MB / 0.4963 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002654/0.3099, allocations: 1.208 MB / 0.4974 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.00144/0.3113, allocations: 155.5 kB / 0.4976 GB, free: 3.691 MB / 414.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1306:11-1306:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: PRef Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetData smpmData