Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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.001382/0.001382, allocations: 107.6 kB / 21.25 MB, free: 0.5625 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.001469/0.001469, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.539/1.539, allocations: 230.5 MB / 258.2 MB, free: 7.715 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.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.149e-05, allocations: 9.031 kB / 379.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.3243/0.3243, allocations: 34.39 MB / 413.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03393/0.3583, allocations: 10.36 MB / 423.8 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01427/0.3725, allocations: 374 kB / 424.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02415/0.3967, allocations: 8.024 MB / 432.2 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01795/0.4146, allocations: 3.481 MB / 435.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009478/0.4241, allocations: 2.329 MB / 438 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02518/0.4493, allocations: 13.53 MB / 451.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02557/0.4749, allocations: 12.68 MB / 464.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/0.4882, allocations: 6.133 MB / 470.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01416/0.5023, allocations: 6.557 MB / 476.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005217/0.5076, allocations: 1.371 MB / 478.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009089/0.5166, allocations: 2.03 MB / 480.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.02899/0.5456, allocations: 18.88 MB / 499.2 MB, free: 4.359 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.01732/0.563, allocations: 11.29 MB / 0.4985 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00652/0.5695, allocations: 0.6132 MB / 0.4991 GB, free: 8.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.002621/0.5721, allocations: 143.5 kB / 0.4993 GB, free: 8.188 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: 3353 (1939) * Number of variables: 3329 (1511) Notification: Performance of [SIM] Bindings: time 0.3754/0.9475, allocations: 61.79 MB / 0.5596 GB, free: 60.8 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01712/0.9646, allocations: 7.865 MB / 0.5673 GB, free: 56.48 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.08042/1.045, allocations: 48.45 MB / 0.6146 GB, free: 23.64 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02526/1.07, allocations: 5.745 MB / 0.6202 GB, free: 20.57 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.07947/1.15, allocations: 31.23 MB / 0.6507 GB, free: 12.96 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.02278/1.173, allocations: 5.149 MB / 0.6558 GB, free: 7.711 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01433/1.187, allocations: 3.173 MB / 0.6589 GB, free: 4.48 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.02156/1.208, allocations: 8.026 MB / 0.6667 GB, free: 12.47 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.006053/1.215, allocations: 1.223 MB / 0.6679 GB, free: 11.27 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.05357/1.268, allocations: 13.87 MB / 0.6814 GB, free: 13.42 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: {0, 2} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.757181763998233] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'inertiaLoadQS.phi', 'inertiaLoadQS.w', 'dqToThreePhase.y[1]', 'dqToThreePhase.y[2]', 'dqToThreePhase.y[3]'] 1.3170943590230308 1.334266449 0.7584288760000001 Calling exit ...