Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 112.4 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 210.2 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.044e-05, allocations: 2.281 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007422/0.007451, allocations: 8.039 MB / 367.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1669/0.1744, allocations: 19.46 MB / 386.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008426/0.1753, allocations: 58.94 kB / 386.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.1775, allocations: 0.861 MB / 387.7 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005358/0.1829, allocations: 1.792 MB / 389.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004234/0.1871, allocations: 1.342 MB / 390.9 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00483/0.192, allocations: 3.6 MB / 394.5 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.1922, allocations: 94.19 kB / 394.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.1936, allocations: 0.9623 MB / 395.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.1942, allocations: 0.6561 MB / 396.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1943, allocations: 42.09 kB / 396.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006639/0.2009, allocations: 2.378 MB / 398.6 MB, free: 488 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.001938/0.2029, allocations: 2.5 MB / 401.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001021/0.2039, allocations: 1.807 MB / 402.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.2042, allocations: 167.2 kB / 403.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.845e-05/0.2043, allocations: 5.812 kB / 403.1 MB, free: 13.43 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: 80 (64) * Number of variables: 80 (80) Notification: Performance of Bindings: time 0.007164/0.2114, allocations: 10.42 MB / 413.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.000986/0.2124, allocations: 1.107 MB / 414.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002201/0.2147, allocations: 2.145 MB / 416.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001865/0.2148, allocations: 187.8 kB / 416.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of Alias: time 0.002274/0.2171, allocations: 2.172 MB / 419.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001697/0.2173, allocations: 171.8 kB / 419.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Events: time 0.0005076/0.2178, allocations: 0.4989 MB / 419.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Detect States: time 0.000798/0.2186, allocations: 0.5704 MB / 420.3 MB, free: 13.05 MB / 334.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.m_capgd, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.