Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001418/0.001418, 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.001812/0.001812, 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.635/1.635, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.604e-05/3.604e-05, allocations: 2.281 kB / 379.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2665/0.2666, allocations: 8.605 MB / 387.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007899/0.2745, allocations: 3.577 MB / 391.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.2766, allocations: 59.75 kB / 391.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.2786, allocations: 0.6596 MB / 392 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.2817, allocations: 0.9208 MB / 392.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2831, allocations: 477.7 kB / 393.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004306/0.2874, allocations: 3.033 MB / 396.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.2887, allocations: 0.6096 MB / 397 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.2912, allocations: 1.168 MB / 398.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.2938, allocations: 1.185 MB / 399.4 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003909/0.2942, allocations: 189 kB / 399.6 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.2966, allocations: 0.6423 MB / 400.2 MB, free: 3.934 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003522/0.3001, allocations: 3.934 MB / 404.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00245/0.3026, allocations: 2.408 MB / 406.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.3033, allocations: 144.2 kB / 406.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005821/0.3038, allocations: 57.53 kB / 406.7 MB, free: 15.52 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.01352/0.3174, allocations: 10.58 MB / 417.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001788/0.3191, allocations: 1.159 MB / 418.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006318/0.3255, allocations: 5.184 MB / 423.7 MB, free: 172 kB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00168/0.3271, allocations: 0.8158 MB / 424.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01203/0.3392, allocations: 7.082 MB / 431.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001271/0.3404, allocations: 0.6033 MB / 432.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000514/0.341, allocations: 356 kB / 432.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001162/0.3421, allocations: 0.9097 MB / 433.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003491/0.3425, allocations: 201.2 kB / 433.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001947/0.3444, allocations: 1.448 MB / 435.1 MB, free: 3.812 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: 3.075873052002862] 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.3703504060395062 0.38845805199999994 0.08138634800000001 Calling exit ...