Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|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.ThyristorBridge2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 194.9 MB / 208.5 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.065e-05, allocations: 7.938 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.0789, allocations: 44.5 MB / 299.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.4408, allocations: 87.35 MB / 387.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4411, allocations: 86.89 kB / 387.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1234/0.5645, allocations: 36.09 MB / 423.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.252e-06/0.5646, allocations: 7.938 kB / 423.4 MB, free: 8.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001427/0.5647, allocations: 50.91 kB / 423.5 MB, free: 8.703 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.004625/0.5694, allocations: 1.963 MB / 425.4 MB, free: 7.477 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5694, allocations: 7.75 kB / 425.4 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.5702, allocations: 230.8 kB / 425.7 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006443/0.5766, allocations: 2.057 MB / 427.7 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.5768, allocations: 142.1 kB / 427.9 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003631/0.5772, allocations: 176.2 kB / 428 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005158/0.5824, allocations: 2.34 MB / 430.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.5825, allocations: 0 / 430.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.5827, allocations: 80.14 kB / 430.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/0.5828, allocations: 74.3 kB / 430.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.5868, allocations: 1.876 MB / 432.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.6, allocations: 6.848 MB / 439.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/0.6034, allocations: 1.678 MB / 440.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.6055, allocations: 0.9508 MB / 441.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/0.6056, allocations: 17 kB / 441.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.6075, allocations: 0.8587 MB / 442.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 5.742e-06/0.6075, allocations: 0 / 442.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.004096/0.6116, allocations: 1.661 MB / 444.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.6118, allocations: 153.4 kB / 444.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.6141, allocations: 1.047 MB / 445.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.6144, allocations: 77.67 kB / 445.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008917/0.6153, allocations: 0.7438 MB / 446.4 MB, free: 9.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005259/0.6159, allocations: 363 kB / 446.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.616, allocations: 32 kB / 446.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.6162, allocations: 358.8 kB / 447.2 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.6177, allocations: 0.6442 MB / 447.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.6194, allocations: 0.9098 MB / 448.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.6209, allocations: 0.688 MB / 449.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.6209, allocations: 3.938 kB / 449.4 MB, free: 6.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004218/0.6252, allocations: 1.845 MB / 451.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001382/0.6266, allocations: 2.446 MB / 453.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6266, allocations: 4 kB / 453.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.6283, allocations: 0.4895 MB / 454.2 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6293, allocations: 171.7 kB / 454.4 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009836/0.6392, allocations: 5.213 MB / 459.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6407, allocations: 195 kB / 459.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.6409, allocations: 51.98 kB / 459.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6409, allocations: 4 kB / 459.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00394/0.6449, allocations: 1.78 MB / 461.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.6449, allocations: 8 kB / 461.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.6464, allocations: 485 kB / 462.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/0.6473, allocations: 167.8 kB / 462.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009646/0.657, allocations: 5.267 MB / 467.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.6581, allocations: 159.2 kB / 467.7 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.6583, allocations: 51.98 kB / 467.7 MB, free: 4.016 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: 69 ($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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004856/0.6588, allocations: 237.4 kB / 467.9 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.6592, allocations: 134.5 kB / 468.1 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.6597, allocations: 164.6 kB / 468.2 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6597, allocations: 12 kB / 468.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6597, allocations: 3.953 kB / 468.3 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.6598, allocations: 7.969 kB / 468.3 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007954/0.6677, allocations: 3.564 MB / 471.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6678, allocations: 7.891 kB / 471.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/0.6685, allocations: 103.8 kB / 471.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.67, allocations: 464.7 kB / 472.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.6701, allocations: 23.98 kB / 472.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009547/0.6797, allocations: 5.14 MB / 477.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.927e-06/0.6797, allocations: 0 / 477.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.6851, allocations: 2.588 MB / 480.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009468/0.6861, allocations: 363.3 kB / 480.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.6864, allocations: 47.97 kB / 480.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/0.6873, allocations: 107.9 kB / 480.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006396/0.688, allocations: 220.7 kB / 480.9 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.6881, allocations: 35.98 kB / 480.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001617/0.6898, allocations: 0.7886 MB / 481.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.254e-06/0.6898, allocations: 4 kB / 481.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002988/0.6928, allocations: 0.8527 MB / 482.5 MB, free: 4.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 48 (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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004158/0.6932, allocations: 193.5 kB / 482.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006359/0.6996, allocations: 2.953 MB / 485.7 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.304e-06/0.6997, allocations: 1.062 kB / 485.7 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.7019, allocations: 1.024 MB / 486.7 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.7039, allocations: 312.2 kB / 487 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.7109, allocations: 2.824 MB / 489.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.713, allocations: 1.687 MB / 491.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.7135, allocations: 91.38 kB / 491.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.848e-06/0.7135, allocations: 0 / 491.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Templates: time 0.2628/0.9763, allocations: 30.93 MB / 0.5103 GB, free: 107.9 MB / 394.7 MB