Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.00169/0.00169, allocations: 107.5 kB / 22 MB, free: 5.219 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.001478/0.001478, allocations: 209.5 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.647/1.647, 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|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.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|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.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/2.99e-05, allocations: 2.281 kB / 348.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses): time 0.01836/0.01839, allocations: 11.89 MB / 360.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.032, allocations: 4.639 MB / 365.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004443/0.03644, allocations: 87.44 kB / 365.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004529/0.04097, allocations: 1.021 MB / 366.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007395/0.04836, allocations: 1.383 MB / 367.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.0524, allocations: 0.9846 MB / 368.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01008/0.06248, allocations: 5.057 MB / 373.6 MB, free: 276 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004708/0.06719, allocations: 1.025 MB / 374.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005391/0.07258, allocations: 1.795 MB / 376.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.07762, allocations: 1.825 MB / 378.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.07904, allocations: 336 kB / 378.6 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.08344, allocations: 0.9052 MB / 379.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01089/0.09432, allocations: 6.135 MB / 385.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0062/0.1005, allocations: 3.835 MB / 389.5 MB, free: 252 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.1027, allocations: 208 kB / 389.7 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd: time 0.2803/0.383, allocations: 59.23 kB / 389.7 MB, free: 23.34 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: 877 (519) * Number of variables: 877 (513) Notification: Performance of [SIM] Bindings: time 0.02705/0.4101, allocations: 17.75 MB / 407.5 MB, free: 19.54 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00384/0.4139, allocations: 2.062 MB / 409.5 MB, free: 18.33 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.01164/0.4255, allocations: 10.96 MB / 420.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002938/0.4285, allocations: 1.367 MB / 421.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0139/0.4424, allocations: 10.14 MB / 432 MB, free: 4.875 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001737/0.4441, allocations: 1.112 MB / 433.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007531/0.4449, allocations: 0.7225 MB / 433.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001699/0.4466, allocations: 1.914 MB / 435.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004836/0.447, allocations: 355.4 kB / 436.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00338/0.4504, allocations: 3.119 MB / 439.2 MB, free: 15 MB / 334.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_58) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_59) [----] [----] 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_60) [----] [----] else [----] [----] [SCAL] (1) terminalBox.delta.plug_n.pin[$i1].i + terminalBox.delta.plug_p.pin[1].i = 0.0 ($RES_SIM_61) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.321160245046485] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', '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.core.Phi.im', 'aimc.stator.core.Phi.re', '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.w', 'powerSensor.flange_a.phi'] 0.46765339002013206 0.483270648 0.096512073 Calling exit ...