Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 113 kB / 17.75 MB, free: 5.336 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.00118/0.00118, allocations: 184.7 kB / 18.68 MB, free: 4.414 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.133e-05, allocations: 5.797 kB / 351.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005613/0.005653, allocations: 5.524 MB / 357.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2373/0.243, allocations: 19.41 MB / 376.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009525/0.244, allocations: 27.19 kB / 376.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.2465, allocations: 0.815 MB / 377.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.2523, allocations: 1.596 MB / 379.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005827/0.2581, allocations: 1.301 MB / 380.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003914/0.2621, allocations: 1.979 MB / 382.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.2623, allocations: 109.2 kB / 382.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.2635, allocations: 0.5599 MB / 383.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.264, allocations: 417 kB / 383.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.347e-05/0.2641, allocations: 32.97 kB / 383.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008724/0.2728, allocations: 2.402 MB / 386.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001419/0.2743, allocations: 1.538 MB / 387.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005529/0.2749, allocations: 1.098 MB / 388.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.2751, allocations: 106.3 kB / 388.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.861e-05/0.2752, allocations: 7.031 kB / 388.8 MB, free: 6.445 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 (56) * Number of variables: 64 (64) Notification: Performance of Bindings: time 0.004164/0.2794, allocations: 6.264 MB / 395.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004906/0.2799, allocations: 0.513 MB / 395.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001374/0.2813, allocations: 1.442 MB / 397.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001832/0.2815, allocations: 121.9 kB / 397.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of Alias: time 0.002004/0.2835, allocations: 1.82 MB / 399 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001254/0.2836, allocations: 95.09 kB / 399.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Events: time 0.000394/0.284, allocations: 339.8 kB / 399.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004684/0.2845, allocations: 381.4 kB / 399.8 MB, free: 15.31 MB / 318.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.