Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 110.7 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.042e-05, allocations: 2.281 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.006934/0.006963, allocations: 6.589 MB / 365.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.01038, allocations: 2.095 MB / 368 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.01093, allocations: 39.81 kB / 368.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.01145, allocations: 297.5 kB / 368.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.01249, allocations: 492.9 kB / 368.8 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007981/0.0133, allocations: 495.2 kB / 369.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.151/0.1643, allocations: 4.591 MB / 373.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.1663, allocations: 1.687 MB / 375.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.1679, allocations: 1.232 MB / 376.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.1691, allocations: 1.205 MB / 378 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.1695, allocations: 221.1 kB / 378.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.1699, allocations: 242 kB / 378.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001893/0.1718, allocations: 2.748 MB / 381.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009877/0.1728, allocations: 1.735 MB / 383 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.1732, allocations: 248.4 kB / 383.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003049/0.1735, allocations: 63.92 kB / 383.3 MB, free: 7.73 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: 614 (328) * Number of variables: 614 (222) Notification: Performance of Bindings: time 0.00785/0.1813, allocations: 9.414 MB / 392.7 MB, free: 1.715 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005763/0.1819, allocations: 0.5906 MB / 393.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of Early Inline: time 0.005138/0.1871, allocations: 5.788 MB / 399.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002897/0.1874, allocations: 187.7 kB / 399.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of Alias: time 0.004459/0.1918, allocations: 4.012 MB / 403.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002706/0.1921, allocations: 178.6 kB / 403.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of Events: time 0.001415/0.1936, allocations: 1.302 MB / 404.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Detect States: time 0.001529/0.1951, allocations: 1.726 MB / 406.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002381/0.1975, allocations: 2.148 MB / 408.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Causalize: time 0.01893/0.2164, allocations: 18.31 MB / 426.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.005484/0.222, allocations: 5.676 MB / 432.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Inline: time 0.01065/0.2326, allocations: 10.97 MB / 443.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005531/0.2332, allocations: 371.4 kB / 443.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of Cleanup: time 0.001315/0.2345, allocations: 1.005 MB / 444.9 MB, free: 3.449 MB / 350.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_222) Error: Internal error NBInitialization.main failed to apply modules!