Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001747/0.001747, allocations: 109.6 kB / 21.99 MB, free: 4.551 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.001948/0.001948, allocations: 213.5 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 207.7 MB / 236.2 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.207e-05, allocations: 2.281 kB / 348.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01389/0.01391, allocations: 8.532 MB / 357.1 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007858/0.02177, allocations: 2.903 MB / 360 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.02387, allocations: 55.62 kB / 360 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.02668, allocations: 0.6132 MB / 360.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.03075, allocations: 0.7843 MB / 361.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.03235, allocations: 383.4 kB / 361.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004966/0.03732, allocations: 2.746 MB / 364.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.03913, allocations: 0.5946 MB / 365.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.04163, allocations: 1.051 MB / 366.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.04415, allocations: 1.031 MB / 367.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007423/0.04489, allocations: 187.9 kB / 367.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.04732, allocations: 475.3 kB / 367.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005649/0.05297, allocations: 3.679 MB / 371.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003414/0.05638, allocations: 2.27 MB / 373.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.05768, allocations: 148 kB / 374 MB, free: 15.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007628/0.05845, allocations: 47.86 kB / 374 MB, free: 15.7 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: 491 (334) * Number of variables: 491 (308) Notification: Performance of [SIM] Bindings: time 0.0167/0.07515, allocations: 9.861 MB / 383.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002428/0.07758, allocations: 1.068 MB / 384.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.2459/0.3234, allocations: 4.911 MB / 389.9 MB, free: 28.92 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003473/0.3269, allocations: 0.7508 MB / 390.6 MB, free: 28.66 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01749/0.3444, allocations: 6.925 MB / 397.5 MB, free: 27.07 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001663/0.3461, allocations: 0.5502 MB / 398.1 MB, free: 26.9 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000612/0.3467, allocations: 333.5 kB / 398.4 MB, free: 26.81 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001526/0.3482, allocations: 0.8269 MB / 399.2 MB, free: 26.65 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005353/0.3487, allocations: 207 kB / 399.4 MB, free: 26.63 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002578/0.3513, allocations: 1.355 MB / 400.8 MB, free: 26.52 MB / 318.1 MB Error: Internal error NBSlice.locationToIndex failed because value of 4 is too large for size 3. Error: Internal error NBSlice.resolveDependency failed for: TerminalBox1.delta.plug_p.pin[$i1 + 1].i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_43) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_44) [----] [----] if $SEV_3[$i1] then [----] [----] [SCAL] (1) TerminalBox1.delta.plug_n.pin[$i1].i + TerminalBox1.delta.plug_p.pin[$i1 + 1].i = 0.0 ($RES_SIM_45) [----] [----] else [----] [----] [SCAL] (1) TerminalBox1.delta.plug_n.pin[$i1].i + TerminalBox1.delta.plug_p.pin[1].i = 0.0 ($RES_SIM_46) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9765251459903084] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 0.36697527003707364 0.3797381 0.318349341 Calling exit ...