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.00202/0.00202, allocations: 103.6 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.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.002846/0.002846, allocations: 212.5 kB / 24.55 MB, free: 3.828 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.628/1.628, allocations: 230.7 MB / 258.3 MB, free: 7.75 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.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.3054/0.3054, allocations: 35.86 MB / 415 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03675/0.3421, allocations: 10.9 MB / 425.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01582/0.358, allocations: 378 kB / 426.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02681/0.3848, allocations: 8.272 MB / 434.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02065/0.4054, allocations: 3.656 MB / 438.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.4158, allocations: 2.395 MB / 440.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02838/0.4442, allocations: 14.13 MB / 454.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03513/0.4793, allocations: 12.89 MB / 467.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/0.4939, allocations: 6.343 MB / 473.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01524/0.5091, allocations: 6.74 MB / 480.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007323/0.5165, allocations: 1.402 MB / 482.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.5268, allocations: 2.132 MB / 484.2 MB, free: 3.859 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.03252/0.5593, allocations: 19.75 MB / 0.4921 GB, free: 15.95 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01718/0.5765, allocations: 11.87 MB / 0.5037 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006867/0.5834, allocations: 0.6406 MB / 0.5044 GB, free: 3.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.002672/0.586, allocations: 155.4 kB / 0.5045 GB, free: 3.152 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.4417/1.028, allocations: 64.39 MB / 0.5674 GB, free: 59.38 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01977/1.048, allocations: 8.26 MB / 0.5755 GB, free: 54.73 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.08741/1.135, allocations: 49.53 MB / 0.6238 GB, free: 20.89 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0184/1.153, allocations: 5.852 MB / 0.6295 GB, free: 17.79 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.07485/1.228, allocations: 32.5 MB / 0.6613 GB, free: 5.512 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0204/1.249, allocations: 5.225 MB / 0.6664 GB, free: 180 kB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01112/1.26, allocations: 3.229 MB / 0.6695 GB, free: 12.88 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.02011/1.28, allocations: 8.196 MB / 0.6775 GB, free: 4.727 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.003704/1.284, allocations: 1.167 MB / 0.6787 GB, free: 3.582 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.04776/1.331, allocations: 14.18 MB / 0.6925 GB, free: 5.387 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: 4.002442110970151] 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.3809502509539016 1.398648911 0.808490292 Calling exit ...