Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, 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.001363/0.001363, 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.226/1.226, allocations: 230.4 MB / 251.3 MB, free: 8.691 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.007e-05, allocations: 2.281 kB / 368.9 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.1316/0.1317, allocations: 12.97 MB / 381.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.1374, allocations: 4.283 MB / 386.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008795/0.1382, allocations: 85.91 kB / 386.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.1398, allocations: 1.028 MB / 387.2 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.1418, allocations: 1.237 MB / 388.5 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.1425, allocations: 0.5294 MB / 389 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003859/0.1464, allocations: 5.228 MB / 394.2 MB, free: 2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.1477, allocations: 1.186 MB / 395.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.1502, allocations: 1.909 MB / 397.3 MB, free: 496 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.1522, allocations: 2.073 MB / 399.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003237/0.1526, allocations: 305 kB / 399.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.1546, allocations: 1.09 MB / 400.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003585/0.1582, allocations: 4.785 MB / 405.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002128/0.1603, allocations: 3.116 MB / 408.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.1609, allocations: 443.1 kB / 409.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004545/0.1613, allocations: 71.73 kB / 409.2 MB, free: 8.684 MB / 318.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.IM_SquirrelCageData aimcData