Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.347e-05, allocations: 4 kB / 249.6 MB, free: 15.26 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.3781, allocations: 84.41 MB / 378.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.3785, allocations: 87.89 kB / 378.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1065/0.4849, allocations: 27.89 MB / 406.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.088e-06/0.485, allocations: 4 kB / 406.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.4851, allocations: 39.88 kB / 406.6 MB, free: 1.336 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00402/0.4892, allocations: 1.496 MB / 408.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4892, allocations: 15.97 kB / 408.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.4897, allocations: 162.1 kB / 408.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005595/0.4953, allocations: 1.624 MB / 409.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.975e-05/0.4955, allocations: 51.98 kB / 409.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.4957, allocations: 79.91 kB / 410 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003102/0.4989, allocations: 1.258 MB / 411.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/0.5023, allocations: 1.488 MB / 412.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.5024, allocations: 0 / 412.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.5025, allocations: 3.984 kB / 412.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.735e-05/0.5027, allocations: 50.52 kB / 412.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.5133, allocations: 4.692 MB / 417.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.5156, allocations: 1.014 MB / 418.5 MB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.5168, allocations: 0.5352 MB / 419 MB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.5169, allocations: 4.781 kB / 419 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.518, allocations: 0.559 MB / 419.6 MB, free: 3.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 4.495e-06/0.5181, allocations: 4 kB / 419.6 MB, free: 3.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.002244/0.5203, allocations: 0.9254 MB / 420.5 MB, free: 3.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.5205, allocations: 149.3 kB / 420.7 MB, free: 2.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.5218, allocations: 0.6868 MB / 421.4 MB, free: 2.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.522, allocations: 41.69 kB / 421.4 MB, free: 2.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.5226, allocations: 0.599 MB / 422 MB, free: 1.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.5229, allocations: 224.9 kB / 422.2 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.523, allocations: 0 / 422.2 MB, free: 1.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.5232, allocations: 350.8 kB / 422.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008314/0.524, allocations: 390.4 kB / 422.9 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2043/0.7284, allocations: 0.6034 MB / 423.5 MB, free: 99.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.7295, allocations: 416 kB / 423.9 MB, free: 99.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.7296, allocations: 1.688 kB / 423.9 MB, free: 99.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002403/0.732, allocations: 1.068 MB / 425 MB, free: 99.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005019/0.7325, allocations: 2.526 MB / 427.5 MB, free: 97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.7325, allocations: 6.875 kB / 427.5 MB, free: 97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/0.7332, allocations: 218.6 kB / 427.8 MB, free: 97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.734, allocations: 147.5 kB / 427.9 MB, free: 97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.7375, allocations: 2.71 MB / 430.6 MB, free: 95.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.7386, allocations: 135.6 kB / 430.7 MB, free: 95.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/0.7387, allocations: 38.52 kB / 430.8 MB, free: 95.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.7387, allocations: 5.188 kB / 430.8 MB, free: 95.74 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/0.7407, allocations: 0.988 MB / 431.8 MB, free: 95.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.7407, allocations: 6.781 kB / 431.8 MB, free: 95.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.7413, allocations: 214 kB / 432 MB, free: 95.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.742, allocations: 145.4 kB / 432.1 MB, free: 95.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/0.7454, allocations: 2.731 MB / 434.9 MB, free: 94.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.7462, allocations: 110.9 kB / 435 MB, free: 94.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.7463, allocations: 41.3 kB / 435 MB, free: 94.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.7467, allocations: 172.5 kB / 435.2 MB, free: 94.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.7469, allocations: 83.5 kB / 435.3 MB, free: 94.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.7472, allocations: 102.5 kB / 435.4 MB, free: 94.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.7472, allocations: 7.25 kB / 435.4 MB, free: 94.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.307e-06/0.7472, allocations: 1.438 kB / 435.4 MB, free: 94.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.7473, allocations: 9.656 kB / 435.4 MB, free: 94.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.7517, allocations: 2.286 MB / 437.7 MB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.811e-06/0.7517, allocations: 0 / 437.7 MB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.7522, allocations: 74.27 kB / 437.7 MB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/0.7527, allocations: 200.2 kB / 437.9 MB, free: 93.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.7528, allocations: 7.016 kB / 437.9 MB, free: 93.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.7559, allocations: 2.636 MB / 440.6 MB, free: 92.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.659e-06/0.7559, allocations: 2.25 kB / 440.6 MB, free: 92.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.7584, allocations: 1.569 MB / 442.2 MB, free: 91.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.7589, allocations: 262.9 kB / 442.4 MB, free: 91.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.759, allocations: 10.14 kB / 442.4 MB, free: 91.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.7597, allocations: 76.97 kB / 442.5 MB, free: 91.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/0.7601, allocations: 149.4 kB / 442.6 MB, free: 91.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.7602, allocations: 26.17 kB / 442.7 MB, free: 91.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007539/0.761, allocations: 0.4949 MB / 443.2 MB, free: 90.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.84e-07/0.761, allocations: 0 / 443.2 MB, free: 90.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001958/0.763, allocations: 0.5282 MB / 443.7 MB, free: 90.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.7633, allocations: 153.1 kB / 443.8 MB, free: 90.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002894/0.7662, allocations: 1.768 MB / 445.6 MB, free: 90.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.507e-06/0.7662, allocations: 448 / 445.6 MB, free: 90.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7673, allocations: 0.6659 MB / 446.3 MB, free: 89.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.7683, allocations: 167.2 kB / 446.4 MB, free: 89.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.7723, allocations: 1.903 MB / 448.3 MB, free: 88.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.7733, allocations: 1.377 MB / 449.7 MB, free: 88.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.7736, allocations: 60.69 kB / 449.8 MB, free: 88.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.828e-06/0.7737, allocations: 4 kB / 449.8 MB, free: 88 MB / 362.7 MB Notification: Performance of Templates: time 0.02672/0.8004, allocations: 21.03 MB / 470.8 MB, free: 76.19 MB / 362.7 MB