Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.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.001526/0.001526, 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.00157/0.00157, allocations: 188.4 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.547/1.547, 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.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.312e-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.ComparisonPolyphase.IMS_Start_Polyphase): time 0.2479/0.2479, allocations: 23.99 MB / 395.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02128/0.2692, allocations: 7.486 MB / 403.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009259/0.2784, allocations: 247.2 kB / 403.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00756/0.286, allocations: 1.94 MB / 405.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.2984, allocations: 2.76 MB / 408.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006703/0.3051, allocations: 1.65 MB / 409.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02051/0.3256, allocations: 12.67 MB / 422.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008527/0.3341, allocations: 2.501 MB / 425 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009939/0.3441, allocations: 4.362 MB / 429.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.3547, allocations: 4.476 MB / 433.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003505/0.3582, allocations: 0.7891 MB / 434.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006459/0.3646, allocations: 1.3 MB / 435.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.02083/0.3855, allocations: 14.28 MB / 450.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.01242/0.3979, allocations: 8.929 MB / 459.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004888/0.4028, allocations: 488 kB / 459.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.002573/0.4054, allocations: 147.6 kB / 459.8 MB, free: 15.05 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 (1211) * Number of variables: 2681 (1164) Notification: Performance of [SIM] Bindings: time 0.09105/0.4964, allocations: 41.12 MB / 0.4892 GB, free: 5.273 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009008/0.5054, allocations: 4.502 MB / 0.4935 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 0.04379/0.5492, allocations: 25.51 MB / 0.5185 GB, free: 7.062 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01/0.5592, allocations: 3.23 MB / 0.5216 GB, free: 3.637 MB / 430.1 MB Notification: Performance of [SIM] Alias: time 0.3417/0.9009, allocations: 24.49 MB / 0.5455 GB, free: 87.06 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.006894/0.9078, allocations: 2.616 MB / 0.5481 GB, free: 86.59 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003961/0.9117, allocations: 1.63 MB / 0.5497 GB, free: 86.36 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.007924/0.9196, allocations: 4.312 MB / 0.5539 GB, free: 85.93 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.002158/0.9218, allocations: 0.9425 MB / 0.5548 GB, free: 85.77 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.01171/0.9335, allocations: 7.276 MB / 0.5619 GB, free: 85.47 MB / 446.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (5) Real[5] aimsM.stator.electroMagneticConverter.v = aimsM.stator.zeroInductor.plug_n.pin.v - aimsM.plug_sn.pin.v slice: {1, 2, 3, 4} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.5212028360110708] Failed to read output from testmodel.py, exit status != 0: ['time', 'aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aims3.rotor.zeroInductor.i0', 'aims3.is[1]', 'aims3.is[2]', 'aims3.ir[1]', 'aims3.ir[2]', 'aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimsM.rotor.zeroInductor.i0', 'aimsM.is[1]', 'aimsM.is[2]', 'aimsM.is[3]', 'aimsM.is[4]', 'aimsM.ir[1]', 'aimsM.ir[2]', 'aimsM.ir[3]', 'aimsM.ir[4]', 'aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'loadInertia3.phi', 'loadInertia3.w', 'loadInertiaM.phi', 'loadInertiaM.w'] 1.0258952910080552 1.036370202 0.628231545 Calling exit ...