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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") Notification: Performance of loadModel(Modelica): time 2.176/2.176, allocations: 224.7 MB / 241.1 MB, free: 1.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.403e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.41 MB / 345 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R): time 0.006991/0.1279, allocations: 4.055 MB / 349.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.1318, allocations: 1.357 MB / 350.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.1324, allocations: 43.81 kB / 350.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005924/0.133, allocations: 167 kB / 350.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1341, allocations: 283 kB / 350.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.1349, allocations: 223.6 kB / 351.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.1365, allocations: 0.7605 MB / 351.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.1379, allocations: 0.8237 MB / 352.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007377/0.1387, allocations: 394.9 kB / 353.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008503/0.1396, allocations: 474.2 kB / 353.5 MB, free: 340 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1398, allocations: 44 kB / 353.6 MB, free: 296 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.14, allocations: 48 kB / 353.6 MB, free: 248 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003919/0.1404, allocations: 294.9 kB / 353.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.1407, allocations: 115.9 kB / 354 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.1433, allocations: 1.929 MB / 356 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1433, allocations: 0 / 356 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.29e-06/0.1433, allocations: 3.938 kB / 356 MB, free: 13.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.105e-05/0.1434, allocations: 3.938 kB / 356 MB, free: 13.9 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.004435/0.1478, allocations: 1.528 MB / 357.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1479, allocations: 16.02 kB / 357.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.1484, allocations: 162 kB / 357.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.1507, allocations: 0.9381 MB / 358.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.1508, allocations: 106.5 kB / 358.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.1512, allocations: 128 kB / 358.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.156, allocations: 1.784 MB / 360.6 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.1561, allocations: 0 / 360.6 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.1563, allocations: 59.94 kB / 360.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-05/0.1564, allocations: 54.58 kB / 360.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/0.1609, allocations: 1.544 MB / 362.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.1736, allocations: 5.07 MB / 367.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.1764, allocations: 1.1 MB / 368.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.31e-05/0.1765, allocations: 12.64 kB / 368.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.1782, allocations: 0.6758 MB / 369.1 MB, free: 424 kB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 6.272e-06/0.1783, allocations: 0 / 369.1 MB, free: 424 kB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.006525/0.1848, allocations: 1.881 MB / 371 MB, free: 14.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.1849, allocations: 145.5 kB / 371.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.1866, allocations: 0.7888 MB / 372 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.1868, allocations: 57.69 kB / 372 MB, free: 13.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.1875, allocations: 0.6068 MB / 372.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.1878, allocations: 260.5 kB / 372.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.1879, allocations: 23.94 kB / 372.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1881, allocations: 350.8 kB / 373.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.1895, allocations: 481.7 kB / 373.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.1911, allocations: 0.7311 MB / 374.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.1925, allocations: 0.5143 MB / 375 MB, free: 10.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.1926, allocations: 0 / 375 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00359/0.1962, allocations: 1.341 MB / 376.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.1973, allocations: 2.789 MB / 379.1 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.1974, allocations: 11.94 kB / 379.1 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009564/0.1983, allocations: 228.8 kB / 379.3 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.1996, allocations: 163.7 kB / 379.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/0.2048, allocations: 2.854 MB / 382.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.2062, allocations: 151.1 kB / 382.5 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.2064, allocations: 43.98 kB / 382.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2064, allocations: 4 kB / 382.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003344/0.2098, allocations: 1.25 MB / 383.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.2098, allocations: 8 kB / 383.8 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/0.2106, allocations: 237.6 kB / 384 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.2118, allocations: 151.7 kB / 384.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.2171, allocations: 2.891 MB / 387.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.2182, allocations: 131.3 kB / 387.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.964e-05/0.2183, allocations: 40 kB / 387.2 MB, free: 13.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (112): * Single equations (assignments): 111 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.001297/0.2196, allocations: 0.5558 MB / 387.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.2199, allocations: 94.92 kB / 387.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.2203, allocations: 129.6 kB / 388 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.2203, allocations: 8 kB / 388 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2203, allocations: 0 / 388 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.2203, allocations: 3.984 kB / 388 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006998/0.2274, allocations: 2.677 MB / 390.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.2274, allocations: 0 / 390.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/0.2283, allocations: 95.81 kB / 390.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008165/0.2291, allocations: 204.8 kB / 391 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.2292, allocations: 27.98 kB / 391 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.2343, allocations: 2.738 MB / 393.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2344, allocations: 3.938 kB / 393.7 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/0.2395, allocations: 1.926 MB / 395.7 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007497/0.2403, allocations: 275.8 kB / 395.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.2406, allocations: 23.98 kB / 396 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009866/0.2416, allocations: 87.92 kB / 396.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/0.2421, allocations: 148.8 kB / 396.2 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-05/0.2422, allocations: 24 kB / 396.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.2435, allocations: 0.5927 MB / 396.8 MB, free: 3.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2435, allocations: 0 / 396.8 MB, free: 3.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00231/0.2458, allocations: 0.6224 MB / 397.4 MB, free: 3.145 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (74): * Single equations (assignments): 64 * 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.0003537/0.2462, allocations: 172.5 kB / 397.6 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005661/0.2519, allocations: 2.127 MB / 399.7 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.252, allocations: 4.375 kB / 399.7 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.267/0.5189, allocations: 0.7986 MB / 400.5 MB, free: 50.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.5208, allocations: 186.5 kB / 400.7 MB, free: 50.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.5289, allocations: 3.016 MB / 403.7 MB, free: 49.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.5304, allocations: 1.407 MB / 405.1 MB, free: 48.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.531, allocations: 77.81 kB / 405.2 MB, free: 48.68 MB / 330.7 MB Notification: Performance of SimCode: time 2.204e-06/0.531, allocations: 0 / 405.2 MB, free: 48.68 MB / 330.7 MB Notification: Performance of Templates: time 0.04362/0.5746, allocations: 22.57 MB / 427.8 MB, free: 35.27 MB / 330.7 MB