Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001541/0.001541, allocations: 109.2 kB / 22 MB, free: 5.215 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.00166/0.00166, allocations: 214 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.845/1.845, allocations: 207.7 MB / 236.2 MB, free: 9.773 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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.591e-05, allocations: 2.281 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01014/0.01017, allocations: 6.84 MB / 355.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006522/0.01669, allocations: 2.622 MB / 358 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.01859, allocations: 75.38 kB / 358.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.02067, allocations: 0.5742 MB / 358.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.02415, allocations: 0.7653 MB / 359.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.02563, allocations: 447.4 kB / 359.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004882/0.03051, allocations: 3.534 MB / 363.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.03203, allocations: 0.8877 MB / 364.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.03503, allocations: 1.449 MB / 365.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.03714, allocations: 1.589 MB / 367.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.03748, allocations: 236 kB / 367.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.03873, allocations: 0.5266 MB / 368.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00406/0.04279, allocations: 4.206 MB / 372.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002674/0.04546, allocations: 2.571 MB / 374.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.04585, allocations: 136 kB / 375 MB, free: 14.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004629/0.04632, allocations: 51.8 kB / 375 MB, free: 14.68 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: 772 (360) * Number of variables: 772 (310) Notification: Performance of [SIM] Bindings: time 0.01598/0.0623, allocations: 11.67 MB / 386.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002461/0.06476, allocations: 1.376 MB / 388.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.2434/0.3082, allocations: 6.614 MB / 394.7 MB, free: 27.02 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002312/0.3105, allocations: 1.041 MB / 395.7 MB, free: 26.76 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01227/0.3227, allocations: 7.917 MB / 403.6 MB, free: 23.87 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001475/0.3242, allocations: 0.8768 MB / 404.5 MB, free: 23.48 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006061/0.3248, allocations: 0.492 MB / 405 MB, free: 23.14 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001132/0.3259, allocations: 1.118 MB / 406.1 MB, free: 22.37 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004543/0.3264, allocations: 309.1 kB / 406.4 MB, free: 22.22 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002343/0.3287, allocations: 2.073 MB / 408.5 MB, free: 21.23 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: transformer.Delta1.plug_p.pin[$i1 + 1].i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_9) [----] for $i1 in 1:3 loop [----] [-IF-] (1) ($RES_SIM_10) [----] [----] if $SEV_1[$i1] then [----] [----] [SCAL] (1) transformer.Delta1.plug_n.pin[$i1].i + transformer.Delta1.plug_p.pin[$i1 + 1].i = 0.0 ($RES_SIM_11) [----] [----] else [----] [----] [SCAL] (1) transformer.Delta1.plug_n.pin[$i1].i + transformer.Delta1.plug_p.pin[1].i = 0.0 ($RES_SIM_12) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9845870650024153] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 0.339785297983326 0.34908871500000005 0.300397948 Calling exit ...