Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 102.2 kB / 16.42 MB, free: 6.484 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.523/1.523, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001356/0.001356, allocations: 184.5 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03307/0.03307, allocations: 8.804 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.662e-05, allocations: 2.281 kB / 464.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01712/0.01716, allocations: 13.39 MB / 477.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.02855, allocations: 4.426 MB / 482.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.03213, allocations: 91.62 kB / 482.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004191/0.0364, allocations: 1.068 MB / 483.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006226/0.04266, allocations: 1.332 MB / 484.8 MB, free: 8.766 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/SMR_Inverter.mo:88:3-88:33:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.04613, allocations: 0.8638 MB / 485.7 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008979/0.05513, allocations: 4.732 MB / 490.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004635/0.05981, allocations: 2.281 MB / 492.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.06428, allocations: 1.6 MB / 494.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.06862, allocations: 1.654 MB / 496 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.07023, allocations: 320 kB / 496.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004548/0.0748, allocations: 0.9753 MB / 497.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.007425/0.08224, allocations: 4.59 MB / 0.4901 GB, free: 7.613 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.004498/0.08678, allocations: 3.031 MB / 0.493 GB, free: 4.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.08871, allocations: 422.9 kB / 0.4934 GB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.001109/0.08985, allocations: 59.81 kB / 0.4935 GB, free: 4.07 MB / 334.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