Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 103.9 kB / 18.41 MB, free: 4.648 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.001286/0.001286, allocations: 191.8 kB / 19.35 MB, free: 3.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/2.977e-05, allocations: 7.062 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01514/0.01518, allocations: 14.6 MB / 343.8 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02438/0.03961, allocations: 19.8 MB / 363.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.04219, allocations: 91.25 kB / 363.7 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.0458, allocations: 1.24 MB / 364.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009714/0.05553, allocations: 2.324 MB / 367.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.06136, allocations: 1.396 MB / 368.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.07371, allocations: 7.128 MB / 375.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.07415, allocations: 189.1 kB / 375.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.07746, allocations: 1.888 MB / 377.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.07959, allocations: 1.321 MB / 379.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.07981, allocations: 76 kB / 379.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2082/0.288, allocations: 2.017 MB / 381.2 MB, free: 19.95 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.006178/0.2942, allocations: 5.343 MB / 386.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003082/0.2973, allocations: 3.931 MB / 390.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.2984, allocations: 340.2 kB / 390.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001971/0.2986, allocations: 17.91 kB / 390.9 MB, free: 14.52 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: 154 (122) * Number of variables: 154 (154) Notification: Performance of Bindings: time 0.02014/0.3187, allocations: 22.64 MB / 413.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.00226/0.321, allocations: 2.358 MB / 415.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of Early Inline: time 0.004385/0.3254, allocations: 4.023 MB / 419.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simplify1: time 0.0004303/0.3259, allocations: 354.9 kB / 420.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Alias: time 0.005376/0.3312, allocations: 4.265 MB / 424.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simplify2: time 0.0005007/0.3318, allocations: 320.8 kB / 424.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Events: time 0.0009544/0.3327, allocations: 0.926 MB / 425.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of Detect States: time 0.001173/0.3339, allocations: 0.9649 MB / 426.7 MB, free: 8.609 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.