Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 188.4 kB / 24.53 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.7 MB / 253.4 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.693e-05, allocations: 6.219 kB / 371.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01287/0.01289, allocations: 8.545 MB / 380.3 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2659/0.2788, allocations: 3.372 MB / 383.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.2807, allocations: 63.3 kB / 383.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.2833, allocations: 0.6491 MB / 384.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.2866, allocations: 0.884 MB / 385.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2881, allocations: 467.2 kB / 385.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.2924, allocations: 2.944 MB / 388.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.2936, allocations: 0.6168 MB / 389.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.2956, allocations: 1.141 MB / 390.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.2976, allocations: 1.183 MB / 391.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003176/0.298, allocations: 188.1 kB / 391.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.2999, allocations: 0.6441 MB / 392.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00392/0.3038, allocations: 3.89 MB / 396.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002148/0.306, allocations: 2.386 MB / 398.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.3066, allocations: 144.4 kB / 398.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004691/0.3071, allocations: 54.56 kB / 398.9 MB, free: 7.242 MB / 302.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.01166/0.3187, allocations: 10.52 MB / 409.4 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001612/0.3204, allocations: 1.186 MB / 410.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006382/0.3267, allocations: 5.187 MB / 415.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00194/0.3287, allocations: 0.8125 MB / 416.6 MB, free: 9.961 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01252/0.3412, allocations: 7.098 MB / 423.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001227/0.3424, allocations: 0.607 MB / 424.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000513/0.3429, allocations: 372 kB / 424.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.00122/0.3442, allocations: 0.9067 MB / 425.6 MB, free: 196 kB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0003695/0.3445, allocations: 175.8 kB / 425.8 MB, free: 24 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00199/0.3465, allocations: 1.464 MB / 427.2 MB, free: 14.52 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.0315392880002037] 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.3706466630101204 0.385636491 0.07532483200000001 Calling exit ...