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_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i|inductor.inductor.4..i|inductor.inductor.5..i|inductor.inductor.6..i|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveCurrent.4..mean1.y|fundamentalWaveCurrent.4..mean2.y|fundamentalWaveCurrent.5..mean1.y|fundamentalWaveCurrent.5..mean2.y|fundamentalWaveCurrent.6..mean1.y|fundamentalWaveCurrent.6..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|fundamentalWaveVoltage.4..mean1.y|fundamentalWaveVoltage.4..mean2.y|fundamentalWaveVoltage.5..mean1.y|fundamentalWaveVoltage.5..mean2.y|fundamentalWaveVoltage.6..mean1.y|fundamentalWaveVoltage.6..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|inverter.ac.pin.4..v|inverter.ac.pin.4..i|inverter.ac.pin.5..v|inverter.ac.pin.5..i|inverter.ac.pin.6..v|inverter.ac.pin.6..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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i|inductor.inductor.4..i|inductor.inductor.5..i|inductor.inductor.6..i|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveCurrent.4..mean1.y|fundamentalWaveCurrent.4..mean2.y|fundamentalWaveCurrent.5..mean1.y|fundamentalWaveCurrent.5..mean2.y|fundamentalWaveCurrent.6..mean1.y|fundamentalWaveCurrent.6..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|fundamentalWaveVoltage.4..mean1.y|fundamentalWaveVoltage.4..mean2.y|fundamentalWaveVoltage.5..mean1.y|fundamentalWaveVoltage.5..mean2.y|fundamentalWaveVoltage.6..mean1.y|fundamentalWaveVoltage.6..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|inverter.ac.pin.4..v|inverter.ac.pin.4..i|inverter.ac.pin.5..v|inverter.ac.pin.5..i|inverter.ac.pin.6..v|inverter.ac.pin.6..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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001421, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001608/0.001608, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 43.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.274, allocations: 49.44 MB / 401.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007758/0.2818, allocations: 6.526 MB / 408 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.2854, allocations: 1.902 MB / 409.9 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005864/0.286, allocations: 43.81 kB / 409.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.2865, allocations: 297.5 kB / 410.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.2878, allocations: 0.4892 MB / 410.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007902/0.2886, allocations: 451.3 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005797/0.2944, allocations: 6.982 MB / 418.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/0.2995, allocations: 5.128 MB / 423.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.3036, allocations: 3.026 MB / 426.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/0.3098, allocations: 3.752 MB / 430 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.3116, allocations: 0.8086 MB / 430.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.3134, allocations: 0.8008 MB / 431.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.3152, allocations: 2.022 MB / 433.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004745/0.32, allocations: 3.527 MB / 437.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009157/0.3292, allocations: 10.31 MB / 447.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3292, allocations: 0 / 447.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3292, allocations: 0 / 447.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002471/0.3295, allocations: 0 / 447.5 MB, free: 10.74 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.01848/0.348, allocations: 7.598 MB / 455.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.348, allocations: 8.031 kB / 455.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.3498, allocations: 0.6689 MB / 455.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009112/0.359, allocations: 4.102 MB / 459.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.3594, allocations: 390.2 kB / 460.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.3612, allocations: 0.5156 MB / 460.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.3782, allocations: 8.008 MB / 468.8 MB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/0.3784, allocations: 15.89 kB / 468.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.3797, allocations: 212 kB / 469 MB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.3799, allocations: 189.7 kB / 469.2 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.3955, allocations: 7.278 MB / 476.5 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/0.4399, allocations: 21 MB / 497.5 MB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/0.4543, allocations: 8.04 MB / 0.4936 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008079/0.4625, allocations: 3.825 MB / 0.4974 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.463, allocations: 63.27 kB / 0.4974 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009111/0.4721, allocations: 4.065 MB / 0.5014 GB, free: 7.887 MB / 430.1 MB Notification: Performance of pre-optimization done (n=457): time 1.229e-05/0.4722, allocations: 0 / 0.5014 GB, free: 7.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.0503/0.5225, allocations: 18.96 MB / 0.5199 GB, free: 4.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003147/0.5229, allocations: 467.4 kB / 0.5204 GB, free: 4.168 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008001/0.5309, allocations: 3.982 MB / 0.5243 GB, free: 208 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001305/0.5322, allocations: 169.6 kB / 0.5244 GB, free: 32 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.5349, allocations: 2.087 MB / 0.5265 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00295/0.5378, allocations: 1.402 MB / 0.5278 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003656/0.5415, allocations: 0.863 MB / 0.5287 GB, free: 11.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5417, allocations: 309 kB / 0.529 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005589/0.5473, allocations: 2.725 MB / 0.5316 GB, free: 8.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006667/0.5539, allocations: 3.786 MB / 0.5353 GB, free: 4.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2335/0.7875, allocations: 6.361 MB / 0.5415 GB, free: 127.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-05/0.7876, allocations: 8.844 kB / 0.5415 GB, free: 127.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01277/0.8003, allocations: 8.067 MB / 0.5494 GB, free: 124.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.8005, allocations: 180.4 kB / 0.5496 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.594e-05/0.8005, allocations: 26.34 kB / 0.5496 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/0.8037, allocations: 1.727 MB / 0.5513 GB, free: 124 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/0.8069, allocations: 0.7733 MB / 0.5521 GB, free: 123.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/0.8281, allocations: 24 MB / 0.5755 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/0.8329, allocations: 411.6 kB / 0.5759 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007278/0.8336, allocations: 176 kB / 0.5761 GB, free: 101.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006771/0.8404, allocations: 4.322 MB / 0.5803 GB, free: 97.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004045/0.8445, allocations: 3.63 MB / 0.5838 GB, free: 93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007076/0.8516, allocations: 6.092 MB / 0.5898 GB, free: 86.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.433e-05/0.8516, allocations: 11.94 kB / 0.5898 GB, free: 86.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01094/0.8626, allocations: 7.774 MB / 0.5974 GB, free: 78.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.8627, allocations: 190.2 kB / 0.5976 GB, free: 78.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/0.8627, allocations: 25.8 kB / 0.5976 GB, free: 78.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/0.8656, allocations: 1.726 MB / 0.5993 GB, free: 76.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.8685, allocations: 0.7213 MB / 0.6 GB, free: 76.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/0.8885, allocations: 24.01 MB / 0.6234 GB, free: 51.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/0.8927, allocations: 399.6 kB / 0.6238 GB, free: 51.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006316/0.8934, allocations: 176 kB / 0.624 GB, free: 50.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * Number of states: 0 () * Number of discrete variables: 180 (signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition26,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[1].zeroOrderHold.ySample,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].zeroOrderHold.ySample,signalPWM[6].notFire,signalPWM[5].sawtooth.count,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].zeroOrderHold.ySample,signalPWM[5].notFire,signalPWM[4].sawtooth.count,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].zeroOrderHold.ySample,signalPWM[4].notFire,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].notFire,signalPWM[2].sawtooth.count,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].notFire,signalPWM[1].sawtooth.count,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].notFire,inverter.diode_n.idealDiode[6].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[6].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[6].y,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[6].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition25,$whenCondition27,$whenCondition29,$whenCondition31,$whenCondition33,$whenCondition35) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.8945, allocations: 0.595 MB / 0.6246 GB, free: 50.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009174/0.8955, allocations: 454.5 kB / 0.625 GB, free: 49.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.9074, allocations: 7.74 MB / 0.6325 GB, free: 42.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.9074, allocations: 44 kB / 0.6326 GB, free: 42.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.9074, allocations: 4 kB / 0.6326 GB, free: 42.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.066e-05/0.9075, allocations: 19.92 kB / 0.6326 GB, free: 42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/0.9277, allocations: 13.7 MB / 0.646 GB, free: 28.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.9278, allocations: 4 kB / 0.646 GB, free: 28.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/0.9304, allocations: 0.5657 MB / 0.6465 GB, free: 27.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003124/0.9336, allocations: 1.698 MB / 0.6482 GB, free: 26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006346/0.9342, allocations: 123.9 kB / 0.6483 GB, free: 25.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.9541, allocations: 23.82 MB / 0.6716 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9541, allocations: 4 kB / 0.6716 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/0.9747, allocations: 11.39 MB / 0.6827 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00349/0.9782, allocations: 1.136 MB / 0.6838 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/0.9798, allocations: 167.8 kB / 0.684 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/0.9836, allocations: 395.4 kB / 0.6844 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002051/0.9857, allocations: 0.7445 MB / 0.6851 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005809/0.9863, allocations: 151.9 kB / 0.6852 GB, free: 3.043 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00462/0.9909, allocations: 2.763 MB / 0.6879 GB, free: 308 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.991, allocations: 0 / 0.6879 GB, free: 308 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.01124/1.002, allocations: 2.207 MB / 0.6901 GB, free: 14.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * Number of discrete states: 36 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/1.004, allocations: 437.2 kB / 0.6905 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02559/1.029, allocations: 13.5 MB / 0.7037 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/1.029, allocations: 2.656 kB / 0.7037 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009785/1.039, allocations: 5.45 MB / 0.709 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006545/1.046, allocations: 1.124 MB / 0.7101 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/1.071, allocations: 12.69 MB / 0.7225 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004778/1.075, allocations: 4.047 MB / 0.7265 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/1.077, allocations: 347.3 kB / 0.7268 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of SimCode: time 1.984e-06/1.077, allocations: 0 / 0.7268 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.593/1.67, allocations: 278.9 MB / 0.9991 GB, free: 133.5 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/PolyphaseTwoLevel_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches