Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 111.3 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 211.7 kB / 20.03 MB, free: 2.684 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.215/1.215, allocations: 230.4 MB / 251.3 MB, free: 8.871 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.437e-05, allocations: 2.281 kB / 368.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1326/0.1326, allocations: 14.33 MB / 383.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006695/0.1393, allocations: 5.389 MB / 388.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1403, allocations: 83.03 kB / 388.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.1422, allocations: 1.109 MB / 389.8 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.1448, allocations: 1.474 MB / 391.3 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.1465, allocations: 1.029 MB / 392.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004604/0.1511, allocations: 5.281 MB / 397.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.1528, allocations: 1.214 MB / 398.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.155, allocations: 1.792 MB / 400.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.1571, allocations: 1.953 MB / 402.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003502/0.1574, allocations: 337.5 kB / 402.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.1597, allocations: 1.207 MB / 404.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00338/0.1631, allocations: 4.892 MB / 409 MB, free: 8.547 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002173/0.1653, allocations: 3.203 MB / 412.2 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005475/0.1658, allocations: 442.8 kB / 412.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000427/0.1662, allocations: 51.88 kB / 412.6 MB, free: 5.059 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