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.001531/0.001531, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001697/0.001697, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.067e-05/3.067e-05, allocations: 5.656 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.2231/0.2232, allocations: 34.38 MB / 413.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02736/0.2505, allocations: 10.36 MB / 423.7 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01182/0.2623, allocations: 370 kB / 424.1 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02366/0.286, allocations: 8.046 MB / 432.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01642/0.3024, allocations: 3.499 MB / 435.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0092/0.3116, allocations: 2.349 MB / 438 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02225/0.3339, allocations: 13.53 MB / 451.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02977/0.3636, allocations: 12.81 MB / 464.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.3768, allocations: 6.145 MB / 470.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01416/0.391, allocations: 6.96 MB / 477.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005646/0.3966, allocations: 1.371 MB / 478.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009284/0.4059, allocations: 2.058 MB / 480.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.02683/0.4327, allocations: 18.88 MB / 499.7 MB, free: 4.051 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.01469/0.4474, allocations: 11.29 MB / 0.4991 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004923/0.4523, allocations: 0.6055 MB / 0.4996 GB, free: 8.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.002314/0.4546, allocations: 147.5 kB / 0.4998 GB, free: 7.879 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.3214/0.776, allocations: 61.66 MB / 0.56 GB, free: 60.87 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0184/0.7944, allocations: 7.868 MB / 0.5677 GB, free: 56.55 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.06293/0.8573, allocations: 47.96 MB / 0.6145 GB, free: 24.01 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0158/0.8731, allocations: 6.277 MB / 0.6207 GB, free: 20.39 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.04924/0.9224, allocations: 30.57 MB / 0.6505 GB, free: 13.54 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.014/0.9364, allocations: 5.578 MB / 0.656 GB, free: 7.871 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.006985/0.9434, allocations: 3.165 MB / 0.659 GB, free: 4.637 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.01442/0.9578, allocations: 8.041 MB / 0.6669 GB, free: 12.62 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.003797/0.9616, allocations: 1.223 MB / 0.6681 GB, free: 11.43 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.03601/0.9976, allocations: 13.87 MB / 0.6816 GB, free: 13.58 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.3017509230412543] 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.032214688602835 1.045764872 0.587864414 Calling exit ...