Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 112.4 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 214.2 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.82e-05, allocations: 2.281 kB / 359.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_VoltageSource): time 0.01341/0.01345, allocations: 11.93 MB / 371.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2216/0.2351, allocations: 4.04 MB / 375.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.2382, allocations: 77.31 kB / 375.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.2411, allocations: 0.8856 MB / 376.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.246, allocations: 0.9624 MB / 377.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.2485, allocations: 0.5645 MB / 377.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009137/0.2576, allocations: 3.866 MB / 381.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004573/0.2622, allocations: 1.97 MB / 383.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.2662, allocations: 1.428 MB / 385.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003691/0.2699, allocations: 1.539 MB / 386.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007051/0.2707, allocations: 268 kB / 386.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.2743, allocations: 0.9027 MB / 387.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004464/0.2787, allocations: 4.242 MB / 392 MB, free: 3.395 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002583/0.2813, allocations: 2.684 MB / 394.7 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.2825, allocations: 404 kB / 395.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0009138/0.2835, allocations: 86.94 kB / 395.2 MB, free: 1.348 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: tauRef Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetData smpmData