Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.734e-05, allocations: 4 kB / 292.2 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09255, allocations: 50.41 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4694, allocations: 91.64 MB / 434.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4697, allocations: 85.02 kB / 434.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1141/0.5838, allocations: 30.27 MB / 464.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.787e-06/0.5838, allocations: 0 / 464.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001115/0.584, allocations: 32 kB / 464.6 MB, free: 8.91 MB / 378.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.004009/0.588, allocations: 1.573 MB / 466.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.588, allocations: 8.031 kB / 466.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005252/0.5886, allocations: 162.1 kB / 466.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/0.5944, allocations: 1.652 MB / 468 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.5946, allocations: 118.5 kB / 468.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002942/0.5949, allocations: 132 kB / 468.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/0.599, allocations: 1.709 MB / 469.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.599, allocations: 0 / 469.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.5993, allocations: 52 kB / 470 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.5994, allocations: 62.58 kB / 470 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.6028, allocations: 1.368 MB / 471.4 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.6147, allocations: 5.086 MB / 476.5 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.6171, allocations: 1.012 MB / 477.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.6185, allocations: 0.5813 MB / 478.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.729e-05/0.6186, allocations: 18.64 kB / 478.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.6199, allocations: 0.6097 MB / 478.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 4.389e-06/0.6199, allocations: 0 / 478.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.002425/0.6223, allocations: 1.019 MB / 479.7 MB, free: 9.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.6225, allocations: 171 kB / 479.9 MB, free: 9.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.6242, allocations: 0.7968 MB / 480.7 MB, free: 8.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.6244, allocations: 61.72 kB / 480.8 MB, free: 8.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006917/0.6251, allocations: 0.6069 MB / 481.4 MB, free: 7.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.6254, allocations: 244.7 kB / 481.6 MB, free: 7.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.6255, allocations: 20 kB / 481.6 MB, free: 7.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.6258, allocations: 354.8 kB / 482 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/0.6267, allocations: 429.8 kB / 482.4 MB, free: 6.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6279, allocations: 0.6601 MB / 483.1 MB, free: 5.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.6289, allocations: 465.7 kB / 483.5 MB, free: 5.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.6289, allocations: 4 kB / 483.5 MB, free: 5.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002667/0.6316, allocations: 1.196 MB / 484.7 MB, free: 4.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001447/0.6331, allocations: 2.533 MB / 487.2 MB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.6331, allocations: 8 kB / 487.2 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008568/0.634, allocations: 220.7 kB / 487.5 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008682/0.6349, allocations: 155.7 kB / 487.6 MB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.6396, allocations: 2.799 MB / 490.4 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.6408, allocations: 155.3 kB / 490.6 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.641, allocations: 39.98 kB / 490.6 MB, free: 14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.641, allocations: 5.25 kB / 490.6 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002529/0.6435, allocations: 1.136 MB / 491.7 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6436, allocations: 11.94 kB / 491.8 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/0.6443, allocations: 224.8 kB / 492 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.645, allocations: 147.7 kB / 492.1 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/0.6499, allocations: 2.814 MB / 494.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.6508, allocations: 131.4 kB / 495.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6509, allocations: 32 kB / 495.1 MB, free: 9.371 MB / 410.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_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 (108): * Single equations (assignments): 107 * 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.0003859/0.6513, allocations: 204.9 kB / 495.3 MB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/0.6516, allocations: 106.7 kB / 495.4 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.652, allocations: 117.3 kB / 495.5 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.652, allocations: 12 kB / 495.5 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.427e-06/0.652, allocations: 0 / 495.5 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.652, allocations: 3.984 kB / 495.5 MB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005945/0.658, allocations: 2.654 MB / 498.2 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.378e-06/0.6581, allocations: 4.031 kB / 498.2 MB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.6586, allocations: 87.81 kB / 498.3 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006891/0.6593, allocations: 204.8 kB / 498.5 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-05/0.6594, allocations: 19.98 kB / 498.5 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0043/0.6637, allocations: 2.652 MB / 0.4894 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.192e-06/0.6638, allocations: 3.938 kB / 0.4894 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.6674, allocations: 1.732 MB / 0.4911 GB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/0.6681, allocations: 271.8 kB / 0.4914 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.6683, allocations: 27.98 kB / 0.4914 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.669, allocations: 87.91 kB / 0.4915 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004126/0.6695, allocations: 140.6 kB / 0.4916 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/0.6696, allocations: 23.94 kB / 0.4916 GB, free: 0.793 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001194/0.6708, allocations: 0.6084 MB / 0.4922 GB, free: 184 kB / 410.7 MB Notification: Performance of sort global known variables: time 9.23e-07/0.6708, allocations: 4 kB / 0.4922 GB, free: 180 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.002081/0.6729, allocations: 0.5916 MB / 0.4928 GB, free: 15.58 MB / 426.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_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 (72): * Single equations (assignments): 62 * 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.0003206/0.6732, allocations: 180.1 kB / 0.493 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003913/0.6772, allocations: 1.906 MB / 0.4948 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.967e-06/0.6772, allocations: 2.125 kB / 0.4948 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.6786, allocations: 0.6916 MB / 0.4955 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6798, allocations: 191.3 kB / 0.4957 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.6846, allocations: 1.988 MB / 0.4976 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.6862, allocations: 1.412 MB / 0.499 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.6866, allocations: 71.42 kB / 0.4991 GB, free: 9.047 MB / 426.7 MB Notification: Performance of SimCode: time 4.198e-06/0.6866, allocations: 0 / 0.4991 GB, free: 9.047 MB / 426.7 MB Notification: Performance of Templates: time 0.03966/0.7263, allocations: 22.35 MB / 0.5209 GB, free: 2.734 MB / 442.7 MB