Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.002021/0.002021, allocations: 110 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.002335/0.002335, allocations: 214 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.697/1.697, 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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.16e-05, allocations: 2.281 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.0168/0.01683, allocations: 11.24 MB / 359.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.02767, allocations: 4.074 MB / 363.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.02963, allocations: 87.44 kB / 363.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.03241, allocations: 0.9514 MB / 364.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.03647, allocations: 1.27 MB / 366.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.0387, allocations: 0.856 MB / 367 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007319/0.04602, allocations: 4.776 MB / 371.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.04822, allocations: 0.9601 MB / 372.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.05152, allocations: 1.655 MB / 374.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.05418, allocations: 1.697 MB / 376.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.05466, allocations: 312 kB / 376.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.05704, allocations: 0.7298 MB / 377.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.006537/0.06358, allocations: 5.647 MB / 382.8 MB, free: 6.891 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004466/0.06804, allocations: 3.565 MB / 386.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.06905, allocations: 196 kB / 386.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006641/0.06971, allocations: 51.86 kB / 386.6 MB, free: 3.043 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: 819 (472) * Number of variables: 819 (472) Notification: Performance of [SIM] Bindings: time 0.3104/0.3802, allocations: 16.55 MB / 403.1 MB, free: 24.49 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004053/0.3842, allocations: 1.824 MB / 405 MB, free: 23.42 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0158/0.4, allocations: 10.23 MB / 415.2 MB, free: 17.03 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004046/0.404, allocations: 1.227 MB / 416.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01562/0.4197, allocations: 9.246 MB / 425.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001995/0.4217, allocations: 1.018 MB / 426.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008881/0.4226, allocations: 0.6717 MB / 427.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001701/0.4243, allocations: 1.755 MB / 429.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006091/0.4249, allocations: 347.7 kB / 429.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00306/0.4279, allocations: 2.84 MB / 432.3 MB, free: 6.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_7) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_8) [----] [----] if $SEV_1[$i1] then [----] [----] [SCAL] (1) terminalBox.delta.plug_n.pin[$i1].i + terminalBox.delta.plug_p.pin[$i1 + 1].i = 0.0 ($RES_SIM_9) [----] [----] else [----] [----] [SCAL] (1) terminalBox.delta.plug_n.pin[$i1].i + terminalBox.delta.plug_p.pin[1].i = 0.0 ($RES_SIM_10) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1151316940085962] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.strayReluctance.port_p.Phi.im', 'aimc.stator.strayReluctance.port_p.Phi.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 0.4423784700338729 0.45744345500000005 0.384464342 Calling exit ...