Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.369e-05/4.389e-05, allocations: 2.812 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09592, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4634, allocations: 85.34 MB / 427.9 MB, free: 8.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4638, allocations: 88.06 kB / 428 MB, free: 8.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08417/0.548, allocations: 21.58 MB / 449.6 MB, free: 6.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.473e-06/0.548, allocations: 0 / 449.6 MB, free: 6.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001131/0.5481, allocations: 39.92 kB / 449.6 MB, free: 6.543 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003754/0.5519, allocations: 1.383 MB / 451 MB, free: 5.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.552, allocations: 8.031 kB / 451 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.5525, allocations: 150.2 kB / 451.2 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.5549, allocations: 0.9471 MB / 452.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.555, allocations: 78.5 kB / 452.2 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.5553, allocations: 107.3 kB / 452.3 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.5584, allocations: 1.462 MB / 453.7 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.5585, allocations: 0 / 453.7 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.5587, allocations: 54.81 kB / 453.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-05/0.5588, allocations: 42.05 kB / 453.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/0.5616, allocations: 1.267 MB / 455.1 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.5723, allocations: 4.992 MB / 460.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.5746, allocations: 1.406 MB / 461.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.5762, allocations: 0.6922 MB / 462.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.5763, allocations: 8.562 kB / 462.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.5775, allocations: 0.5775 MB / 462.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 4.318e-06/0.5775, allocations: 3.938 kB / 462.8 MB, free: 10.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.00289/0.5804, allocations: 1.176 MB / 464 MB, free: 9.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.5806, allocations: 89.89 kB / 464 MB, free: 8.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.5823, allocations: 0.8322 MB / 464.9 MB, free: 8.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.5825, allocations: 41.7 kB / 464.9 MB, free: 8.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/0.5831, allocations: 0.5177 MB / 465.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/0.5835, allocations: 232.6 kB / 465.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.5836, allocations: 16 kB / 465.7 MB, free: 7.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.5838, allocations: 342.8 kB / 466 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.5846, allocations: 373.4 kB / 466.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/0.5856, allocations: 0.5089 MB / 466.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.5865, allocations: 411 kB / 467.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.461e-06/0.5865, allocations: 4 kB / 467.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002639/0.5892, allocations: 1.137 MB / 468.4 MB, free: 4.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.5892, allocations: 11.94 kB / 468.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5892, allocations: 4 kB / 468.4 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.5906, allocations: 395.2 kB / 468.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.5913, allocations: 115.8 kB / 468.9 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/0.5989, allocations: 4.121 MB / 473.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000917/0.5999, allocations: 87.42 kB / 473.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/0.6, allocations: 27.98 kB / 473.2 MB, free: 15.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.6003, allocations: 154.6 kB / 473.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.6005, allocations: 90.88 kB / 473.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.6009, allocations: 124.5 kB / 473.5 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.6009, allocations: 8 kB / 473.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-06/0.6009, allocations: 0 / 473.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.6009, allocations: 3.984 kB / 473.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/0.6065, allocations: 2.537 MB / 476.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.99e-06/0.6065, allocations: 0 / 476.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.6072, allocations: 99.83 kB / 476.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.6085, allocations: 384.5 kB / 476.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.6086, allocations: 15.98 kB / 476.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/0.616, allocations: 4.086 MB / 480.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.101e-06/0.616, allocations: 0 / 480.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/0.62, allocations: 1.857 MB / 482.5 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008039/0.6208, allocations: 283.8 kB / 482.8 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.621, allocations: 12 kB / 482.8 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.6217, allocations: 55.94 kB / 482.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.622, allocations: 80.56 kB / 482.9 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/0.6221, allocations: 19.98 kB / 483 MB, free: 5.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001291/0.6234, allocations: 0.6553 MB / 483.6 MB, free: 4.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.6234, allocations: 0 / 483.6 MB, free: 4.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001519/0.625, allocations: 354.9 kB / 484 MB, free: 4.562 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002944/0.6253, allocations: 127.1 kB / 484.1 MB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.628, allocations: 1.181 MB / 485.3 MB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.338e-06/0.628, allocations: 0 / 485.3 MB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.6297, allocations: 0.7419 MB / 486 MB, free: 2.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.6312, allocations: 230.5 kB / 486.2 MB, free: 2.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.6364, allocations: 1.921 MB / 488.2 MB, free: 308 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.638, allocations: 1.381 MB / 489.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.6384, allocations: 63.42 kB / 489.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.799e-06/0.6385, allocations: 0 / 489.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of Templates: time 0.03756/0.676, allocations: 20.99 MB / 0.4986 GB, free: 9.91 MB / 426.7 MB