Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 106.1 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 207.9 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.759e-05, allocations: 6.219 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005826/0.005852, allocations: 5.294 MB / 364.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1796/0.1855, allocations: 9.096 MB / 373.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.1861, allocations: 40.06 kB / 373.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009813/0.1871, allocations: 404.1 kB / 374.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.1894, allocations: 0.8421 MB / 375 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1913, allocations: 0.6048 MB / 375.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.1943, allocations: 1.899 MB / 377.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1945, allocations: 111.1 kB / 377.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009837/0.1955, allocations: 0.5028 MB / 378.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.196, allocations: 407.2 kB / 378.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.1961, allocations: 30.34 kB / 378.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.1989, allocations: 0.9667 MB / 379.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007918/0.1997, allocations: 1.41 MB / 380.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004989/0.2002, allocations: 1.038 MB / 382 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.2004, allocations: 102.7 kB / 382.1 MB, free: 7.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.838e-05/0.2005, allocations: 6.594 kB / 382.1 MB, free: 7.336 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: 68 (60) * Number of variables: 68 (68) Notification: Performance of Bindings: time 0.004195/0.2047, allocations: 5.993 MB / 388.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002995/0.205, allocations: 348.7 kB / 388.4 MB, free: 2.992 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009566/0.206, allocations: 1.137 MB / 389.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simplify1: time 8.401e-05/0.206, allocations: 85.55 kB / 389.6 MB, free: 2.242 MB / 302.1 MB Notification: Performance of Alias: time 0.001787/0.2078, allocations: 1.695 MB / 391.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simplify2: time 8.276e-05/0.2079, allocations: 67.84 kB / 391.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003379/0.2083, allocations: 360.8 kB / 391.7 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of Events: time 0.0001267/0.2084, allocations: 69.27 kB / 391.8 MB, free: 0.8828 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.cGD, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.