Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 112.9 kB / 17.75 MB, free: 5.348 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: 184.7 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.115e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.007557/0.007586, allocations: 6.302 MB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.01232, allocations: 1.874 MB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.013, allocations: 39.81 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.01357, allocations: 277.6 kB / 360.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.01487, allocations: 485 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.01575, allocations: 450.1 kB / 361.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00432/0.02008, allocations: 4.375 MB / 365.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.02218, allocations: 1.601 MB / 367.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.02438, allocations: 1.196 MB / 368.5 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.02597, allocations: 1.18 MB / 369.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.0263, allocations: 220 kB / 369.9 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.02668, allocations: 224 kB / 370.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.1923/0.219, allocations: 2.672 MB / 372.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00116/0.2202, allocations: 1.696 MB / 374.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.2208, allocations: 244.3 kB / 374.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005099/0.2213, allocations: 59.94 kB / 374.8 MB, free: 12.33 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.008272/0.2296, allocations: 9.238 MB / 384 MB, free: 8.305 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0008433/0.2304, allocations: 0.7346 MB / 384.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of Early Inline: time 0.005334/0.2358, allocations: 5.041 MB / 389.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003223/0.2361, allocations: 189.9 kB / 390 MB, free: 4.695 MB / 302.1 MB Notification: Performance of Alias: time 0.004633/0.2407, allocations: 4.037 MB / 394 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002534/0.241, allocations: 171 kB / 394.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of Events: time 0.001242/0.2422, allocations: 1.302 MB / 395.5 MB, free: 1.555 MB / 302.1 MB Notification: Performance of Detect States: time 0.001601/0.2439, allocations: 1.728 MB / 397.2 MB, free: 448 kB / 302.1 MB Notification: Performance of Partitioning: time 0.002503/0.2464, allocations: 2.168 MB / 399.4 MB, free: 15.24 MB / 318.1 MB Notification: Performance of Causalize: time 0.01752/0.2639, allocations: 18.79 MB / 418.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.006183/0.2701, allocations: 5.763 MB / 423.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of Inline: time 0.009864/0.28, allocations: 9.671 MB / 433.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0006187/0.2806, allocations: 371.5 kB / 434 MB, free: 1.426 MB / 334.1 MB Notification: Performance of Cleanup: time 0.00126/0.2819, allocations: 1.013 MB / 435 MB, free: 428 kB / 334.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!