Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.226e-05, allocations: 6.766 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.07618, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3488/0.4251, allocations: 87.57 MB / 387.4 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.4254, allocations: 86.92 kB / 387.5 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09488/0.5203, allocations: 28.49 MB / 416 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.698e-06/0.5203, allocations: 0 / 416 MB, free: 11.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001247/0.5204, allocations: 46.88 kB / 416.1 MB, free: 11.54 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003694/0.5242, allocations: 1.87 MB / 417.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5242, allocations: 11.78 kB / 417.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005177/0.5247, allocations: 207.2 kB / 418.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/0.5308, allocations: 2.022 MB / 420.2 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.5309, allocations: 134.4 kB / 420.3 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.5313, allocations: 155.1 kB / 420.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.5356, allocations: 2.173 MB / 422.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/0.5357, allocations: 0 / 422.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.5359, allocations: 65.5 kB / 422.7 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.471e-05/0.536, allocations: 65.23 kB / 422.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.5398, allocations: 1.766 MB / 424.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.5523, allocations: 6.51 MB / 431 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.5552, allocations: 1.543 MB / 432.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.5572, allocations: 1.099 MB / 433.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.344e-05/0.5573, allocations: 8.812 kB / 433.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.5587, allocations: 0.8209 MB / 434.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 4.703e-06/0.5587, allocations: 3.938 kB / 434.5 MB, free: 5.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.003326/0.5621, allocations: 1.6 MB / 436.1 MB, free: 4.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.5622, allocations: 153.5 kB / 436.3 MB, free: 4.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.5639, allocations: 0.9992 MB / 437.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.5641, allocations: 77.62 kB / 437.3 MB, free: 2.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.5646, allocations: 0.697 MB / 438 MB, free: 2.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.5649, allocations: 343.2 kB / 438.4 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.565, allocations: 28 kB / 438.4 MB, free: 1.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.5652, allocations: 358.8 kB / 438.7 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.5662, allocations: 0.5804 MB / 439.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.5674, allocations: 0.8338 MB / 440.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.5687, allocations: 0.6294 MB / 440.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.5688, allocations: 3.953 kB / 440.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003682/0.5725, allocations: 1.708 MB / 442.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001378/0.5739, allocations: 2.459 MB / 445 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.5739, allocations: 8 kB / 445 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.5756, allocations: 0.4964 MB / 445.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.5765, allocations: 163.7 kB / 445.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.5868, allocations: 5.399 MB / 451 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.5882, allocations: 183.1 kB / 451.2 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.5884, allocations: 44 kB / 451.2 MB, free: 4.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.5884, allocations: 4 kB / 451.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003569/0.592, allocations: 1.653 MB / 452.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.592, allocations: 8 kB / 452.9 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.5936, allocations: 497.5 kB / 453.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.5945, allocations: 159.7 kB / 453.5 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.6046, allocations: 5.442 MB / 459 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.6056, allocations: 167.2 kB / 459.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.6057, allocations: 44 kB / 459.2 MB, free: 12.45 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (117): * Single equations (assignments): 116 * 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.0004371/0.6062, allocations: 224.8 kB / 459.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.6066, allocations: 122.5 kB / 459.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.607, allocations: 164.1 kB / 459.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.6071, allocations: 15.98 kB / 459.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.6071, allocations: 0 / 459.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.6071, allocations: 7.984 kB / 459.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007704/0.6148, allocations: 3.523 MB / 463.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6149, allocations: 4 kB / 463.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.6154, allocations: 83.83 kB / 463.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.617, allocations: 492.6 kB / 463.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.6172, allocations: 19.98 kB / 463.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009955/0.6271, allocations: 5.316 MB / 469.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.64e-06/0.6272, allocations: 0 / 469.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/0.6322, allocations: 2.439 MB / 471.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009128/0.6332, allocations: 359.3 kB / 471.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.6334, allocations: 24 kB / 472 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.6344, allocations: 107.9 kB / 472.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005305/0.6349, allocations: 176.7 kB / 472.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.6351, allocations: 31.98 kB / 472.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001555/0.6366, allocations: 0.7602 MB / 473 MB, free: 14.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.6366, allocations: 0 / 473 MB, free: 14.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002653/0.6393, allocations: 0.8059 MB / 473.8 MB, free: 13.54 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (77): * Single equations (assignments): 67 * 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.0003562/0.6397, allocations: 184.5 kB / 474 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005971/0.6457, allocations: 2.784 MB / 476.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.53e-06/0.6457, allocations: 6.188 kB / 476.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.6478, allocations: 0.9817 MB / 477.8 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.6497, allocations: 312.7 kB / 478.1 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.6562, allocations: 2.628 MB / 480.7 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.6582, allocations: 1.643 MB / 482.4 MB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.6587, allocations: 83.44 kB / 482.4 MB, free: 4.82 MB / 362.7 MB Notification: Performance of SimCode: time 2.084e-06/0.6587, allocations: 3.938 kB / 482.4 MB, free: 4.816 MB / 362.7 MB Notification: Performance of Templates: time 0.05173/0.7104, allocations: 29.27 MB / 0.4997 GB, free: 7.555 MB / 394.7 MB