Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.399e-05, allocations: 7.984 kB / 292.2 MB, free: 8.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09406, allocations: 50.41 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.4532, allocations: 82 MB / 424.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4535, allocations: 83.12 kB / 424.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02573/0.4793, allocations: 6.422 MB / 431.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.563e-06/0.4793, allocations: 0 / 431.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.4793, allocations: 8 kB / 431.1 MB, free: 6.578 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001179/0.4805, allocations: 0.6137 MB / 431.7 MB, free: 5.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4806, allocations: 8.031 kB / 431.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.4807, allocations: 47.44 kB / 431.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.4813, allocations: 336.1 kB / 432.1 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4814, allocations: 28.28 kB / 432.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.4815, allocations: 36.09 kB / 432.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.4823, allocations: 377.7 kB / 432.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4823, allocations: 0 / 432.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.4824, allocations: 19.42 kB / 432.5 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.4824, allocations: 8 kB / 432.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.483, allocations: 227.9 kB / 432.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.4859, allocations: 1.499 MB / 434.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.4864, allocations: 227.5 kB / 434.5 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.4868, allocations: 151.2 kB / 434.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.4869, allocations: 7.594 kB / 434.6 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.4874, allocations: 216 kB / 434.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.829e-06/0.4874, allocations: 0 / 434.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.000905/0.4883, allocations: 318.9 kB / 435.2 MB, free: 3.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.4884, allocations: 114.8 kB / 435.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.4888, allocations: 256.8 kB / 435.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.4889, allocations: 40.38 kB / 435.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.4891, allocations: 258.8 kB / 435.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4892, allocations: 98.52 kB / 435.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.4893, allocations: 3.438 kB / 435.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4895, allocations: 330.1 kB / 436.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.4897, allocations: 82.08 kB / 436.3 MB, free: 2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.49, allocations: 198.3 kB / 436.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.4903, allocations: 102.8 kB / 436.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.923e-06/0.4903, allocations: 0 / 436.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008741/0.4912, allocations: 359.8 kB / 437 MB, free: 1.441 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.4912, allocations: 7.953 kB / 437 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4913, allocations: 7.938 kB / 437 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.4917, allocations: 82 kB / 437.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.492, allocations: 55.91 kB / 437.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.4945, allocations: 1.79 MB / 438.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.4949, allocations: 42.42 kB / 438.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.495, allocations: 15.25 kB / 439 MB, free: 15.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.4951, allocations: 128 kB / 439.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.4952, allocations: 31.62 kB / 439.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.4954, allocations: 42.91 kB / 439.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.718e-06/0.4954, allocations: 4 kB / 439.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4954, allocations: 0 / 439.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4954, allocations: 7.984 kB / 439.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.4963, allocations: 0.563 MB / 439.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4963, allocations: 0 / 439.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.4966, allocations: 35.91 kB / 439.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.4969, allocations: 79.67 kB / 439.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.497, allocations: 9.797 kB / 439.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/0.4994, allocations: 1.797 MB / 441.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.88e-06/0.4994, allocations: 0 / 441.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.5006, allocations: 494.9 kB / 442.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.5008, allocations: 135.5 kB / 442.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.5009, allocations: 10.7 kB / 442.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.5012, allocations: 19.17 kB / 442.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.5013, allocations: 23.09 kB / 442.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.5013, allocations: 15.11 kB / 442.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002969/0.5016, allocations: 202.2 kB / 442.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.5017, allocations: 0 / 442.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00075/0.5024, allocations: 119.2 kB / 442.6 MB, free: 12.2 MB / 362.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.5026, allocations: 117.6 kB / 442.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.5035, allocations: 374.7 kB / 443.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.779e-06/0.5035, allocations: 0 / 443.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.504, allocations: 269.5 kB / 443.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.5044, allocations: 55.89 kB / 443.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.5058, allocations: 0.5085 MB / 444 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.5063, allocations: 0.8148 MB / 444.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.5065, allocations: 31.36 kB / 444.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.447e-06/0.5065, allocations: 0 / 444.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.011/0.5175, allocations: 5.707 MB / 450.5 MB, free: 4.531 MB / 362.7 MB