Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001442/0.001442, 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.001586/0.001586, allocations: 223 kB / 24.56 MB, free: 3.816 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.557/1.557, allocations: 230.5 MB / 258.2 MB, free: 7.707 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.091e-05, allocations: 4.531 kB / 379.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2424/0.2425, allocations: 8.599 MB / 387.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007867/0.2503, allocations: 3.585 MB / 391.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.2523, allocations: 61 kB / 391.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.2544, allocations: 0.6595 MB / 392 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.2575, allocations: 0.9204 MB / 392.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2588, allocations: 467.4 kB / 393.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.2628, allocations: 3.029 MB / 396.4 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.2639, allocations: 0.6104 MB / 397 MB, free: 4.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.2663, allocations: 1.176 MB / 398.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.2684, allocations: 1.177 MB / 399.4 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003329/0.2687, allocations: 188.8 kB / 399.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.2708, allocations: 0.6441 MB / 400.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003543/0.2743, allocations: 3.939 MB / 404.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002448/0.2768, allocations: 2.411 MB / 406.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.2774, allocations: 143.1 kB / 406.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005572/0.278, allocations: 50.3 kB / 406.7 MB, free: 15.4 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 (336) * Number of variables: 524 (306) Notification: Performance of [SIM] Bindings: time 0.01247/0.2904, allocations: 10.58 MB / 417.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001821/0.2923, allocations: 1.17 MB / 418.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005723/0.298, allocations: 5.18 MB / 423.7 MB, free: 8 kB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001661/0.2996, allocations: 0.8131 MB / 424.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.0112/0.3108, allocations: 7.09 MB / 431.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001158/0.312, allocations: 0.6105 MB / 432.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004615/0.3125, allocations: 352.1 kB / 432.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001122/0.3136, allocations: 0.902 MB / 433.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.000321/0.3139, allocations: 195.8 kB / 433.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001771/0.3157, allocations: 1.452 MB / 435.1 MB, free: 3.652 MB / 334.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) flow Real[3] terminalBox.plug_sn.pin.i slice: {1, 2} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.87571781600127] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 0.3385288429562934 0.351861515 0.07071363500000001 Calling exit ...