Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.001766/0.001766, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 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.002197/0.002197, allocations: 192.2 kB / 24.53 MB, free: 3.852 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.722/1.722, 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.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.457e-05, allocations: 2.281 kB / 371.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.3049/0.305, allocations: 35.29 MB / 407.1 MB, free: 288 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03508/0.34, allocations: 10.65 MB / 417.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01464/0.3547, allocations: 373.2 kB / 418.1 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02469/0.3794, allocations: 8.256 MB / 426.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0209/0.4003, allocations: 3.645 MB / 430 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01217/0.4124, allocations: 2.371 MB / 432.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03005/0.4425, allocations: 14.01 MB / 446.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03724/0.4797, allocations: 12.9 MB / 459.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/0.4964, allocations: 6.328 MB / 465.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01605/0.5124, allocations: 6.654 MB / 472.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006884/0.5193, allocations: 1.398 MB / 473.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.5307, allocations: 2.112 MB / 475.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.03583/0.5665, allocations: 19.7 MB / 495.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.01851/0.585, allocations: 11.84 MB / 0.4954 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007116/0.5922, allocations: 0.6367 MB / 0.4961 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.002932/0.5951, allocations: 155.4 kB / 0.4962 GB, free: 14.53 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.4062/1.001, allocations: 64.3 MB / 0.559 GB, free: 64.33 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01842/1.02, allocations: 8.265 MB / 0.5671 GB, free: 60.9 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.07334/1.093, allocations: 49.38 MB / 0.6153 GB, free: 27.77 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01592/1.109, allocations: 5.837 MB / 0.621 GB, free: 24.67 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.05914/1.168, allocations: 32.44 MB / 0.6527 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.02041/1.188, allocations: 5.209 MB / 0.6578 GB, free: 11.65 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01358/1.202, allocations: 3.215 MB / 0.6609 GB, free: 8.367 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0205/1.223, allocations: 8.182 MB / 0.6689 GB, free: 224 kB / 462.1 MB Notification: Performance of [SIM] Events: time 0.005294/1.228, allocations: 1.146 MB / 0.67 GB, free: 15.1 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.04992/1.278, allocations: 14.13 MB / 0.6838 GB, free: 0.9414 MB / 478.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: 4.060822577972431] 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.32322241703514 1.339075437 0.740045793 Calling exit ...