Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.001881/0.001881, allocations: 110.2 kB / 22 MB, free: 4.559 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.002387/0.002387, 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.633/1.633, allocations: 207.7 MB / 236.2 MB, free: 9.746 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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.089e-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_Transformer): time 0.02045/0.02048, allocations: 14.58 MB / 363.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.03481, allocations: 5.445 MB / 368.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004665/0.03948, allocations: 123.1 kB / 368.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004617/0.04409, allocations: 1.328 MB / 370 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007025/0.05112, allocations: 1.783 MB / 371.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.05439, allocations: 1.064 MB / 372.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.06674, allocations: 7.227 MB / 380.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.07004, allocations: 1.351 MB / 381.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007273/0.07731, allocations: 2.577 MB / 384 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006168/0.08348, allocations: 2.651 MB / 386.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.08474, allocations: 444 kB / 387.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.08869, allocations: 1.003 MB / 388.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.2844/0.3731, allocations: 8.238 MB / 396.3 MB, free: 19.54 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.008368/0.3815, allocations: 5.184 MB / 401.5 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003819/0.3853, allocations: 279.8 kB / 401.8 MB, free: 17.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.00142/0.3867, allocations: 86.59 kB / 401.9 MB, free: 17.02 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: 1287 (672) * Number of variables: 1287 (654) Notification: Performance of [SIM] Bindings: time 0.04374/0.4305, allocations: 23.76 MB / 425.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004543/0.435, allocations: 2.568 MB / 428.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0269/0.4619, allocations: 14.5 MB / 442.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.007334/0.4693, allocations: 1.823 MB / 444.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.02924/0.4985, allocations: 13.71 MB / 458.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003547/0.502, allocations: 1.492 MB / 459.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001496/0.5035, allocations: 0.8886 MB / 460.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.003707/0.5072, allocations: 2.365 MB / 463 MB, free: 8.188 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.00104/0.5083, allocations: 0.5534 MB / 463.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.005811/0.5141, allocations: 3.932 MB / 467.5 MB, free: 3.688 MB / 350.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].v. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_8) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_9) [----] [----] if $SEV_7[$i1] then [----] [----] [SCAL] (1) aimc.plug_sn.pin[$i1].v = terminalBox.delta.plug_p.pin[$i1 + 1].v ($RES_SIM_10) [----] [----] else [----] [----] [SCAL] (1) aimc.plug_sn.pin[$i1].v = terminalBox.delta.plug_p.pin[1].v ($RES_SIM_11) [----] [----] end if; [----] end for; " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.101244853984099] 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]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 0.5317965670255944 0.5485401839999999 0.157857771 Calling exit ...