Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.001484/0.001484, allocations: 109 kB / 22 MB, free: 5.215 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.001513/0.001513, allocations: 210 kB / 25.3 MB, free: 2.898 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.807/1.807, allocations: 207.7 MB / 236.2 MB, free: 9.777 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.278e-05, allocations: 2.281 kB / 348.6 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01288/0.0129, allocations: 8.517 MB / 357.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009628/0.02253, allocations: 3.305 MB / 360.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.02447, allocations: 47.69 kB / 360.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.02716, allocations: 0.6521 MB / 361.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.03133, allocations: 0.8856 MB / 362 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.03326, allocations: 455.2 kB / 362.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005915/0.03918, allocations: 2.937 MB / 365.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.04097, allocations: 0.5787 MB / 365.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.04366, allocations: 1.141 MB / 367.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.04658, allocations: 1.175 MB / 368.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007226/0.0473, allocations: 188 kB / 368.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.04997, allocations: 0.6357 MB / 369.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.006249/0.05622, allocations: 3.892 MB / 373 MB, free: 0.793 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003268/0.05949, allocations: 2.391 MB / 375.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.06053, allocations: 140 kB / 375.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006969/0.06123, allocations: 51.8 kB / 375.5 MB, free: 14.19 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: 524 (330) * Number of variables: 524 (306) Notification: Performance of [SIM] Bindings: time 0.01738/0.07861, allocations: 10.54 MB / 386.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002712/0.08132, allocations: 1.172 MB / 387.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.2503/0.3317, allocations: 5.175 MB / 392.4 MB, free: 28.23 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002845/0.3345, allocations: 0.8083 MB / 393.2 MB, free: 27.97 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01245/0.347, allocations: 7.103 MB / 400.3 MB, free: 26.32 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001088/0.3481, allocations: 0.6051 MB / 400.9 MB, free: 26.09 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004651/0.3485, allocations: 351.7 kB / 401.3 MB, free: 25.86 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001138/0.3497, allocations: 0.909 MB / 402.2 MB, free: 25.25 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0003234/0.35, allocations: 184.7 kB / 402.4 MB, free: 25.17 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001868/0.3518, allocations: 1.467 MB / 403.8 MB, free: 24.5 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: terminalBox.delta.plug_p.pin[$i1 + 1].i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_55) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_56) [----] [----] if $SEV_0[$i1] then [----] [----] [SCAL] (1) terminalBox.delta.plug_n.pin[$i1].i + terminalBox.delta.plug_p.pin[$i1 + 1].i = 0.0 ($RES_SIM_57) [----] [----] else [----] [----] [SCAL] (1) terminalBox.delta.plug_n.pin[$i1].i + terminalBox.delta.plug_p.pin[1].i = 0.0 ($RES_SIM_58) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.204419109970331] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 0.362899826024659 0.37315299100000004 0.30931677300000004 Calling exit ...