Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001841/0.001841, allocations: 107.6 kB / 21.25 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002312/0.002312, allocations: 215.2 kB / 24.55 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.709e-05, allocations: 6.219 kB / 379.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2709/0.271, allocations: 35.86 MB / 415 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03019/0.3011, allocations: 10.9 MB / 425.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01208/0.3132, allocations: 377.9 kB / 426.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0254/0.3386, allocations: 8.263 MB / 434.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.3561, allocations: 3.654 MB / 438.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008918/0.3651, allocations: 2.407 MB / 440.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02287/0.3879, allocations: 14.13 MB / 454.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02559/0.4135, allocations: 12.88 MB / 467.6 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.4261, allocations: 6.339 MB / 473.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/0.4404, allocations: 6.74 MB / 480.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005775/0.4461, allocations: 1.402 MB / 482 MB, free: 5.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00901/0.4551, allocations: 2.128 MB / 484.2 MB, free: 3.676 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0297/0.4848, allocations: 19.75 MB / 0.4921 GB, free: 15.76 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01635/0.5012, allocations: 11.87 MB / 0.5037 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006267/0.5075, allocations: 0.6406 MB / 0.5043 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.002207/0.5097, allocations: 155.5 kB / 0.5045 GB, free: 2.965 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.4293/0.939, allocations: 64.39 MB / 0.5674 GB, free: 59.25 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01971/0.9587, allocations: 8.256 MB / 0.5754 GB, free: 54.59 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.08235/1.041, allocations: 49.53 MB / 0.6238 GB, free: 20.74 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02459/1.066, allocations: 5.851 MB / 0.6295 GB, free: 17.63 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.08124/1.147, allocations: 32.5 MB / 0.6612 GB, free: 5.277 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01906/1.166, allocations: 5.224 MB / 0.6663 GB, free: 15.94 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01118/1.177, allocations: 3.239 MB / 0.6695 GB, free: 12.64 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.01787/1.195, allocations: 8.191 MB / 0.6775 GB, free: 4.484 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.003834/1.199, allocations: 1.171 MB / 0.6786 GB, free: 3.344 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.04387/1.243, allocations: 14.17 MB / 0.6925 GB, free: 5.148 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.912178989034146] 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.289604727004189 1.306959972 0.793311649 Calling exit ...