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.00158/0.00158, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 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.001765/0.001765, allocations: 210.2 kB / 24.49 MB, free: 3.965 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.522/1.522, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.192e-05/2.192e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.1788/0.1788, allocations: 9.137 MB / 388.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.1852, allocations: 3.295 MB / 391.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.187, allocations: 73.62 kB / 391.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.1888, allocations: 0.7614 MB / 392.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.1915, allocations: 0.8945 MB / 393.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009276/0.1925, allocations: 424.7 kB / 393.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.1958, allocations: 3.182 MB / 396.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.197, allocations: 0.7957 MB / 397.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.1987, allocations: 1.218 MB / 398.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.2001, allocations: 1.336 MB / 400.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.2004, allocations: 209.2 kB / 400.3 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.2019, allocations: 0.5717 MB / 400.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002868/0.2047, allocations: 4.296 MB / 405.1 MB, free: 412 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002366/0.2071, allocations: 2.637 MB / 407.8 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.2076, allocations: 163.5 kB / 407.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004626/0.2081, allocations: 52.59 kB / 408 MB, free: 14.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: 581 (375) * Number of variables: 581 (340) Notification: Performance of [SIM] Bindings: time 0.01458/0.2227, allocations: 11.55 MB / 419.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002217/0.2249, allocations: 1.246 MB / 420.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007209/0.2321, allocations: 5.623 MB / 426.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001993/0.2341, allocations: 0.9562 MB / 427.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01286/0.2469, allocations: 7.812 MB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001288/0.2482, allocations: 0.6732 MB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005097/0.2487, allocations: 360.1 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001202/0.2499, allocations: 0.9112 MB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003497/0.2503, allocations: 182.2 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002045/0.2523, allocations: 1.487 MB / 438.8 MB, free: 15.95 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 slice: {1} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8015260719694197] 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.2748876418918371 0.29020270600000003 0.079083182 Calling exit ...