Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 1.956/1.956, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.935e-05, allocations: 4 kB / 249.6 MB, free: 15.26 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3435, allocations: 44.5 MB / 294.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4718, allocations: 84.09 MB / 378.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4722, allocations: 91.94 kB / 378.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1037/0.5759, allocations: 27.56 MB / 405.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.23e-06/0.576, allocations: 0 / 405.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001117/0.5761, allocations: 35.94 kB / 405.9 MB, free: 1.996 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.003741/0.5798, allocations: 1.495 MB / 407.4 MB, free: 436 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5799, allocations: 15.97 kB / 407.4 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.5804, allocations: 158.2 kB / 407.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005542/0.5859, allocations: 1.613 MB / 409.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.71e-05/0.586, allocations: 48 kB / 409.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.5863, allocations: 83.97 kB / 409.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002989/0.5893, allocations: 1.25 MB / 410.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.5927, allocations: 1.468 MB / 412 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.5928, allocations: 4 kB / 412 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.5929, allocations: 3.984 kB / 412 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.232e-05/0.593, allocations: 54.47 kB / 412.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.6031, allocations: 4.61 MB / 416.7 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.6054, allocations: 0.9939 MB / 417.7 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.6066, allocations: 0.5236 MB / 418.2 MB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.6067, allocations: 8.562 kB / 418.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.6078, allocations: 0.5626 MB / 418.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 4.287e-06/0.6078, allocations: 4 kB / 418.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.002275/0.6101, allocations: 0.9255 MB / 419.7 MB, free: 3.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6103, allocations: 149.2 kB / 419.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.6116, allocations: 0.6751 MB / 420.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.6117, allocations: 37.69 kB / 420.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006545/0.6124, allocations: 0.599 MB / 421.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.6127, allocations: 213 kB / 421.4 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.6128, allocations: 4.031 kB / 421.4 MB, free: 2.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.613, allocations: 354.7 kB / 421.7 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008297/0.6138, allocations: 386.4 kB / 422.1 MB, free: 1.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.6149, allocations: 0.6031 MB / 422.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.6158, allocations: 404.3 kB / 423.1 MB, free: 280 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6158, allocations: 8 kB / 423.1 MB, free: 272 kB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.2059/0.8217, allocations: 1.042 MB / 424.2 MB, free: 99.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00052/0.8223, allocations: 2.531 MB / 426.7 MB, free: 97.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.8223, allocations: 6.531 kB / 426.7 MB, free: 97.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008254/0.8232, allocations: 228.4 kB / 426.9 MB, free: 97.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.8239, allocations: 139.8 kB / 427.1 MB, free: 97.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.8277, allocations: 2.825 MB / 429.9 MB, free: 95.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.8288, allocations: 132.4 kB / 430 MB, free: 95.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/0.8289, allocations: 36.5 kB / 430 MB, free: 95.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8289, allocations: 10.5 kB / 430.1 MB, free: 95.76 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002007/0.831, allocations: 0.9834 MB / 431 MB, free: 95.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.831, allocations: 9.547 kB / 431 MB, free: 95.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/0.8316, allocations: 223.1 kB / 431.3 MB, free: 95.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.8323, allocations: 135.2 kB / 431.4 MB, free: 95.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.836, allocations: 2.851 MB / 434.2 MB, free: 94.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.8368, allocations: 112.9 kB / 434.4 MB, free: 94.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.8369, allocations: 34.41 kB / 434.4 MB, free: 94.46 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 (101): * Single equations (assignments): 100 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003227/0.8373, allocations: 179 kB / 434.6 MB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.8375, allocations: 87.88 kB / 434.7 MB, free: 94.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.8378, allocations: 97.95 kB / 434.7 MB, free: 94.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8378, allocations: 8.188 kB / 434.8 MB, free: 94.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.137e-06/0.8379, allocations: 1.531 kB / 434.8 MB, free: 94.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.8379, allocations: 9.703 kB / 434.8 MB, free: 94.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/0.8427, allocations: 2.388 MB / 437.2 MB, free: 93.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.874e-06/0.8427, allocations: 3.812 kB / 437.2 MB, free: 93.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.8431, allocations: 69.11 kB / 437.2 MB, free: 93.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/0.8437, allocations: 202.4 kB / 437.4 MB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.8438, allocations: 7.062 kB / 437.4 MB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.8469, allocations: 2.542 MB / 440 MB, free: 92.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.876e-06/0.847, allocations: 6.953 kB / 440 MB, free: 92.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.8498, allocations: 1.575 MB / 441.6 MB, free: 91.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/0.8504, allocations: 264.2 kB / 441.8 MB, free: 91.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.8505, allocations: 13.34 kB / 441.8 MB, free: 91.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/0.8513, allocations: 77.69 kB / 441.9 MB, free: 91.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/0.8516, allocations: 136.7 kB / 442 MB, free: 91.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.8517, allocations: 28.86 kB / 442.1 MB, free: 91.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007798/0.8525, allocations: 0.4917 MB / 442.6 MB, free: 91.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.8525, allocations: 0 / 442.6 MB, free: 91.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001906/0.8545, allocations: 0.5287 MB / 443.1 MB, free: 91.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002512/0.8547, allocations: 156.9 kB / 443.2 MB, free: 90.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.8578, allocations: 1.765 MB / 445 MB, free: 90.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.043e-06/0.8578, allocations: 448 / 445 MB, free: 90.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.8589, allocations: 0.6361 MB / 445.6 MB, free: 89.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.86, allocations: 160.2 kB / 445.8 MB, free: 89.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.8639, allocations: 1.827 MB / 447.6 MB, free: 89.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.865, allocations: 1.364 MB / 449 MB, free: 88.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.8653, allocations: 67.44 kB / 449.1 MB, free: 88.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.813e-06/0.8654, allocations: 3.844 kB / 449.1 MB, free: 88.32 MB / 362.7 MB Notification: Performance of Templates: time 0.02809/0.8935, allocations: 20.8 MB / 469.9 MB, free: 76.89 MB / 362.7 MB