Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, 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.001192/0.001192, 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.223/1.223, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.691e-05, allocations: 2.281 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.176/0.1761, allocations: 28.61 MB / 387.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1905, allocations: 7.208 MB / 395.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006582/0.1971, allocations: 263 kB / 395.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02675/0.2239, allocations: 13.09 MB / 408.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.234, allocations: 2.544 MB / 411 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.2403, allocations: 2.03 MB / 413.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02099/0.2613, allocations: 16.23 MB / 429.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03905/0.3004, allocations: 36 MB / 465.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/0.3113, allocations: 8.196 MB / 473.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/0.3246, allocations: 9.271 MB / 482.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006463/0.3311, allocations: 2.137 MB / 484.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009001/0.3401, allocations: 2.71 MB / 487.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.01852/0.3586, allocations: 16.43 MB / 0.4922 GB, free: 9.977 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.009055/0.3677, allocations: 10.07 MB / 0.5021 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004866/0.3726, allocations: 1.154 MB / 0.5032 GB, free: 14.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.001739/0.3744, allocations: 103.8 kB / 0.5033 GB, free: 14.53 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4936 (2614) * Number of variables: 5401 (1503) Notification: Performance of Bindings: time 0.2745/0.6489, allocations: 80.99 MB / 0.5824 GB, free: 71.5 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.01027/0.6592, allocations: 8.702 MB / 0.5909 GB, free: 65.57 MB / 446.1 MB Notification: Performance of Early Inline: time 0.05557/0.7148, allocations: 61.02 MB / 0.6505 GB, free: 16.25 MB / 446.1 MB Notification: Performance of simplify1: time 0.0048/0.7196, allocations: 2.764 MB / 0.6532 GB, free: 13.53 MB / 446.1 MB Notification: Performance of Alias: time 0.04272/0.7624, allocations: 34.63 MB / 0.687 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simplify2: time 0.004048/0.7664, allocations: 2.747 MB / 0.6897 GB, free: 7.906 MB / 478.1 MB Notification: Performance of Events: time 0.006752/0.7732, allocations: 4.961 MB / 0.6945 GB, free: 3.023 MB / 478.1 MB Notification: Performance of Detect States: time 0.01539/0.7886, allocations: 14.58 MB / 0.7087 GB, free: 4.531 MB / 494.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.