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.SMPM_CurrentSource.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.001581/0.001581, 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.001502/0.001502, allocations: 205.2 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|terminalBoxQS.plugSupply.pin.1..v.re|terminalBoxQS.plugSupply.pin.1..v.im|terminalBoxQS.plugSupply.pin.1..i.re|terminalBoxQS.plugSupply.pin.1..i.im|terminalBoxQS.plugSupply.pin.2..v.re|terminalBoxQS.plugSupply.pin.2..v.im|terminalBoxQS.plugSupply.pin.2..i.re|terminalBoxQS.plugSupply.pin.2..i.im|terminalBoxQS.plugSupply.pin.3..v.re|terminalBoxQS.plugSupply.pin.3..v.im|terminalBoxQS.plugSupply.pin.3..i.re|terminalBoxQS.plugSupply.pin.3..i.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.612e-05, allocations: 2.281 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2063/0.2063, allocations: 35.86 MB / 414.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02921/0.2355, allocations: 10.89 MB / 425.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01104/0.2466, allocations: 381.9 kB / 426.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02255/0.2691, allocations: 8.265 MB / 434.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01659/0.2857, allocations: 3.678 MB / 438.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009596/0.2953, allocations: 2.41 MB / 440.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02426/0.3196, allocations: 14.13 MB / 454.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02988/0.3495, allocations: 13.04 MB / 467.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01278/0.3622, allocations: 6.339 MB / 474 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01378/0.376, allocations: 7.166 MB / 481.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005225/0.3812, allocations: 1.402 MB / 482.5 MB, free: 5.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008877/0.3901, allocations: 2.151 MB / 484.7 MB, free: 3.332 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.02688/0.417, allocations: 19.75 MB / 0.4926 GB, free: 15.42 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01452/0.4315, allocations: 11.87 MB / 0.5042 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005177/0.4367, allocations: 0.6406 MB / 0.5048 GB, free: 2.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.00214/0.4388, allocations: 147.5 kB / 0.505 GB, free: 2.629 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: 3438 (2010) * Number of variables: 3414 (1590) Notification: Performance of [SIM] Bindings: time 0.3356/0.7744, allocations: 64.28 MB / 0.5678 GB, free: 59.71 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01629/0.7907, allocations: 8.263 MB / 0.5758 GB, free: 55.06 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.06645/0.8571, allocations: 49.03 MB / 0.6237 GB, free: 21.52 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01697/0.8741, allocations: 6.429 MB / 0.63 GB, free: 17.82 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.05308/0.9272, allocations: 31.8 MB / 0.661 GB, free: 6.016 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01387/0.9411, allocations: 5.689 MB / 0.6666 GB, free: 240 kB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.007022/0.9481, allocations: 3.23 MB / 0.6697 GB, free: 12.94 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0132/0.9613, allocations: 8.205 MB / 0.6778 GB, free: 4.777 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.002464/0.9638, allocations: 1.16 MB / 0.6789 GB, free: 3.641 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0242/0.988, allocations: 14.17 MB / 0.6927 GB, free: 5.453 MB / 494.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) Real[3] currentRMSsensor.v slice: {1} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.4145734356716275] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'inertiaLoadQS.phi', 'inertiaLoadQS.w', 'terminalBoxQS.plugSupply.pin[1].v.re', 'terminalBoxQS.plugSupply.pin[1].v.im', 'terminalBoxQS.plugSupply.pin[1].i.re', 'terminalBoxQS.plugSupply.pin[1].i.im', 'terminalBoxQS.plugSupply.pin[2].v.re', 'terminalBoxQS.plugSupply.pin[2].v.im', 'terminalBoxQS.plugSupply.pin[2].i.re', 'terminalBoxQS.plugSupply.pin[2].i.im', 'terminalBoxQS.plugSupply.pin[3].v.re', 'terminalBoxQS.plugSupply.pin[3].v.im', 'terminalBoxQS.plugSupply.pin[3].i.re', 'terminalBoxQS.plugSupply.pin[3].i.im'] 1.0217107273638248 1.038062996 0.59595031 Calling exit ...