Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001277/0.001277, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001566/0.001566, allocations: 211.5 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.803e-05, allocations: 5.234 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2127/0.2128, allocations: 35.8 MB / 414.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02844/0.2412, allocations: 11.07 MB / 425.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01128/0.2525, allocations: 358.1 kB / 426.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02124/0.2737, allocations: 7.466 MB / 433.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.2912, allocations: 3.672 MB / 437.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008885/0.3001, allocations: 2.299 MB / 439.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02235/0.3224, allocations: 13.57 MB / 453.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02039/0.3428, allocations: 11.74 MB / 464.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009991/0.3528, allocations: 5.875 MB / 470.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.3643, allocations: 6.659 MB / 477.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003806/0.3681, allocations: 1.301 MB / 478.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008879/0.377, allocations: 2.155 MB / 480.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.02502/0.402, allocations: 18.87 MB / 499.8 MB, free: 3.973 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.01321/0.4152, allocations: 11.34 MB / 0.4992 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004428/0.4197, allocations: 0.625 MB / 0.4998 GB, free: 7.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.001954/0.4216, allocations: 155.5 kB / 0.4999 GB, free: 7.727 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3065 (1887) * Number of variables: 3043 (1567) Notification: Performance of [SIM] Bindings: time 0.3121/0.7337, allocations: 59.33 MB / 0.5579 GB, free: 62.52 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0135/0.7472, allocations: 7.591 MB / 0.5653 GB, free: 58.3 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.04982/0.7971, allocations: 44.36 MB / 0.6086 GB, free: 28.24 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01413/0.8112, allocations: 5.898 MB / 0.6143 GB, free: 24.8 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.04016/0.8513, allocations: 30.92 MB / 0.6445 GB, free: 2.457 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.008553/0.8599, allocations: 5.059 MB / 0.6495 GB, free: 13.27 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.005094/0.865, allocations: 2.893 MB / 0.6523 GB, free: 10.3 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.009166/0.8742, allocations: 7.319 MB / 0.6595 GB, free: 2.988 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.002237/0.8764, allocations: 1.169 MB / 0.6606 GB, free: 1.859 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.02063/0.897, allocations: 12.64 MB / 0.6729 GB, free: 5.152 MB / 478.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) flow Real[3] smee.plug_sn.pin.i slice: {0, 1} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.2937329239211977] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed.phi', 'constantSpeedQS.phi', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.stray.port_p.Phi.im', 'smee.stator.stray.port_p.Phi.re', 'smee.stator.zeroInductor.i0', 'smeeQS.short.port_p.reference.gamma'] 0.9307781457901001 0.944581698 0.519786985 Calling exit ...