Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i",fileNamePrefix="Modelica_3.2.3_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.001071/0.001071, allocations: 102.3 kB / 18.41 MB, free: 4.645 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.001004/0.001004, allocations: 188.4 kB / 19.35 MB, free: 3.723 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.439/1.439, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.69e-05, allocations: 3.266 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_R): time 0.007512/0.007548, allocations: 6.238 MB / 335.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.01112, allocations: 1.905 MB / 337.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.01181, allocations: 39.81 kB / 337.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.01244, allocations: 277.7 kB / 337.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.01374, allocations: 489 kB / 338.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.01463, allocations: 447.2 kB / 338.6 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004213/0.01885, allocations: 4.316 MB / 342.9 MB, free: 5.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.02072, allocations: 1.526 MB / 344.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.02275, allocations: 1.181 MB / 345.6 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.02426, allocations: 1.168 MB / 346.7 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.02456, allocations: 212 kB / 346.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.02494, allocations: 216 kB / 347.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.002388/0.02734, allocations: 2.653 MB / 349.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001289/0.02864, allocations: 1.677 MB / 351.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.029, allocations: 239.2 kB / 351.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003576/0.02936, allocations: 59.69 kB / 351.8 MB, free: 12.57 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.008948/0.03832, allocations: 9.18 MB / 361 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0008297/0.03916, allocations: 0.6668 MB / 361.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of Early Inline: time 0.004903/0.04408, allocations: 4.918 MB / 366.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002649/0.04435, allocations: 179.8 kB / 366.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of Alias: time 0.004847/0.04921, allocations: 4.02 MB / 370.7 MB, free: 9.148 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002489/0.04948, allocations: 163.8 kB / 370.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of Events: time 0.00143/0.05091, allocations: 1.291 MB / 372.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of Detect States: time 0.001842/0.05277, allocations: 1.702 MB / 373.9 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002489/0.05527, allocations: 2.108 MB / 376 MB, free: 3.723 MB / 318.1 MB Notification: Performance of Causalize: time 0.2304/0.2857, allocations: 18.53 MB / 394.5 MB, free: 28.57 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.005066/0.2908, allocations: 5.603 MB / 400.1 MB, free: 28.27 MB / 318.1 MB Notification: Performance of Inline: time 0.008239/0.2991, allocations: 9.473 MB / 409.6 MB, free: 23.16 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004327/0.2995, allocations: 366.3 kB / 410 MB, free: 22.93 MB / 318.1 MB Notification: Performance of Cleanup: time 0.00121/0.3008, allocations: 0.9836 MB / 410.9 MB, free: 22.34 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {inverter.enableLogic.enableConstantSource.k}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: inverter.enableLogic.enableConstantSource.k. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) inverter.enableLogic.booleanReplicator.y = {inverter.enableLogic.enableConstantSource.k for $i1 in 1:3} ($RES_SIM_223) Error: Internal error NBInitialization.main failed to apply modules!