Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.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.001381/0.001381, 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.001935/0.001935, allocations: 188.4 kB / 24.53 MB, free: 3.746 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.499/1.499, allocations: 225.7 MB / 253.4 MB, free: 12.79 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.236e-05, allocations: 2.281 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01431/0.01433, allocations: 9.112 MB / 380.8 MB, free: 20 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2256/0.2399, allocations: 3.227 MB / 384.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.2413, allocations: 74.09 kB / 384.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.2433, allocations: 0.7523 MB / 384.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.2462, allocations: 0.8822 MB / 385.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2473, allocations: 427.3 kB / 386.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004118/0.2514, allocations: 3.179 MB / 389.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.2528, allocations: 0.7514 MB / 390.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2552, allocations: 1.204 MB / 391.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.2577, allocations: 1.223 MB / 392.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003929/0.2581, allocations: 211.2 kB / 392.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.2603, allocations: 0.5635 MB / 393.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004173/0.2645, allocations: 4.272 MB / 397.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002553/0.267, allocations: 2.622 MB / 400.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000715/0.2677, allocations: 163.5 kB / 400.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005496/0.2683, allocations: 55.67 kB / 400.4 MB, free: 6.199 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: 581 (375) * Number of variables: 581 (340) Notification: Performance of [SIM] Bindings: time 0.01196/0.2802, allocations: 11.54 MB / 412 MB, free: 14.57 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002082/0.2823, allocations: 1.266 MB / 413.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007061/0.2894, allocations: 5.631 MB / 418.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002046/0.2914, allocations: 0.8625 MB / 419.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01364/0.3051, allocations: 8.013 MB / 427.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001241/0.3063, allocations: 0.6189 MB / 428.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005213/0.3068, allocations: 360 kB / 428.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001261/0.3081, allocations: 0.9222 MB / 429.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003435/0.3084, allocations: 187.7 kB / 429.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002052/0.3105, allocations: 1.499 MB / 431.3 MB, free: 10.27 MB / 334.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.7130799269652925] 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.3337341800215654 0.348548281 0.07713299200000001 Calling exit ...