Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 2.246/2.246, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.065e-05, allocations: 4 kB / 294.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 50.41 MB / 345 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV): time 0.007747/0.1218, allocations: 4.218 MB / 349.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.126, allocations: 1.403 MB / 350.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.127, allocations: 43.88 kB / 350.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.1278, allocations: 163 kB / 350.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.1293, allocations: 298.9 kB / 351.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1304, allocations: 227.7 kB / 351.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.1326, allocations: 0.7917 MB / 352.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.1344, allocations: 0.8279 MB / 353 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009959/0.1354, allocations: 406.8 kB / 353.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.1365, allocations: 494 kB / 353.8 MB, free: 32 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1369, allocations: 55.98 kB / 353.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.1372, allocations: 48 kB / 353.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.1376, allocations: 306.8 kB / 354.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.138, allocations: 112 kB / 354.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.141, allocations: 1.968 MB / 356.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1411, allocations: 0 / 356.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1411, allocations: 0 / 356.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.164e-05/0.1412, allocations: 0 / 356.3 MB, free: 13.55 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.005082/0.1463, allocations: 1.565 MB / 357.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1464, allocations: 12.03 kB / 357.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/0.147, allocations: 174 kB / 358.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.1498, allocations: 0.9499 MB / 359 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.1501, allocations: 110.7 kB / 359.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.1505, allocations: 139.9 kB / 359.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005483/0.156, allocations: 1.824 MB / 361.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/0.1561, allocations: 0 / 361.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.1564, allocations: 55.94 kB / 361.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.1565, allocations: 62.67 kB / 361.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005054/0.1615, allocations: 1.556 MB / 362.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.1759, allocations: 5.206 MB / 368 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.1789, allocations: 1.112 MB / 369.1 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.1791, allocations: 8.656 kB / 369.1 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001926/0.181, allocations: 0.6798 MB / 369.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 4.248e-06/0.181, allocations: 0 / 369.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=90): time 0.006926/0.188, allocations: 1.888 MB / 371.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.1882, allocations: 157.5 kB / 371.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.19, allocations: 0.7967 MB / 372.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/0.1903, allocations: 57.69 kB / 372.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/0.1911, allocations: 0.6148 MB / 373.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004766/0.1916, allocations: 268.3 kB / 373.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.1917, allocations: 20 kB / 373.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.1919, allocations: 366.7 kB / 373.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.1935, allocations: 482.3 kB / 374.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.1953, allocations: 0.7419 MB / 375.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.1969, allocations: 0.5182 MB / 375.6 MB, free: 9.703 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.197, allocations: 0 / 375.6 MB, free: 9.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00411/0.2011, allocations: 1.357 MB / 377 MB, free: 8.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001351/0.2025, allocations: 2.793 MB / 379.8 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.2026, allocations: 11.97 kB / 379.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000988/0.2036, allocations: 220.7 kB / 380 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.2049, allocations: 171.7 kB / 380.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/0.2106, allocations: 2.823 MB / 383 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.2121, allocations: 166.9 kB / 383.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.2124, allocations: 44 kB / 383.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2124, allocations: 4 kB / 383.2 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003789/0.2162, allocations: 1.266 MB / 384.5 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/0.2163, allocations: 8 kB / 384.5 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007709/0.217, allocations: 221 kB / 384.7 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.2183, allocations: 159.7 kB / 384.9 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.224, allocations: 2.865 MB / 387.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2252, allocations: 135.3 kB / 387.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.2254, allocations: 43.95 kB / 387.9 MB, free: 12.93 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 (117): * Single equations (assignments): 116 * 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.001483/0.2269, allocations: 0.5521 MB / 388.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.2272, allocations: 98.78 kB / 388.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.2276, allocations: 125.8 kB / 388.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.2277, allocations: 8 kB / 388.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2277, allocations: 4 kB / 388.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.2277, allocations: 3.984 kB / 388.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007849/0.2356, allocations: 2.721 MB / 391.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.2356, allocations: 0 / 391.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009628/0.2366, allocations: 100.6 kB / 391.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008207/0.2374, allocations: 204.9 kB / 391.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.2376, allocations: 27.92 kB / 391.7 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005316/0.2429, allocations: 2.795 MB / 394.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.243, allocations: 96 / 394.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.2484, allocations: 1.965 MB / 396.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008074/0.2493, allocations: 287.5 kB / 396.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.2496, allocations: 27.98 kB / 396.8 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.2507, allocations: 87.92 kB / 396.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/0.2513, allocations: 148.8 kB / 397 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/0.2514, allocations: 27.98 kB / 397.1 MB, free: 3.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001413/0.2528, allocations: 0.6082 MB / 397.7 MB, free: 2.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.2529, allocations: 3.938 kB / 397.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00264/0.2555, allocations: 0.6302 MB / 398.3 MB, free: 2.25 MB / 330.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_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 (78): * Single equations (assignments): 68 * 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.0004114/0.256, allocations: 168.3 kB / 398.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.2807/0.5367, allocations: 2.134 MB / 400.6 MB, free: 50.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/0.5368, allocations: 2.5 kB / 400.6 MB, free: 50.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.5394, allocations: 0.7855 MB / 401.4 MB, free: 50.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.5413, allocations: 190.6 kB / 401.6 MB, free: 50.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00836/0.5497, allocations: 3.168 MB / 404.7 MB, free: 49.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/0.5516, allocations: 1.428 MB / 406.2 MB, free: 48.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005878/0.5523, allocations: 71.34 kB / 406.2 MB, free: 48.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5523, allocations: 0 / 406.2 MB, free: 48.34 MB / 330.7 MB Notification: Performance of Templates: time 0.04699/0.5993, allocations: 23 MB / 429.2 MB, free: 33.67 MB / 330.7 MB