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.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.00178/0.00178, allocations: 109.2 kB / 22 MB, free: 5.215 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.001873/0.001873, allocations: 210 kB / 25.3 MB, free: 2.898 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.777/1.777, allocations: 207.7 MB / 236.2 MB, free: 9.77 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.384e-05, allocations: 2.281 kB / 348.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.04754/0.04756, allocations: 35.76 MB / 384.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2618/0.3093, allocations: 10.78 MB / 395.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01293/0.3222, allocations: 325.3 kB / 395.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02364/0.3459, allocations: 8.288 MB / 403.7 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01783/0.3637, allocations: 3.869 MB / 407.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009311/0.373, allocations: 2.444 MB / 410 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0252/0.3982, allocations: 14.4 MB / 424.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02246/0.4207, allocations: 12.93 MB / 437.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01498/0.4357, allocations: 6.535 MB / 443.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01643/0.4521, allocations: 6.928 MB / 450.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006466/0.4585, allocations: 1.426 MB / 452.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.4714, allocations: 2.128 MB / 454.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.03662/0.508, allocations: 20.47 MB / 474.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.01731/0.5253, allocations: 12.23 MB / 487.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008099/0.5334, allocations: 0.6523 MB / 487.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.002099/0.5355, allocations: 156.3 kB / 487.9 MB, free: 11.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3621 (2068) * Number of variables: 3597 (1657) Notification: Performance of [SIM] Bindings: time 0.1239/0.6593, allocations: 66.52 MB / 0.5414 GB, free: 10.68 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.02398/0.6833, allocations: 8.685 MB / 0.5499 GB, free: 1.922 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.4569/1.14, allocations: 53.28 MB / 0.6019 GB, free: 52.15 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02211/1.162, allocations: 6.149 MB / 0.6079 GB, free: 49.62 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.08674/1.249, allocations: 34.02 MB / 0.6411 GB, free: 25.44 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.02238/1.271, allocations: 5.519 MB / 0.6465 GB, free: 22.7 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01395/1.285, allocations: 3.39 MB / 0.6498 GB, free: 20.09 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.02035/1.306, allocations: 8.647 MB / 0.6583 GB, free: 12.74 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.004893/1.311, allocations: 1.231 MB / 0.6595 GB, free: 11.96 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.04502/1.356, allocations: 15 MB / 0.6741 GB, free: 224 kB / 446.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) Real[3] smpm.stator.zeroInductor.v slice: {1, 2} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.149923207005486] 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.402590866026003 1.4175755829999999 0.878526687 Calling exit ...