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.SMR_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.001469/0.001469, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002117/0.002117, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.568/1.568, allocations: 230.7 MB / 258.3 MB, free: 7.777 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.276e-05, allocations: 2.281 kB / 379.1 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.3388/0.3388, allocations: 34.38 MB / 413.5 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03934/0.3782, allocations: 10.36 MB / 423.8 MB, free: 424 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01565/0.3938, allocations: 373.9 kB / 424.2 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02475/0.4186, allocations: 8.033 MB / 432.2 MB, free: 8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02016/0.4387, allocations: 3.479 MB / 435.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01256/0.4513, allocations: 2.344 MB / 438.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03042/0.4817, allocations: 13.51 MB / 451.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02777/0.5095, allocations: 12.68 MB / 464.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/0.5228, allocations: 6.149 MB / 470.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01553/0.5383, allocations: 6.561 MB / 477 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00505/0.5434, allocations: 1.367 MB / 478.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009097/0.5525, allocations: 2.038 MB / 480.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.03446/0.5869, allocations: 18.88 MB / 499.3 MB, free: 4.609 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.01618/0.6031, allocations: 11.3 MB / 0.4986 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005638/0.6088, allocations: 0.6094 MB / 0.4992 GB, free: 8.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.002213/0.611, allocations: 143.5 kB / 0.4993 GB, free: 8.438 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.3634/0.9744, allocations: 61.79 MB / 0.5597 GB, free: 61.09 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01728/0.9917, allocations: 7.867 MB / 0.5673 GB, free: 56.77 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.07942/1.071, allocations: 48.44 MB / 0.6147 GB, free: 23.93 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02965/1.101, allocations: 5.747 MB / 0.6203 GB, free: 20.86 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.08494/1.186, allocations: 31.24 MB / 0.6508 GB, free: 13.27 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.02293/1.209, allocations: 5.149 MB / 0.6558 GB, free: 8.02 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01565/1.224, allocations: 3.17 MB / 0.6589 GB, free: 4.781 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.02024/1.244, allocations: 8.024 MB / 0.6667 GB, free: 12.78 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.004012/1.248, allocations: 1.228 MB / 0.6679 GB, free: 11.57 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.03846/1.287, allocations: 13.87 MB / 0.6815 GB, free: 13.72 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.783527391962707] 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.3251474320422858 1.3394921979999999 0.72485165 Calling exit ...