Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 108.5 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 210.5 kB / 20.03 MB, free: 2.664 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.229/1.229, allocations: 230.4 MB / 251.3 MB, free: 8.715 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.188e-05, allocations: 2.281 kB / 368.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.1391/0.1391, allocations: 22.45 MB / 391.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.1497, allocations: 6.688 MB / 398 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.1518, allocations: 143.1 kB / 398.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.1549, allocations: 1.579 MB / 399.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.1595, allocations: 2.14 MB / 401.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.1623, allocations: 1.35 MB / 403.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008625/0.1709, allocations: 8.065 MB / 411.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.1736, allocations: 2.008 MB / 413.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.1773, allocations: 2.812 MB / 416.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003684/0.181, allocations: 3.117 MB / 419.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005984/0.1816, allocations: 0.5273 MB / 419.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.1842, allocations: 1.405 MB / 421.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0059/0.1901, allocations: 8.066 MB / 429.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.003709/0.1938, allocations: 5.205 MB / 434.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.1948, allocations: 0.748 MB / 435.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0009088/0.1957, allocations: 115.5 kB / 435.3 MB, free: 14.16 MB / 350.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