Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 1.774/1.774, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.809e-05, allocations: 8 kB / 255.4 MB, free: 3.16 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07828, allocations: 44.51 MB / 299.9 MB, free: 6.59 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4272, allocations: 87.88 MB / 387.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4275, allocations: 88.56 kB / 387.9 MB, free: 20.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1191/0.5466, allocations: 36.57 MB / 424.4 MB, free: 8.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.5466, allocations: 0 / 424.4 MB, free: 8.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001783/0.5468, allocations: 46.41 kB / 424.5 MB, free: 8.266 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.004983/0.5518, allocations: 1.98 MB / 426.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5519, allocations: 7.75 kB / 426.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.5527, allocations: 232.2 kB / 426.7 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.559, allocations: 2.069 MB / 428.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.5592, allocations: 142.5 kB / 428.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.5596, allocations: 173.4 kB / 429.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/0.5642, allocations: 2.343 MB / 431.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.725e-05/0.5643, allocations: 0 / 431.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.5646, allocations: 73.23 kB / 431.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-05/0.5647, allocations: 86.45 kB / 431.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.5687, allocations: 1.887 MB / 433.5 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.5813, allocations: 6.857 MB / 440.3 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.5847, allocations: 1.613 MB / 441.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.5868, allocations: 0.9623 MB / 442.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.5869, allocations: 12.94 kB / 442.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.5888, allocations: 0.8937 MB / 443.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 4.833e-06/0.5888, allocations: 0 / 443.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.003984/0.5928, allocations: 1.653 MB / 445.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.593, allocations: 145.5 kB / 445.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.5952, allocations: 1.031 MB / 446.6 MB, free: 9.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003062/0.5956, allocations: 73.67 kB / 446.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008882/0.5965, allocations: 0.7323 MB / 447.4 MB, free: 8.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.5971, allocations: 378.8 kB / 447.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.5972, allocations: 24 kB / 447.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.5974, allocations: 374.7 kB / 448.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.5989, allocations: 0.6481 MB / 448.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.6006, allocations: 0.9136 MB / 449.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.6021, allocations: 0.6959 MB / 450.4 MB, free: 5.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.6021, allocations: 4 kB / 450.4 MB, free: 5.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004102/0.6062, allocations: 1.857 MB / 452.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001399/0.6077, allocations: 2.439 MB / 454.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.6077, allocations: 8 kB / 454.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.6094, allocations: 493.8 kB / 455.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.6104, allocations: 191.6 kB / 455.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009746/0.6202, allocations: 5.221 MB / 460.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.6217, allocations: 187 kB / 460.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6219, allocations: 48 kB / 460.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6219, allocations: 4 kB / 460.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003931/0.6258, allocations: 1.792 MB / 462.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.6259, allocations: 8.812 kB / 462.7 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.6274, allocations: 492.5 kB / 463.1 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/0.6283, allocations: 175.7 kB / 463.3 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0097/0.638, allocations: 5.283 MB / 468.6 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.6391, allocations: 167.2 kB / 468.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.6393, allocations: 48 kB / 468.8 MB, free: 2.926 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 (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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.6398, allocations: 237.4 kB / 469 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/0.6402, allocations: 126.5 kB / 469.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.6407, allocations: 177.3 kB / 469.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.6408, allocations: 19.98 kB / 469.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.6408, allocations: 0 / 469.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.6408, allocations: 7.922 kB / 469.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007931/0.6488, allocations: 3.583 MB / 473 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6488, allocations: 0 / 473 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.6496, allocations: 123.8 kB / 473.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/0.6511, allocations: 464.8 kB / 473.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.6513, allocations: 23.98 kB / 473.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009674/0.661, allocations: 5.155 MB / 478.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.661, allocations: 0 / 478.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005752/0.6668, allocations: 2.624 MB / 481.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.6679, allocations: 375.2 kB / 481.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.6682, allocations: 47.97 kB / 481.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.6692, allocations: 115.9 kB / 481.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006591/0.6699, allocations: 228.9 kB / 482.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.6701, allocations: 43.97 kB / 482.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001628/0.6717, allocations: 0.7729 MB / 482.9 MB, free: 4.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.141e-06/0.6717, allocations: 7.938 kB / 482.9 MB, free: 4.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003154/0.6749, allocations: 0.8644 MB / 483.8 MB, free: 3.695 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_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.0005325/0.6755, allocations: 217.3 kB / 484 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006618/0.6821, allocations: 2.96 MB / 486.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.725e-06/0.6821, allocations: 0.5625 kB / 486.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.6845, allocations: 1.049 MB / 488 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.6865, allocations: 308.1 kB / 488.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.6939, allocations: 2.86 MB / 491.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.696, allocations: 1.695 MB / 492.8 MB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.6965, allocations: 91.42 kB / 492.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.506e-06/0.6965, allocations: 4 kB / 492.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of Templates: time 0.2671/0.9636, allocations: 31.27 MB / 0.5119 GB, free: 107.2 MB / 394.7 MB