Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.934e-05, allocations: 10.03 kB / 292.2 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09164, allocations: 50.42 MB / 342.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4694, allocations: 93.76 MB / 436.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.4697, allocations: 90.69 kB / 436.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1101/0.5798, allocations: 29.95 MB / 466.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.251e-06/0.5799, allocations: 0 / 466.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000152/0.58, allocations: 55.92 kB / 466.4 MB, free: 7.121 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004829/0.5849, allocations: 1.93 MB / 468.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5849, allocations: 8.031 kB / 468.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/0.5856, allocations: 217.5 kB / 468.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007011/0.5926, allocations: 2.061 MB / 470.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.5928, allocations: 139.3 kB / 470.8 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/0.5932, allocations: 167.9 kB / 470.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004982/0.5982, allocations: 2.264 MB / 473.2 MB, free: 148 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.5982, allocations: 0 / 473.2 MB, free: 148 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.5985, allocations: 72 kB / 473.3 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.5986, allocations: 71.27 kB / 473.3 MB, free: 4 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00419/0.6028, allocations: 1.838 MB / 475.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.6168, allocations: 6.709 MB / 481.9 MB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.6199, allocations: 1.541 MB / 483.4 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.6224, allocations: 1.132 MB / 484.6 MB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.6225, allocations: 17 kB / 484.6 MB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.6242, allocations: 0.8585 MB / 485.4 MB, free: 3.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 4.868e-06/0.6242, allocations: 0 / 485.4 MB, free: 3.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.003769/0.628, allocations: 1.648 MB / 487.1 MB, free: 2.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.6282, allocations: 179.2 kB / 487.3 MB, free: 1.883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.6303, allocations: 1.035 MB / 488.3 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.6304, allocations: 73.67 kB / 488.4 MB, free: 0.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007874/0.6312, allocations: 0.7166 MB / 489.1 MB, free: 24 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.6317, allocations: 363.2 kB / 489.4 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.6318, allocations: 28 kB / 489.5 MB, free: 15.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.6321, allocations: 366.6 kB / 489.8 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.6334, allocations: 0.6078 MB / 490.4 MB, free: 14.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.635, allocations: 0.87 MB / 491.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.6364, allocations: 0.6724 MB / 492 MB, free: 13.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.6364, allocations: 4 kB / 492 MB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003812/0.6402, allocations: 1.785 MB / 493.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001381/0.6416, allocations: 2.449 MB / 496.2 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.6417, allocations: 8 kB / 496.2 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.6433, allocations: 0.4964 MB / 496.7 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.6442, allocations: 171.7 kB / 496.9 MB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.6543, allocations: 5.395 MB / 0.4905 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.6558, allocations: 187 kB / 0.4907 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.6559, allocations: 48 kB / 0.4907 GB, free: 2.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6559, allocations: 4 kB / 0.4907 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003682/0.6596, allocations: 1.726 MB / 0.4924 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6597, allocations: 8 kB / 0.4924 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.6611, allocations: 492.7 kB / 0.4929 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.662, allocations: 171.7 kB / 0.4931 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009976/0.672, allocations: 5.454 MB / 0.4984 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.673, allocations: 155.2 kB / 0.4985 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.6732, allocations: 44 kB / 0.4986 GB, free: 9.961 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004556/0.6736, allocations: 232.7 kB / 0.4988 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.674, allocations: 138.3 kB / 0.4989 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.6745, allocations: 164.5 kB / 0.4991 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.6745, allocations: 12 kB / 0.4991 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-06/0.6745, allocations: 0 / 0.4991 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.6746, allocations: 7.969 kB / 0.4991 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008086/0.6827, allocations: 3.681 MB / 0.5027 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.6827, allocations: 3.938 kB / 0.5027 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.6833, allocations: 99.81 kB / 0.5028 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.6848, allocations: 481.2 kB / 0.5033 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.685, allocations: 35.94 kB / 0.5033 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009927/0.6949, allocations: 5.336 MB / 0.5085 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.628e-06/0.6949, allocations: 0 / 0.5085 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.7002, allocations: 2.552 MB / 0.511 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009176/0.7011, allocations: 359.3 kB / 0.5113 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.7014, allocations: 35.98 kB / 0.5114 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/0.7024, allocations: 103.9 kB / 0.5115 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005268/0.7029, allocations: 192.7 kB / 0.5116 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.703, allocations: 27.98 kB / 0.5117 GB, free: 12.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0016/0.7047, allocations: 0.7886 MB / 0.5124 GB, free: 11.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.7047, allocations: 0 / 0.5124 GB, free: 11.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002799/0.7075, allocations: 0.8371 MB / 0.5133 GB, free: 10.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003767/0.7079, allocations: 196.5 kB / 0.5135 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006186/0.7141, allocations: 2.885 MB / 0.5163 GB, free: 7.539 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.7141, allocations: 0.5625 kB / 0.5163 GB, free: 7.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.7163, allocations: 1.022 MB / 0.5173 GB, free: 6.508 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.7182, allocations: 328.2 kB / 0.5176 GB, free: 6.184 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.7248, allocations: 2.734 MB / 0.5203 GB, free: 3.406 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.7268, allocations: 1.687 MB / 0.5219 GB, free: 1.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.7273, allocations: 79.44 kB / 0.522 GB, free: 1.609 MB / 442.7 MB Notification: Performance of SimCode: time 1.839e-06/0.7273, allocations: 0 / 0.522 GB, free: 1.609 MB / 442.7 MB Notification: Performance of Templates: time 0.2786/1.006, allocations: 30.45 MB / 0.5517 GB, free: 125.5 MB / 442.7 MB