Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.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.001663/0.001663, 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.002174/0.002174, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.609/1.609, allocations: 230.5 MB / 258.2 MB, free: 7.746 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.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.247e-05, allocations: 2.281 kB / 379.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.2191/0.2191, allocations: 9.152 MB / 388.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.2264, allocations: 3.291 MB / 391.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.2285, allocations: 73.41 kB / 391.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.2307, allocations: 0.7621 MB / 392.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.2344, allocations: 0.8897 MB / 393.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2356, allocations: 419.4 kB / 393.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005028/0.2407, allocations: 3.19 MB / 396.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.2421, allocations: 0.7449 MB / 397.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.2447, allocations: 1.211 MB / 398.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.2476, allocations: 1.235 MB / 400 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004704/0.2481, allocations: 208.9 kB / 400.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.2504, allocations: 0.5616 MB / 400.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004/0.2544, allocations: 4.295 MB / 405.1 MB, free: 392 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00354/0.258, allocations: 2.641 MB / 407.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.259, allocations: 163.6 kB / 407.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007064/0.2597, allocations: 52.08 kB / 407.9 MB, free: 14.5 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: 581 (375) * Number of variables: 581 (340) Notification: Performance of [SIM] Bindings: time 0.01742/0.2772, allocations: 11.57 MB / 419.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002201/0.2794, allocations: 1.252 MB / 420.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007056/0.2864, allocations: 5.635 MB / 426.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002516/0.2889, allocations: 0.8625 MB / 427.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01578/0.3047, allocations: 8.004 MB / 435.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001457/0.3062, allocations: 0.6262 MB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005578/0.3067, allocations: 364 kB / 436.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001568/0.3083, allocations: 0.9113 MB / 437.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0004402/0.3087, allocations: 175.7 kB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002337/0.3111, allocations: 1.491 MB / 438.8 MB, free: 15.8 MB / 350.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [DDER] (2) Real[2] $DER.smpm.damperCage.i (StateSelect = avoid) slice: {1} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7988416029838845] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smpm.is[1]', 'smpm.is[2]', 'smpm.idq_dr[1]', 'smpm.idq_rr[2]', 'smpm.idq_sr[1]', 'smpm.idq_sr[2]', 'vfController.x'] 0.33765803900314495 0.351173314 0.088278513 Calling exit ...