Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.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.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 108.2 kB / 16.42 MB, free: 6.512 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.483/1.483, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001481/0.001482, allocations: 192.5 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03412/0.03412, allocations: 8.79 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.734e-05, allocations: 2.281 kB / 464.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.03049/0.03053, allocations: 27.65 MB / 492.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.05494, allocations: 8.03 MB / 0.4885 GB, free: 9.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008398/0.06338, allocations: 207.4 kB / 0.4887 GB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02048/0.0839, allocations: 7.913 MB / 0.4964 GB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.09601, allocations: 2.71 MB / 0.4991 GB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007331/0.1034, allocations: 1.814 MB / 0.5008 GB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02023/0.1236, allocations: 9.647 MB / 0.5103 GB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03206/0.1557, allocations: 17.35 MB / 0.5272 GB, free: 1.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3478/0.5036, allocations: 4.665 MB / 0.5318 GB, free: 21.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01643/0.5201, allocations: 4.959 MB / 0.5366 GB, free: 21.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007656/0.5278, allocations: 1.119 MB / 0.5377 GB, free: 21.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01518/0.5431, allocations: 1.951 MB / 0.5396 GB, free: 21.22 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.02762/0.5707, allocations: 10.53 MB / 0.5499 GB, free: 16.72 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.01112/0.5819, allocations: 6.661 MB / 0.5564 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007671/0.5896, allocations: 0.7843 MB / 0.5571 GB, free: 12.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.002111/0.5918, allocations: 87.72 kB / 0.5572 GB, free: 12.91 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.SMR smrData