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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.865e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.007298/0.1157, allocations: 4.137 MB / 349.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.1198, allocations: 1.372 MB / 350.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008663/0.1207, allocations: 47.81 kB / 350.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.1215, allocations: 167 kB / 350.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.1229, allocations: 287 kB / 351 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.1239, allocations: 231.6 kB / 351.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.126, allocations: 0.78 MB / 352 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.1276, allocations: 0.8199 MB / 352.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009245/0.1286, allocations: 402.8 kB / 353.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009619/0.1296, allocations: 482.2 kB / 353.7 MB, free: 220 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.1299, allocations: 48 kB / 353.7 MB, free: 172 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.1301, allocations: 48 kB / 353.8 MB, free: 124 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.1305, allocations: 306.8 kB / 354.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.1308, allocations: 108 kB / 354.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.1337, allocations: 1.948 MB / 356.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1337, allocations: 3.938 kB / 356.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1338, allocations: 7.938 kB / 356.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.866e-05/0.1339, allocations: 0 / 356.1 MB, free: 13.75 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004941/0.1388, allocations: 1.548 MB / 357.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1389, allocations: 12.03 kB / 357.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006402/0.1395, allocations: 162 kB / 357.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.1421, allocations: 0.946 MB / 358.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.1423, allocations: 106.6 kB / 358.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/0.1427, allocations: 143.9 kB / 359.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/0.1481, allocations: 1.804 MB / 360.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.499e-05/0.1482, allocations: 7.984 kB / 360.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.1484, allocations: 55.95 kB / 360.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.1485, allocations: 54.62 kB / 361 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005199/0.1537, allocations: 1.548 MB / 362.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.1678, allocations: 5.155 MB / 367.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.1707, allocations: 1.111 MB / 368.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.269e-05/0.1709, allocations: 9.531 kB / 368.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/0.1727, allocations: 0.672 MB / 369.5 MB, free: 100 kB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 4.208e-06/0.1728, allocations: 4 kB / 369.5 MB, free: 96 kB / 298.7 MB Notification: Performance of matching and sorting (n=89): time 0.006647/0.1794, allocations: 1.876 MB / 371.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.1796, allocations: 153.5 kB / 371.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.1814, allocations: 0.781 MB / 372.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.1817, allocations: 61.69 kB / 372.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/0.1824, allocations: 0.6108 MB / 373 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.1828, allocations: 272.2 kB / 373.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.1829, allocations: 20 kB / 373.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1831, allocations: 354.8 kB / 373.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.1846, allocations: 486.3 kB / 374.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.1863, allocations: 0.7341 MB / 374.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.1879, allocations: 0.5221 MB / 375.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.1879, allocations: 3.953 kB / 375.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003811/0.1917, allocations: 1.341 MB / 376.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001213/0.193, allocations: 2.797 MB / 379.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.1931, allocations: 8 kB / 379.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000936/0.194, allocations: 224.8 kB / 379.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.1953, allocations: 171.7 kB / 379.9 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.201, allocations: 2.834 MB / 382.7 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2024, allocations: 151.1 kB / 382.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.2026, allocations: 40 kB / 382.9 MB, free: 2.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2026, allocations: 8 kB / 382.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003621/0.2063, allocations: 1.258 MB / 384.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.2063, allocations: 12.12 kB / 384.2 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.2071, allocations: 212.8 kB / 384.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.2083, allocations: 167.6 kB / 384.5 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005212/0.2135, allocations: 2.866 MB / 387.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.2146, allocations: 135.2 kB / 387.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.2147, allocations: 40 kB / 387.6 MB, free: 13.3 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 (116): * Single equations (assignments): 115 * 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.00138/0.2161, allocations: 0.552 MB / 388.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.2165, allocations: 94.88 kB / 388.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.2168, allocations: 117.7 kB / 388.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.2168, allocations: 12.08 kB / 388.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2169, allocations: 0 / 388.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.2169, allocations: 11.98 kB / 388.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.224, allocations: 2.698 MB / 391 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.224, allocations: 0 / 391 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000893/0.2249, allocations: 99.81 kB / 391.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007603/0.2257, allocations: 208.8 kB / 391.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/0.2258, allocations: 15.98 kB / 391.4 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/0.231, allocations: 2.811 MB / 394.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2311, allocations: 0 / 394.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005266/0.2364, allocations: 1.942 MB / 396.1 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/0.2372, allocations: 279.8 kB / 396.4 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.2375, allocations: 27.98 kB / 396.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.2386, allocations: 95.88 kB / 396.5 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005474/0.2392, allocations: 144.8 kB / 396.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.2393, allocations: 24 kB / 396.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00138/0.2407, allocations: 0.6004 MB / 397.3 MB, free: 3.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2408, allocations: 0 / 397.3 MB, free: 3.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002595/0.2434, allocations: 0.6224 MB / 397.9 MB, free: 2.695 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[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 67 * 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.0003853/0.2438, allocations: 172.5 kB / 398.1 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005999/0.2498, allocations: 2.138 MB / 400.2 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.2499, allocations: 448 / 400.2 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2726/0.5224, allocations: 0.7779 MB / 401 MB, free: 50.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.5242, allocations: 195.3 kB / 401.2 MB, free: 50.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007861/0.5321, allocations: 3.136 MB / 404.3 MB, free: 49.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.5337, allocations: 1.416 MB / 405.7 MB, free: 48.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.5342, allocations: 71.33 kB / 405.8 MB, free: 48.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5342, allocations: 0 / 405.8 MB, free: 48.42 MB / 330.7 MB Notification: Performance of Templates: time 0.04549/0.5797, allocations: 22.79 MB / 428.6 MB, free: 34.38 MB / 330.7 MB