Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001967/0.001967, 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.002282/0.002282, 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.676/1.676, allocations: 207.7 MB / 236.2 MB, free: 9.766 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.482e-05, allocations: 2.281 kB / 348.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01806/0.0181, allocations: 11.88 MB / 360.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.02944, allocations: 4.226 MB / 364.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.03278, allocations: 87.44 kB / 364.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.03626, allocations: 0.9784 MB / 365.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005435/0.0417, allocations: 1.301 MB / 367 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.04445, allocations: 0.9041 MB / 367.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007832/0.05228, allocations: 4.842 MB / 372.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/0.05551, allocations: 1.033 MB / 373.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.05962, allocations: 1.717 MB / 375.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004436/0.06405, allocations: 1.689 MB / 377.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.0653, allocations: 332 kB / 377.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003791/0.06909, allocations: 0.7414 MB / 378.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.009726/0.07881, allocations: 5.917 MB / 384.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.005495/0.08431, allocations: 3.715 MB / 387.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.08542, allocations: 216 kB / 388.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007851/0.0862, allocations: 67.73 kB / 388.2 MB, free: 1.434 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: 844 (523) * Number of variables: 844 (515) Notification: Performance of [SIM] Bindings: time 0.3181/0.4043, allocations: 17.02 MB / 405.2 MB, free: 22.82 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003446/0.4077, allocations: 1.906 MB / 407.1 MB, free: 21.67 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.01099/0.4187, allocations: 10.69 MB / 417.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002883/0.4216, allocations: 1.309 MB / 419.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01594/0.4376, allocations: 9.985 MB / 429.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0023/0.4399, allocations: 1.043 MB / 430.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008739/0.4407, allocations: 0.6989 MB / 430.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001939/0.4427, allocations: 1.817 MB / 432.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0008551/0.4435, allocations: 398.6 kB / 433 MB, free: 5.395 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.003289/0.4468, allocations: 3.005 MB / 436 MB, free: 2.504 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_44) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_45) [----] [----] 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_46) [----] [----] else [----] [----] [SCAL] (1) TerminalBox1.delta.plug_n.pin[$i1].i + TerminalBox1.delta.plug_p.pin[1].i = 0.0 ($RES_SIM_47) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0866715980228037] Failed to read output from testmodel.py, exit status != 0: ['time', '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.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 0.46510652598226443 0.479430607 0.38994692400000003 Calling exit ...