Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource") translateModel(HanserModelica.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 115.3 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 240.1 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001318, allocations: 196.4 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03426/0.03426, allocations: 8.798 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.034e-05, allocations: 2.281 kB / 464.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMPM_CurrentSource): time 0.03463/0.03467, allocations: 28.73 MB / 493.3 MB, free: 300 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02447/0.0592, allocations: 8.446 MB / 0.49 GB, free: 7.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00847/0.06773, allocations: 215.4 kB / 0.4902 GB, free: 7.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02091/0.08867, allocations: 8.213 MB / 0.4982 GB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.1022, allocations: 2.85 MB / 0.501 GB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007614/0.1098, allocations: 1.859 MB / 0.5028 GB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01884/0.1287, allocations: 10.03 MB / 0.5126 GB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3085/0.4373, allocations: 17.5 MB / 0.5297 GB, free: 18.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009442/0.4468, allocations: 4.788 MB / 0.5343 GB, free: 18.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.4585, allocations: 5.086 MB / 0.5393 GB, free: 18.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005999/0.4645, allocations: 1.135 MB / 0.5404 GB, free: 18.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.4756, allocations: 2.065 MB / 0.5424 GB, free: 18.15 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.01554/0.4912, allocations: 10.97 MB / 0.5531 GB, free: 13.42 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.006111/0.4973, allocations: 6.952 MB / 0.5599 GB, free: 9.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003702/0.501, allocations: 0.819 MB / 0.5607 GB, free: 9.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001215/0.5023, allocations: 99.05 kB / 0.5608 GB, free: 9.391 MB / 366.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 HanserModelica.SynchronousMachines.ParameterRecords.SMPM2 smpmData