Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 113 kB / 17.75 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 188.7 kB / 18.68 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.577e-05, allocations: 4.812 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01848/0.01852, allocations: 16.59 MB / 368.5 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2184/0.237, allocations: 4.625 MB / 373.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003725/0.2408, allocations: 135.6 kB / 373.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01507/0.2559, allocations: 7.187 MB / 380.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009057/0.265, allocations: 1.986 MB / 382.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.2694, allocations: 1.539 MB / 384 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.2804, allocations: 8.461 MB / 392.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02172/0.3022, allocations: 16.97 MB / 409.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008243/0.3105, allocations: 4.493 MB / 413.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007854/0.3184, allocations: 4.865 MB / 418.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003027/0.3214, allocations: 1.004 MB / 419.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.3263, allocations: 1.311 MB / 421.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.01085/0.3372, allocations: 8.853 MB / 430 MB, free: 5.129 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.005321/0.3425, allocations: 5.522 MB / 435.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.3452, allocations: 0.5964 MB / 436.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0008502/0.346, allocations: 55.98 kB / 436.1 MB, free: 15.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2532 (1346) * Number of variables: 2761 (845) Notification: Performance of Bindings: time 0.04602/0.3921, allocations: 41.87 MB / 478 MB, free: 5.258 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.006467/0.3985, allocations: 4.655 MB / 482.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of Early Inline: time 0.03778/0.4364, allocations: 31.92 MB / 0.5025 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simplify1: time 0.002746/0.4391, allocations: 1.452 MB / 0.5039 GB, free: 15.63 MB / 430.1 MB Notification: Performance of Alias: time 0.01993/0.4591, allocations: 17.22 MB / 0.5208 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simplify2: time 0.002197/0.4613, allocations: 1.432 MB / 0.5222 GB, free: 12.69 MB / 446.1 MB Notification: Performance of Detect States: time 0.006426/0.4678, allocations: 7.481 MB / 0.5295 GB, free: 5.211 MB / 446.1 MB Notification: Performance of Events: time 0.00389/0.4717, allocations: 2.976 MB / 0.5324 GB, free: 2.262 MB / 446.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.im, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.