Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R.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.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 107.4 kB / 16.42 MB, free: 6.477 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.001205/0.001205, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.356e-05, allocations: 2.281 kB / 327.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R): time 0.007912/0.007944, allocations: 6.239 MB / 333.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.01261, allocations: 1.909 MB / 335.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007505/0.01338, allocations: 35.81 kB / 335.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.01398, allocations: 277.7 kB / 335.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.01528, allocations: 481 kB / 336.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.01618, allocations: 447.3 kB / 336.6 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004166/0.02036, allocations: 4.312 MB / 340.9 MB, free: 5.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.02213, allocations: 1.526 MB / 342.4 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.02399, allocations: 1.161 MB / 343.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.02549, allocations: 1.172 MB / 344.7 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.02583, allocations: 211.9 kB / 344.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.02617, allocations: 220 kB / 345.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.002315/0.0285, allocations: 2.649 MB / 347.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001194/0.0297, allocations: 1.677 MB / 349.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.03009, allocations: 235.2 kB / 349.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003215/0.03042, allocations: 55.69 kB / 349.8 MB, free: 12.59 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: 602 (318) * Number of variables: 602 (218) Notification: Performance of Bindings: time 0.01021/0.04064, allocations: 9.184 MB / 359 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001066/0.04173, allocations: 0.6745 MB / 359.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of Early Inline: time 0.005511/0.04725, allocations: 4.914 MB / 364.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002703/0.04754, allocations: 179.8 kB / 364.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of Alias: time 0.004484/0.05203, allocations: 3.9 MB / 368.6 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002621/0.05231, allocations: 159.8 kB / 368.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of Events: time 0.001527/0.05384, allocations: 1.287 MB / 370.1 MB, free: 7.832 MB / 318.1 MB Notification: Performance of Detect States: time 0.001667/0.05552, allocations: 1.702 MB / 371.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002414/0.05795, allocations: 2.108 MB / 373.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Causalize: time 0.2203/0.2782, allocations: 24.01 MB / 397.9 MB, free: 31.93 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.005493/0.2837, allocations: 5.581 MB / 403.5 MB, free: 29.23 MB / 318.1 MB Notification: Performance of Inline: time 0.008817/0.2926, allocations: 9.459 MB / 412.9 MB, free: 23.13 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004559/0.2931, allocations: 363 kB / 413.3 MB, free: 22.76 MB / 318.1 MB Notification: Performance of Cleanup: time 0.001054/0.2941, allocations: 0.9917 MB / 414.3 MB, free: 21.95 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency inverter.enableLogic.enableConstantSource.k could not be divided by the body size 3 without rest. Error: Internal error NBInitialization.main failed to apply modules!