Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00214/0.00214, allocations: 109.6 kB / 22 MB, free: 5.219 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.001612/0.001612, allocations: 213.5 kB / 25.3 MB, free: 2.895 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.789/1.789, allocations: 207.7 MB / 236.2 MB, free: 9.773 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.433e-05, allocations: 6.219 kB / 348.6 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04828/0.04831, allocations: 35.33 MB / 383.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.304/0.3523, allocations: 10.77 MB / 394.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0138/0.3661, allocations: 310.5 kB / 395 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02252/0.3887, allocations: 7.459 MB / 402.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.4053, allocations: 3.71 MB / 406.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009591/0.4149, allocations: 2.294 MB / 408.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02474/0.4396, allocations: 13.52 MB / 422 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02515/0.4647, allocations: 11.6 MB / 433.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.4793, allocations: 5.93 MB / 439.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01472/0.494, allocations: 6.21 MB / 445.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005515/0.4995, allocations: 1.312 MB / 447 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.5108, allocations: 2.118 MB / 449.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.03152/0.5423, allocations: 19.09 MB / 468.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.01583/0.5581, allocations: 11.45 MB / 479.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006382/0.5645, allocations: 0.6289 MB / 480.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.002305/0.5668, allocations: 149.7 kB / 480.4 MB, free: 2.566 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: 3134 (1907) * Number of variables: 3112 (1592) Notification: Performance of [SIM] Bindings: time 0.12/0.6868, allocations: 60.08 MB / 0.5279 GB, free: 7.84 MB / 430.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.02175/0.7085, allocations: 7.836 MB / 0.5355 GB, free: 248 kB / 430.1 MB Notification: Performance of [SIM] Early Inline: time 0.4653/1.174, allocations: 46.23 MB / 0.5806 GB, free: 68.86 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02372/1.198, allocations: 5.4 MB / 0.5859 GB, free: 66.97 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.08332/1.281, allocations: 32.16 MB / 0.6173 GB, free: 47.56 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01727/1.298, allocations: 4.711 MB / 0.6219 GB, free: 45.19 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01119/1.309, allocations: 2.939 MB / 0.6248 GB, free: 42.88 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.01715/1.326, allocations: 7.475 MB / 0.6321 GB, free: 36.47 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.005789/1.332, allocations: 1.192 MB / 0.6333 GB, free: 35.74 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.03773/1.37, allocations: 12.94 MB / 0.6459 GB, free: 27.23 MB / 446.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.stator.resistor.plug_n.pin.i slice: {0, 1} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.192093050980475] Failed to read output from testmodel.py, exit status != 0: ['time', 'Ptr', 'Pqs', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.strayReluctance.port_p.Phi.im', 'smee.stator.strayReluctance.port_p.Phi.re', 'smeeQS.short.port_p.reference.gamma'] 1.412633472995367 1.428377639 0.857372398 Calling exit ...