Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 109.3 kB / 22 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 213.5 kB / 25.3 MB, free: 2.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 207.7 MB / 236.2 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.307e-05, allocations: 2.281 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.02791/0.02794, allocations: 18.74 MB / 367.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.04637, allocations: 6.185 MB / 373.5 MB, free: 324 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005422/0.05179, allocations: 158.9 kB / 373.6 MB, free: 164 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006178/0.05797, allocations: 1.479 MB / 375.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.06805, allocations: 2.089 MB / 377.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005601/0.07365, allocations: 1.314 MB / 378.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.08857, allocations: 7.869 MB / 386.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006326/0.09489, allocations: 1.724 MB / 388.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2508/0.3457, allocations: 2.833 MB / 390.9 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007238/0.3529, allocations: 2.876 MB / 393.8 MB, free: 17.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.3552, allocations: 0.5241 MB / 394.3 MB, free: 17.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.3608, allocations: 1.089 MB / 395.4 MB, free: 17.47 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01291/0.3737, allocations: 10.11 MB / 405.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.007009/0.3807, allocations: 6.301 MB / 411.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.3835, allocations: 371.4 kB / 412.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001164/0.3846, allocations: 120.8 kB / 412.3 MB, free: 10.04 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 (901) * Number of variables: 1413 (870) Notification: Performance of [SIM] Bindings: time 0.03426/0.4189, allocations: 27.94 MB / 440.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.005063/0.424, allocations: 3.193 MB / 443.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.02079/0.4447, allocations: 16.38 MB / 459.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005942/0.4507, allocations: 2.069 MB / 461.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.03196/0.4827, allocations: 18.34 MB / 480.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003378/0.486, allocations: 1.659 MB / 481.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001489/0.4875, allocations: 1.029 MB / 482.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0033/0.4908, allocations: 2.655 MB / 485.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.001069/0.4919, allocations: 0.5439 MB / 486.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.005951/0.4978, allocations: 4.462 MB / 490.6 MB, free: 7.09 MB / 382.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) Real[3] smpmM.stator.v = smpmM.strayLoad.plug_n.pin.v - smpmM.plug_sn.pin.v slice: {1, 2} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3855930689605884] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smpmE.is[1]', 'smpmE.is[2]', 'smpmE.idq_dr[1]', 'smpmE.idq_rr[2]', 'smpmE.idq_sr[1]', 'smpmE.idq_sr[2]', 'smpmM.is[1]', 'smpmM.is[2]', 'smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smpmM.stator.strayReluctance.port_p.Phi.im', 'smpmM.stator.strayReluctance.port_p.Phi.re', 'vfController.x'] 0.5671438589924946 0.583872911 0.195642636 Calling exit ...