Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.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_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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001909/0.001908, allocations: 111.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002458/0.002458, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.461/2.461, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4607, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.0157/0.4764, allocations: 6.822 MB / 416.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007922/0.4844, allocations: 2.119 MB / 418.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.4865, allocations: 47.75 kB / 418.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.488, allocations: 297.5 kB / 419.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.4911, allocations: 0.5086 MB / 419.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.4933, allocations: 0.5031 MB / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01131/0.5046, allocations: 7.291 MB / 427.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.5156, allocations: 5.241 MB / 432.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007096/0.5227, allocations: 3.092 MB / 435.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.533, allocations: 3.814 MB / 439.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003792/0.5369, allocations: 0.8164 MB / 440.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.5416, allocations: 0.8242 MB / 441.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005425/0.5471, allocations: 2.053 MB / 443.4 MB, free: 0 / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01131/0.5584, allocations: 3.609 MB / 447 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02138/0.5799, allocations: 10.53 MB / 457.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.5799, allocations: 0 / 457.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.58, allocations: 0 / 457.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004355/0.5804, allocations: 0 / 457.5 MB, free: 1.816 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.03864/0.6191, allocations: 7.86 MB / 465.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.6192, allocations: 19.91 kB / 465.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009754/0.6289, allocations: 0.9729 MB / 466.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/0.6481, allocations: 4.305 MB / 470.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007238/0.6489, allocations: 390.2 kB / 471 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002742/0.6516, allocations: 0.5194 MB / 471.6 MB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03154/0.6832, allocations: 8.031 MB / 479.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/0.6836, allocations: 15.84 kB / 479.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002292/0.6859, allocations: 212 kB / 479.8 MB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002792/0.6862, allocations: 189.7 kB / 480 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0282/0.7144, allocations: 7.301 MB / 487.3 MB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07974/0.7942, allocations: 21.27 MB / 0.4966 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/0.8182, allocations: 8.091 MB / 0.5045 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01242/0.8306, allocations: 3.856 MB / 0.5083 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.8312, allocations: 63.27 kB / 0.5084 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01433/0.8456, allocations: 4.088 MB / 0.5124 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 1.822e-05/0.8457, allocations: 0 / 0.5124 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.08469/0.9304, allocations: 19.13 MB / 0.531 GB, free: 10.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004246/0.9309, allocations: 463.4 kB / 0.5315 GB, free: 9.883 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01273/0.9436, allocations: 4.303 MB / 0.5357 GB, free: 5.562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001555/0.9453, allocations: 173.6 kB / 0.5359 GB, free: 5.387 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004327/0.9496, allocations: 2.195 MB / 0.538 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003651/0.9533, allocations: 1.402 MB / 0.5394 GB, free: 1.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003604/0.957, allocations: 0.8746 MB / 0.5402 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9572, allocations: 305.1 kB / 0.5405 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3994/1.357, allocations: 2.779 MB / 0.5432 GB, free: 121.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01615/1.373, allocations: 3.827 MB / 0.547 GB, free: 119.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02963/1.403, allocations: 6.4 MB / 0.5532 GB, free: 116.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-05/1.403, allocations: 7.281 kB / 0.5532 GB, free: 116.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.03756/1.44, allocations: 8.189 MB / 0.5612 GB, free: 111.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/1.441, allocations: 186.2 kB / 0.5614 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.818e-05/1.441, allocations: 24 kB / 0.5614 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006813/1.447, allocations: 1.726 MB / 0.5631 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007276/1.459, allocations: 0.7758 MB / 0.5639 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05128/1.51, allocations: 23.99 MB / 0.5873 GB, free: 84.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008094/1.518, allocations: 411.6 kB / 0.5877 GB, free: 83.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009871/1.528, allocations: 176 kB / 0.5878 GB, free: 83.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01517/1.544, allocations: 4.443 MB / 0.5922 GB, free: 79.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01056/1.554, allocations: 3.666 MB / 0.5958 GB, free: 75.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02226/1.577, allocations: 6.127 MB / 0.6017 GB, free: 68.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.07e-05/1.577, allocations: 15.94 kB / 0.6018 GB, free: 68.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.02752/1.604, allocations: 7.892 MB / 0.6095 GB, free: 60.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/1.605, allocations: 182.2 kB / 0.6096 GB, free: 60.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.094e-05/1.605, allocations: 24 kB / 0.6097 GB, free: 60.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006577/1.611, allocations: 1.731 MB / 0.6114 GB, free: 58.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006286/1.618, allocations: 0.7096 MB / 0.612 GB, free: 58.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03996/1.658, allocations: 23.99 MB / 0.6355 GB, free: 33.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/1.666, allocations: 395.6 kB / 0.6359 GB, free: 33.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.667, allocations: 176 kB / 0.636 GB, free: 32.86 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].zeroOrderHold.ySample,$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,signalPWM[5].zeroOrderHold.ySample,$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,signalPWM[4].zeroOrderHold.ySample,$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,signalPWM[3].zeroOrderHold.ySample,$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,signalPWM[2].zeroOrderHold.ySample,$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,signalPWM[1].zeroOrderHold.ySample,$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.002522/1.67, allocations: 0.6109 MB / 0.6366 GB, free: 32.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/1.672, allocations: 482.2 kB / 0.6371 GB, free: 31.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03882/1.711, allocations: 7.806 MB / 0.6447 GB, free: 23.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-05/1.711, allocations: 44 kB / 0.6447 GB, free: 23.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.711, allocations: 4 kB / 0.6447 GB, free: 23.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001153/1.711, allocations: 19.92 kB / 0.6448 GB, free: 23.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06631/1.777, allocations: 13.84 MB / 0.6583 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/1.777, allocations: 0 / 0.6583 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00519/1.783, allocations: 0.55 MB / 0.6588 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006058/1.789, allocations: 1.705 MB / 0.6605 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001443/1.79, allocations: 127.9 kB / 0.6606 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0514/1.842, allocations: 23.84 MB / 0.6839 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.842, allocations: 0 / 0.6839 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04406/1.886, allocations: 11.48 MB / 0.6951 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006872/1.893, allocations: 1.167 MB / 0.6962 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002598/1.895, allocations: 175.9 kB / 0.6964 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007029/1.903, allocations: 387.4 kB / 0.6968 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003937/1.907, allocations: 0.7327 MB / 0.6975 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001243/1.908, allocations: 147.9 kB / 0.6976 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01471/1.923, allocations: 2.983 MB / 0.7006 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.453e-06/1.923, allocations: 4 kB / 0.7006 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.02219/1.945, allocations: 2.23 MB / 0.7027 GB, free: 11.41 MB / 0.4981 GB 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.002094/1.947, allocations: 429.6 kB / 0.7031 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.04338/1.99, allocations: 13.64 MB / 0.7165 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-05/1.99, allocations: 6.656 kB / 0.7165 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.04184/2.032, allocations: 5.471 MB / 0.7218 GB, free: 7.469 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02102/2.053, allocations: 1.186 MB / 0.723 GB, free: 6.301 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04486/2.098, allocations: 12.99 MB / 0.7357 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00994/2.108, allocations: 4.158 MB / 0.7397 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/2.111, allocations: 363.3 kB / 0.7401 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/2.111, allocations: 0 / 0.7401 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of Templates: time 1.413/3.524, allocations: 290.7 MB / 1.024 GB, free: 130.1 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches