Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.356e-05, allocations: 8 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09186, allocations: 50.42 MB / 342.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.4636, allocations: 89.21 MB / 431.8 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4639, allocations: 82.56 kB / 431.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04365/0.5076, allocations: 11.35 MB / 443.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.096e-06/0.5077, allocations: 0 / 443.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.658e-05/0.5077, allocations: 19.98 kB / 443.2 MB, free: 11.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001899/0.5096, allocations: 0.8829 MB / 444.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5097, allocations: 12.03 kB / 444.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.5099, allocations: 82.97 kB / 444.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.5109, allocations: 0.492 MB / 444.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.511, allocations: 53.19 kB / 444.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.5112, allocations: 68.94 kB / 444.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5127, allocations: 0.684 MB / 445.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.5128, allocations: 7.859 kB / 445.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.873e-05/0.5129, allocations: 29.56 kB / 445.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.5129, allocations: 16 kB / 445.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.5141, allocations: 0.4902 MB / 446 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/0.5193, allocations: 2.672 MB / 448.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.5206, allocations: 0.5195 MB / 449.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.5213, allocations: 321.4 kB / 449.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.5214, allocations: 4.438 kB / 449.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000748/0.5222, allocations: 351.8 kB / 449.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.914e-06/0.5222, allocations: 0 / 449.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001327/0.5235, allocations: 0.5357 MB / 450.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.5237, allocations: 141 kB / 450.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.5244, allocations: 435.8 kB / 451 MB, free: 5.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.104e-05/0.5245, allocations: 44.27 kB / 451 MB, free: 5.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.5248, allocations: 355.3 kB / 451.4 MB, free: 4.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.525, allocations: 168.3 kB / 451.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.5251, allocations: 13.81 kB / 451.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5253, allocations: 334.1 kB / 451.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.5258, allocations: 182.2 kB / 452.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.5264, allocations: 348.2 kB / 452.4 MB, free: 3.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.5269, allocations: 202.7 kB / 452.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.08e-06/0.5269, allocations: 4 kB / 452.6 MB, free: 3.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00143/0.5283, allocations: 0.6103 MB / 453.2 MB, free: 3.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008715/0.5292, allocations: 1.581 MB / 454.8 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5293, allocations: 4 kB / 454.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/0.5299, allocations: 141 kB / 454.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.5304, allocations: 91.27 kB / 455 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.5342, allocations: 2.33 MB / 457.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.5349, allocations: 89.75 kB / 457.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.535, allocations: 27.11 kB / 457.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.535, allocations: 7.938 kB / 457.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001357/0.5364, allocations: 0.5732 MB / 458 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5364, allocations: 7.953 kB / 458.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.537, allocations: 140.8 kB / 458.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.5374, allocations: 83.83 kB / 458.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.5412, allocations: 2.291 MB / 460.6 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.5417, allocations: 71.61 kB / 460.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.5418, allocations: 28 kB / 460.7 MB, free: 12.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.542, allocations: 164.1 kB / 460.8 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.5422, allocations: 55.34 kB / 460.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.5424, allocations: 65.59 kB / 460.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.736e-06/0.5425, allocations: 8 kB / 460.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.5425, allocations: 3.984 kB / 461 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.752e-06/0.5425, allocations: 4 kB / 461 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.5455, allocations: 1.379 MB / 462.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.214e-06/0.5455, allocations: 0 / 462.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.5458, allocations: 43.92 kB / 462.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.5464, allocations: 144.8 kB / 462.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.5465, allocations: 15.94 kB / 462.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.5503, allocations: 2.312 MB / 464.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.804e-06/0.5503, allocations: 0 / 464.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.5524, allocations: 0.924 MB / 465.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.5528, allocations: 192.3 kB / 466 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.5529, allocations: 15.95 kB / 466 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.5534, allocations: 43.97 kB / 466 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.5536, allocations: 64.41 kB / 466.1 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.5537, allocations: 19.98 kB / 466.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006151/0.5543, allocations: 333.6 kB / 466.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.5544, allocations: 0 / 466.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001433/0.5558, allocations: 335.1 kB / 466.8 MB, free: 5.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002588/0.5561, allocations: 143.7 kB / 466.9 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.5586, allocations: 1.121 MB / 468 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.5586, allocations: 8.062 kB / 468 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.5595, allocations: 439.4 kB / 468.5 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.5603, allocations: 116.4 kB / 468.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.5629, allocations: 0.9338 MB / 469.5 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.5637, allocations: 0.9509 MB / 470.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.5639, allocations: 43.44 kB / 470.5 MB, free: 1.984 MB / 378.7 MB Notification: Performance of SimCode: time 1.809e-06/0.5639, allocations: 0 / 470.5 MB, free: 1.984 MB / 378.7 MB Notification: Performance of Templates: time 0.01927/0.5832, allocations: 10.85 MB / 481.3 MB, free: 7.16 MB / 394.7 MB