Running command: translateModel(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,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_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="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.535e-05, allocations: 4 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.324, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.4706, allocations: 95.92 MB / 455.7 MB, free: 1.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4709, allocations: 72.78 kB / 455.8 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1481/0.619, allocations: 38.6 MB / 494.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.78e-06/0.619, allocations: 0 / 494.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001813/0.6192, allocations: 55.92 kB / 494.4 MB, free: 10.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.005897/0.6252, allocations: 2.115 MB / 496.5 MB, free: 7.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6252, allocations: 8.031 kB / 496.5 MB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009807/0.6262, allocations: 249.1 kB / 496.8 MB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00788/0.6341, allocations: 2.203 MB / 499 MB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.6344, allocations: 151.6 kB / 499.1 MB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006667/0.635, allocations: 188 kB / 499.3 MB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006962/0.642, allocations: 2.559 MB / 0.4901 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.718e-05/0.6421, allocations: 0 / 0.4901 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003224/0.6425, allocations: 80 kB / 0.4902 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.6426, allocations: 79.7 kB / 0.4903 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005489/0.6481, allocations: 2.073 MB / 0.4923 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/0.6663, allocations: 7.442 MB / 0.4996 GB, free: 8.613 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.6707, allocations: 1.855 MB / 0.5014 GB, free: 6.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.6737, allocations: 1.288 MB / 0.5026 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-05/0.6739, allocations: 16.98 kB / 0.5026 GB, free: 5.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.6759, allocations: 0.9548 MB / 0.5036 GB, free: 4.469 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.057e-06/0.676, allocations: 0 / 0.5036 GB, free: 4.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.004534/0.6805, allocations: 1.843 MB / 0.5054 GB, free: 2.613 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.6807, allocations: 234.9 kB / 0.5056 GB, free: 2.332 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.6833, allocations: 1.182 MB / 0.5068 GB, free: 1.137 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.6836, allocations: 73.69 kB / 0.5068 GB, free: 1.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009805/0.6846, allocations: 0.8061 MB / 0.5076 GB, free: 248 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006003/0.6852, allocations: 394.6 kB / 0.508 GB, free: 15.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.6853, allocations: 28 kB / 0.508 GB, free: 15.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.6856, allocations: 366.8 kB / 0.5084 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.6872, allocations: 0.6989 MB / 0.509 GB, free: 14.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.6891, allocations: 0.9991 MB / 0.51 GB, free: 13.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.6908, allocations: 0.766 MB / 0.5108 GB, free: 12.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.6908, allocations: 4 kB / 0.5108 GB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00451/0.6953, allocations: 2.016 MB / 0.5127 GB, free: 10.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001397/0.6968, allocations: 2.447 MB / 0.5151 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.6968, allocations: 7.953 kB / 0.5151 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.6988, allocations: 0.5747 MB / 0.5157 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6999, allocations: 183.7 kB / 0.5159 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.7119, allocations: 6.119 MB / 0.5219 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.7136, allocations: 211 kB / 0.5221 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.7138, allocations: 55.95 kB / 0.5221 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7138, allocations: 4 kB / 0.5221 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2545/0.9684, allocations: 1.954 MB / 0.524 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.9684, allocations: 7.969 kB / 0.524 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.9701, allocations: 0.5713 MB / 0.5246 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9711, allocations: 174.8 kB / 0.5248 GB, free: 123.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.9817, allocations: 6.154 MB / 0.5308 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.9829, allocations: 183.9 kB / 0.5309 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.9831, allocations: 53.06 kB / 0.531 GB, free: 122.2 MB / 458.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 (138): * Single equations (assignments): 137 * 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 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004437/0.9835, allocations: 238.1 kB / 0.5312 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.984, allocations: 149.2 kB / 0.5314 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.9844, allocations: 184.9 kB / 0.5315 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.9845, allocations: 13.58 kB / 0.5315 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.762e-06/0.9845, allocations: 0 / 0.5315 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.9845, allocations: 7.547 kB / 0.5316 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008551/0.9931, allocations: 4.03 MB / 0.5355 GB, free: 121.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.68e-06/0.9931, allocations: 0 / 0.5355 GB, free: 121.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.9938, allocations: 99.19 kB / 0.5356 GB, free: 121.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.9955, allocations: 0.5445 MB / 0.5361 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.9956, allocations: 24.56 kB / 0.5361 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/1.006, allocations: 6.027 MB / 0.542 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.957e-06/1.006, allocations: 0 / 0.542 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005176/1.011, allocations: 2.766 MB / 0.5447 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.012, allocations: 393.3 kB / 0.5451 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/1.013, allocations: 44.95 kB / 0.5451 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.014, allocations: 129.3 kB / 0.5453 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006323/1.014, allocations: 236.2 kB / 0.5455 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.015, allocations: 35.39 kB / 0.5455 GB, free: 117.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001714/1.016, allocations: 0.8933 MB / 0.5464 GB, free: 117 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.03e-06/1.016, allocations: 0 / 0.5464 GB, free: 117 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003636/1.02, allocations: 0.9559 MB / 0.5473 GB, free: 116.9 MB / 458.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: 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_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003991/1.02, allocations: 201.5 kB / 0.5475 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006341/1.027, allocations: 3.224 MB / 0.5507 GB, free: 115.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.027, allocations: 1.266 kB / 0.5507 GB, free: 115.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/1.029, allocations: 1.107 MB / 0.5518 GB, free: 115 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/1.031, allocations: 351.9 kB / 0.5521 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/1.038, allocations: 3.039 MB / 0.5551 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.04, allocations: 1.801 MB / 0.5568 GB, free: 112.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/1.04, allocations: 90.41 kB / 0.5569 GB, free: 112.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.006e-06/1.04, allocations: 0 / 0.5569 GB, free: 112.8 MB / 458.7 MB Notification: Performance of Templates: time 0.04624/1.086, allocations: 34.06 MB / 0.5902 GB, free: 97.58 MB / 458.7 MB