Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 111.4 kB / 18.42 MB, free: 4.633 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.001164/0.001164, allocations: 193.4 kB / 19.35 MB, free: 3.711 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.572/1.572, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/2.919e-05, allocations: 3.266 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02241/0.02245, allocations: 25.35 MB / 354.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03062/0.05311, allocations: 21.34 MB / 375.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008306/0.06146, allocations: 178.5 kB / 376 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006577/0.06807, allocations: 1.726 MB / 377.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2759/0.344, allocations: 3.15 MB / 380.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008386/0.3525, allocations: 1.574 MB / 382.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03145/0.384, allocations: 13.62 MB / 396.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008395/0.3849, allocations: 363.2 kB / 396.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008228/0.3931, allocations: 3.617 MB / 400.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.3994, allocations: 2.451 MB / 402.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005293/0.3999, allocations: 139.4 kB / 402.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/0.4119, allocations: 2.081 MB / 404.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.009298/0.4212, allocations: 9.843 MB / 414.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.006565/0.4278, allocations: 7.226 MB / 421.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.4304, allocations: 0.6039 MB / 422.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003154/0.4307, allocations: 28 kB / 422.4 MB, free: 9.605 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 (224) * Number of variables: 288 (288) Notification: Performance of Bindings: time 0.04649/0.4772, allocations: 41.39 MB / 463.8 MB, free: 0 / 366.1 MB Notification: Performance of FunctionAlias: time 0.006403/0.4836, allocations: 3.906 MB / 467.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Early Inline: time 0.009467/0.4931, allocations: 7.647 MB / 475.4 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simplify1: time 0.0009109/0.4941, allocations: 0.6598 MB / 476 MB, free: 4.602 MB / 382.1 MB Notification: Performance of Alias: time 0.0124/0.5065, allocations: 8.636 MB / 484.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simplify2: time 0.001238/0.5078, allocations: 0.5822 MB / 485.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of Events: time 0.00179/0.5096, allocations: 1.79 MB / 487 MB, free: 9.352 MB / 398.1 MB Notification: Performance of Detect States: time 0.002187/0.5118, allocations: 1.707 MB / 488.7 MB, free: 7.633 MB / 398.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.