Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.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.001261/0.001261, 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.00134/0.00134, allocations: 208.7 kB / 24.55 MB, free: 3.75 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.101e-05, allocations: 2.281 kB / 379.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.2337/0.2337, allocations: 9.153 MB / 388.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007409/0.2411, allocations: 3.291 MB / 391.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.2435, allocations: 73.88 kB / 391.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.2462, allocations: 0.7547 MB / 392.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.2509, allocations: 0.8935 MB / 393.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.2524, allocations: 428.7 kB / 393.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005018/0.2574, allocations: 3.188 MB / 396.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.2594, allocations: 0.7449 MB / 397.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.2621, allocations: 1.212 MB / 398.8 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.2649, allocations: 1.23 MB / 400 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004093/0.2653, allocations: 210.3 kB / 400.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.2673, allocations: 0.5662 MB / 400.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003087/0.2704, allocations: 4.296 MB / 405.1 MB, free: 496 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002436/0.2728, allocations: 2.634 MB / 407.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006835/0.2735, allocations: 167.9 kB / 407.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005537/0.2741, allocations: 59.28 kB / 407.9 MB, free: 14.59 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.01281/0.2869, allocations: 11.57 MB / 419.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001677/0.2886, allocations: 1.243 MB / 420.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006165/0.2947, allocations: 5.631 MB / 426.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0018/0.2965, allocations: 0.8609 MB / 427.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.0124/0.3089, allocations: 8.01 MB / 435.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001148/0.3101, allocations: 0.6226 MB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00048/0.3106, allocations: 356.1 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001158/0.3117, allocations: 0.9231 MB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003689/0.3121, allocations: 175.7 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001945/0.314, allocations: 1.492 MB / 438.8 MB, free: 15.93 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.700416088977363] 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.33810539700789377 0.350731054 0.07362634699999994 Calling exit ...