Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001195/0.001195, allocations: 109.4 kB / 17.75 MB, free: 5.328 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.001118/0.001118, allocations: 188.3 kB / 18.69 MB, free: 4.402 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.299/1.299, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.505e-05, allocations: 3.266 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R): time 0.006476/0.006498, allocations: 6.242 MB / 334.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.009261, allocations: 1.913 MB / 336.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.009676, allocations: 35.81 kB / 336.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.01017, allocations: 273.7 kB / 337 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009693/0.01115, allocations: 485 kB / 337.4 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.01184, allocations: 451.3 kB / 337.9 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.01533, allocations: 4.308 MB / 342.2 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.01684, allocations: 1.53 MB / 343.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.01806, allocations: 1.161 MB / 344.9 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.01935, allocations: 1.176 MB / 346.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.01963, allocations: 212 kB / 346.3 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.01996, allocations: 216 kB / 346.5 MB, free: 1.25 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.002166/0.02213, allocations: 2.645 MB / 349.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001376/0.02352, allocations: 1.669 MB / 350.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.02392, allocations: 247.2 kB / 351 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002885/0.02422, allocations: 63.67 kB / 351.1 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.008141/0.03236, allocations: 9.169 MB / 360.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0006795/0.03305, allocations: 0.6786 MB / 360.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004319/0.03738, allocations: 4.91 MB / 365.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002095/0.0376, allocations: 179.8 kB / 366 MB, free: 13.37 MB / 318.1 MB Notification: Performance of Alias: time 0.003765/0.04137, allocations: 3.896 MB / 369.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001411/0.04153, allocations: 167.8 kB / 370.1 MB, free: 9.133 MB / 318.1 MB Notification: Performance of Events: time 0.00117/0.0427, allocations: 1.287 MB / 371.4 MB, free: 7.84 MB / 318.1 MB Notification: Performance of Detect States: time 0.001541/0.04425, allocations: 1.706 MB / 373.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001999/0.04626, allocations: 2.1 MB / 375.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of Causalize: time 0.16/0.2063, allocations: 24.02 MB / 399.2 MB, free: 32.54 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.004418/0.2108, allocations: 5.583 MB / 404.8 MB, free: 29.56 MB / 318.1 MB Notification: Performance of Inline: time 0.006772/0.2175, allocations: 9.457 MB / 414.2 MB, free: 23.34 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003189/0.2179, allocations: 355.3 kB / 414.6 MB, free: 22.97 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0007284/0.2186, allocations: 0.9874 MB / 415.6 MB, free: 22.17 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!