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 2.046/2.046, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.551e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.247, allocations: 44.51 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.3795, allocations: 86.9 MB / 381 MB, free: 11.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.3798, allocations: 95.77 kB / 381.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1068/0.4867, allocations: 28.17 MB / 409.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.817e-06/0.4867, allocations: 3.984 kB / 409.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.4869, allocations: 51.92 kB / 409.3 MB, free: 14.54 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004733/0.4916, allocations: 1.875 MB / 411.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4917, allocations: 8.031 kB / 411.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006848/0.4924, allocations: 205.6 kB / 411.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007103/0.4995, allocations: 2.026 MB / 413.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.4997, allocations: 55.98 kB / 413.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.5, allocations: 100 kB / 413.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004192/0.5042, allocations: 1.701 MB / 415.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004571/0.5088, allocations: 1.961 MB / 417.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.5089, allocations: 3.938 kB / 417.3 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.5091, allocations: 4 kB / 417.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.787e-05/0.5092, allocations: 67.14 kB / 417.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.523, allocations: 6.174 MB / 423.5 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2104/0.7334, allocations: 1.502 MB / 425 MB, free: 95.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.7353, allocations: 0.9641 MB / 426 MB, free: 95.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.7354, allocations: 11.47 kB / 426 MB, free: 95.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/0.7369, allocations: 0.7908 MB / 426.8 MB, free: 95.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=114): time 6.721e-06/0.737, allocations: 3.281 kB / 426.8 MB, free: 95.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.003334/0.7403, allocations: 1.53 MB / 428.3 MB, free: 95.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.7404, allocations: 151 kB / 428.5 MB, free: 95.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.7422, allocations: 0.8745 MB / 429.3 MB, free: 94.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002563/0.7425, allocations: 43.92 kB / 429.4 MB, free: 94.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.7431, allocations: 0.7104 MB / 430.1 MB, free: 94.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.7435, allocations: 330.1 kB / 430.4 MB, free: 94.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.7436, allocations: 2.438 kB / 430.4 MB, free: 94.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7437, allocations: 359.7 kB / 430.8 MB, free: 94.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.7448, allocations: 0.5584 MB / 431.3 MB, free: 94.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.746, allocations: 0.814 MB / 432.1 MB, free: 93.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7472, allocations: 0.6124 MB / 432.8 MB, free: 93.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.7472, allocations: 1.625 kB / 432.8 MB, free: 93.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003103/0.7503, allocations: 1.623 MB / 434.4 MB, free: 93.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005052/0.7509, allocations: 2.446 MB / 436.8 MB, free: 91.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.7509, allocations: 7.688 kB / 436.8 MB, free: 91.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.7524, allocations: 491.9 kB / 437.3 MB, free: 91.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.7533, allocations: 164.2 kB / 437.5 MB, free: 91.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008378/0.7617, allocations: 5.284 MB / 442.8 MB, free: 88.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.763, allocations: 157.1 kB / 442.9 MB, free: 88.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.7632, allocations: 45.75 kB / 443 MB, free: 88.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7632, allocations: 5.812 kB / 443 MB, free: 88.45 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/0.7661, allocations: 1.529 MB / 444.5 MB, free: 87.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.7662, allocations: 6.906 kB / 444.5 MB, free: 87.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.7675, allocations: 491.4 kB / 445 MB, free: 87.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.7683, allocations: 159.2 kB / 445.1 MB, free: 87.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008379/0.7767, allocations: 5.314 MB / 450.4 MB, free: 84.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/0.7777, allocations: 140.2 kB / 450.6 MB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.7779, allocations: 47.12 kB / 450.6 MB, free: 84.69 MB / 362.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.0003969/0.7783, allocations: 180 kB / 450.8 MB, free: 84.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.7786, allocations: 117.4 kB / 450.9 MB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.779, allocations: 140 kB / 451.1 MB, free: 84.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.7791, allocations: 13.12 kB / 451.1 MB, free: 84.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.7791, allocations: 1.156 kB / 451.1 MB, free: 84.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.7791, allocations: 7.562 kB / 451.1 MB, free: 84.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00668/0.7858, allocations: 3.217 MB / 454.3 MB, free: 83.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.231e-06/0.7859, allocations: 3.375 kB / 454.3 MB, free: 83.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.7864, allocations: 89.19 kB / 454.4 MB, free: 83.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.7877, allocations: 482.8 kB / 454.9 MB, free: 82.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/0.7878, allocations: 11.31 kB / 454.9 MB, free: 82.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007946/0.7958, allocations: 5.164 MB / 460 MB, free: 79.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.327e-06/0.7958, allocations: 10.95 kB / 460 MB, free: 79.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.8, allocations: 2.345 MB / 462.4 MB, free: 78.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008146/0.8008, allocations: 337 kB / 462.7 MB, free: 78.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.8011, allocations: 11.84 kB / 462.7 MB, free: 78.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009347/0.8021, allocations: 89.03 kB / 462.8 MB, free: 78.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/0.8025, allocations: 179.9 kB / 463 MB, free: 78.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/0.8027, allocations: 34.16 kB / 463 MB, free: 78.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.8038, allocations: 0.6497 MB / 463.7 MB, free: 78.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.38e-07/0.8038, allocations: 0 / 463.7 MB, free: 78.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002892/0.8067, allocations: 0.7459 MB / 464.4 MB, free: 78.23 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.0003435/0.8071, allocations: 154.7 kB / 464.6 MB, free: 78.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004926/0.812, allocations: 2.718 MB / 467.3 MB, free: 75.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.8121, allocations: 0.5625 kB / 467.3 MB, free: 75.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.8138, allocations: 0.9593 MB / 468.3 MB, free: 74.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.8154, allocations: 267.4 kB / 468.5 MB, free: 74.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005588/0.8211, allocations: 2.598 MB / 471.1 MB, free: 72.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.8224, allocations: 1.642 MB / 472.8 MB, free: 70.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.8228, allocations: 71.44 kB / 472.8 MB, free: 70.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.8229, allocations: 0 / 472.8 MB, free: 70.91 MB / 362.7 MB Notification: Performance of Templates: time 0.0388/0.8617, allocations: 28.76 MB / 0.4898 GB, free: 44.8 MB / 362.7 MB