Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.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.001972/0.001972, allocations: 109 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.002517/0.002517, allocations: 213.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.723/1.723, allocations: 207.7 MB / 236.2 MB, free: 9.77 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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.746e-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.AIMS_Start): time 0.03129/0.03132, allocations: 20.31 MB / 368.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02063/0.05195, allocations: 6.669 MB / 375.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006538/0.05849, allocations: 174.8 kB / 375.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007619/0.06611, allocations: 1.642 MB / 377.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.0787, allocations: 2.416 MB / 379.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006403/0.0851, allocations: 1.447 MB / 381.2 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2873/0.3725, allocations: 10.07 MB / 391.3 MB, free: 17.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00538/0.3778, allocations: 2.006 MB / 393.3 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009079/0.3869, allocations: 3.59 MB / 396.9 MB, free: 17.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.398, allocations: 3.682 MB / 400.5 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002287/0.4003, allocations: 0.6156 MB / 401.2 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005524/0.4058, allocations: 1.173 MB / 402.3 MB, free: 16.64 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01363/0.4195, allocations: 11.74 MB / 414.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.006952/0.4264, allocations: 7.289 MB / 421.4 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.4296, allocations: 407.7 kB / 421.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001688/0.4313, allocations: 134.3 kB / 421.9 MB, free: 7.965 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: 1778 (974) * Number of variables: 1778 (933) Notification: Performance of [SIM] Bindings: time 0.04829/0.4795, allocations: 32.83 MB / 454.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009131/0.4887, allocations: 3.573 MB / 458.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.03737/0.526, allocations: 19.04 MB / 477.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01048/0.5365, allocations: 2.576 MB / 479.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.04521/0.5817, allocations: 19.94 MB / 499.9 MB, free: 14.99 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004837/0.5866, allocations: 2.053 MB / 0.4901 GB, free: 12.82 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002307/0.5889, allocations: 1.236 MB / 0.4913 GB, free: 11.51 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.0045/0.5934, allocations: 3.223 MB / 0.4945 GB, free: 8.25 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.001527/0.5949, allocations: 0.7594 MB / 0.4952 GB, free: 7.5 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.007825/0.6027, allocations: 5.418 MB / 0.5005 GB, free: 2.016 MB / 398.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: terminalBoxM.delta.plug_p.pin[$i1 + 1].v. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_401) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_402) [----] [----] if $SEV_4[$i1] then [----] [----] [SCAL] (1) aimsM.plug_sn.pin[$i1].v = terminalBoxM.delta.plug_p.pin[$i1 + 1].v ($RES_SIM_403) [----] [----] else [----] [----] [SCAL] (1) aimsM.plug_sn.pin[$i1].v = terminalBoxM.delta.plug_p.pin[1].v ($RES_SIM_404) [----] [----] end if; [----] end for; " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3912826660089195] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimsE.i_0_r', '// aimsE.i_0_s', 'aimsE.idq_rr[1]', 'aimsE.idq_rr[2]', 'aimsE.idq_sr[1]', 'aimsE.idq_sr[2]', 'aimsE.is[1]', 'aimsE.is[2]', 'aimsE.ir[1]', 'aimsE.ir[2]', 'aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimsM.rotor.zeroInductor.i0', 'aimsM.is[1]', 'aimsM.is[2]', 'aimsM.ir[1]', 'aimsM.ir[2]', 'aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimsM.stator.zeroInductor.i0', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w'] 0.6206537339603528 0.636015221 0.20132587399999996 Calling exit ...