Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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.002112/0.002112, allocations: 110.1 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.00224/0.00224, 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.729/1.729, 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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.701e-05, allocations: 2.281 kB / 348.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02386/0.02388, allocations: 16.86 MB / 365.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.04163, allocations: 5.473 MB / 370.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00477/0.0464, allocations: 135.1 kB / 371 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005082/0.05148, allocations: 1.3 MB / 372.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008963/0.06045, allocations: 1.915 MB / 374.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.06518, allocations: 1.184 MB / 375.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0136/0.07878, allocations: 7.46 MB / 382.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005404/0.08418, allocations: 1.485 MB / 384.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006678/0.09086, allocations: 2.676 MB / 387 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2662/0.3571, allocations: 2.714 MB / 389.7 MB, free: 18.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002382/0.3595, allocations: 488 kB / 390.2 MB, free: 18.92 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.3648, allocations: 0.9611 MB / 391.2 MB, free: 18.92 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01212/0.3769, allocations: 8.972 MB / 400.1 MB, free: 16.11 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.007647/0.3845, allocations: 5.609 MB / 405.8 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.3875, allocations: 321.6 kB / 406.1 MB, free: 13.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001122/0.3886, allocations: 102.1 kB / 406.2 MB, free: 13.21 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: 1348 (782) * Number of variables: 1348 (758) Notification: Performance of [SIM] Bindings: time 0.0334/0.422, allocations: 25.25 MB / 431.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00429/0.4263, allocations: 2.816 MB / 434.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.02228/0.4486, allocations: 14.99 MB / 449.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005812/0.4544, allocations: 1.927 MB / 451.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.02822/0.4826, allocations: 15.85 MB / 467 MB, free: 0 / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003658/0.4863, allocations: 1.562 MB / 468.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001705/0.488, allocations: 0.9778 MB / 469.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.003383/0.4914, allocations: 2.54 MB / 472.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.001157/0.4925, allocations: 0.5528 MB / 472.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.006837/0.4994, allocations: 4.161 MB / 476.8 MB, free: 5.922 MB / 366.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: terminalBoxE.delta.plug_p.pin[$i1 + 1].i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_271) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_272) [----] [----] if $SEV_4[$i1] then [----] [----] [SCAL] (1) terminalBoxE.delta.plug_n.pin[$i1].i + terminalBoxE.delta.plug_p.pin[$i1 + 1].i = 0.0 ($RES_SIM_273) [----] [----] else [----] [----] [SCAL] (1) terminalBoxE.delta.plug_n.pin[$i1].i + terminalBoxE.delta.plug_p.pin[1].i = 0.0 ($RES_SIM_274) [----] [----] end if; [----] end for; " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1965885850368068] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimcE.i_0_s', 'aimcE.idq_rr[1]', 'aimcE.idq_rr[2]', 'aimcE.idq_sr[1]', 'aimcE.idq_sr[2]', 'aimcE.is[1]', 'aimcE.is[2]', 'aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimcM.stator.strayReluctance.port_p.Phi.im', 'aimcM.stator.strayReluctance.port_p.Phi.re', '// aimcM.stator.zeroInductor.i0', 'aimcM.is[1]', 'aimcM.is[2]', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w'] 0.5211660820059478 0.5360870609999999 0.14405283399999994 Calling exit ...