Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.247e-05, allocations: 2.281 kB / 371.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2692/0.2692, allocations: 11.94 MB / 383.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.2845, allocations: 4.717 MB / 388.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.2884, allocations: 95.59 kB / 388.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.2925, allocations: 1.03 MB / 389.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006978/0.2995, allocations: 1.443 MB / 391 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.3028, allocations: 0.955 MB / 391.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009837/0.3126, allocations: 5.101 MB / 397 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.3157, allocations: 1.046 MB / 398.1 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.32, allocations: 1.803 MB / 399.9 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005059/0.3251, allocations: 1.832 MB / 401.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.3265, allocations: 341.9 kB / 402.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004887/0.3314, allocations: 0.9185 MB / 403 MB, free: 5.551 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.008857/0.3402, allocations: 6.151 MB / 409.1 MB, free: 1.055 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.005198/0.3454, allocations: 3.849 MB / 413 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003037/0.3485, allocations: 212 kB / 413.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.00103/0.3495, allocations: 59.8 kB / 413.2 MB, free: 13.91 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: 877 (525) * Number of variables: 877 (513) Notification: Performance of [SIM] Bindings: time 0.03164/0.3811, allocations: 17.77 MB / 431 MB, free: 11.71 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004607/0.3857, allocations: 2.066 MB / 433.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.02099/0.4067, allocations: 10.98 MB / 444.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005525/0.4122, allocations: 1.366 MB / 445.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.01849/0.4307, allocations: 10.11 MB / 455.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002483/0.4332, allocations: 1.12 MB / 456.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001189/0.4344, allocations: 0.7258 MB / 457.4 MB, free: 204 kB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.002328/0.4367, allocations: 1.903 MB / 459.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0007295/0.4375, allocations: 387.1 kB / 459.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.004174/0.4416, allocations: 3.116 MB / 462.8 MB, free: 10.66 MB / 366.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) Real[3] aimc.stator.electroMagneticConverter.v = aimc.stator.zeroInductor.plug_n.pin.v - aimc.plug_sn.pin.v slice: {1, 2} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2593483239761554] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.49089779396308586 0.5044908309999999 0.15150006899999996 Calling exit ...