Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.002286/0.002286, allocations: 111.4 kB / 21.99 MB, free: 4.555 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.00275/0.00275, 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.825/1.825, allocations: 207.7 MB / 236.2 MB, free: 9.762 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.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.603e-05, allocations: 2.281 kB / 348.6 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01639/0.01641, allocations: 11.24 MB / 359.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.02673, allocations: 4.036 MB / 363.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.02927, allocations: 87.31 kB / 363.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.03214, allocations: 0.9588 MB / 364.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.03686, allocations: 1.239 MB / 366.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.03824, allocations: 0.5305 MB / 366.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007403/0.04565, allocations: 5.13 MB / 371.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.04748, allocations: 0.9548 MB / 372.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/0.052, allocations: 1.917 MB / 374.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004237/0.05624, allocations: 1.989 MB / 376.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007361/0.05697, allocations: 300 kB / 376.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.05979, allocations: 0.6749 MB / 377.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.007901/0.06769, allocations: 6.006 MB / 383.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00514/0.07283, allocations: 3.734 MB / 387.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.07428, allocations: 212 kB / 387.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008146/0.0751, allocations: 71.8 kB / 387.6 MB, free: 2 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: 934 (483) * Number of variables: 934 (447) Notification: Performance of [SIM] Bindings: time 0.2446/0.3197, allocations: 16.5 MB / 404.1 MB, free: 24.06 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003251/0.323, allocations: 1.712 MB / 405.8 MB, free: 23.12 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007878/0.3309, allocations: 8.138 MB / 414 MB, free: 18.32 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00252/0.3334, allocations: 1.259 MB / 415.2 MB, free: 17.87 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01285/0.3462, allocations: 10.67 MB / 425.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001401/0.3476, allocations: 0.9873 MB / 426.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005025/0.3481, allocations: 0.5388 MB / 427.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.00113/0.3493, allocations: 1.399 MB / 428.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.000447/0.3497, allocations: 400.6 kB / 429.2 MB, free: 9.5 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002035/0.3518, allocations: 2.316 MB / 431.5 MB, free: 7.398 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].v. 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_7[$i1] then [----] [----] [SCAL] (1) aimc.plug_sn.pin[$i1].v = terminalBox.delta.plug_p.pin[$i1 + 1].v ($RES_SIM_9) [----] [----] else [----] [----] [SCAL] (1) aimc.plug_sn.pin[$i1].v = terminalBox.delta.plug_p.pin[1].v ($RES_SIM_10) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.155984034994617] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'smee.is[1]', 'smee.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 0.362560550973285 0.374803756 0.29659078899999997 Calling exit ...