Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 195 MB / 203.2 MB, free: 6.758 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.745e-05, allocations: 3.172 kB / 249.6 MB, free: 5.523 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07928/0.07932, allocations: 44.5 MB / 294.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.326/0.4053, allocations: 75.51 MB / 369.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.4056, allocations: 69.17 kB / 369.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0557/0.4613, allocations: 16.21 MB / 385.9 MB, free: 23.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.242e-06/0.4614, allocations: 0 / 385.9 MB, free: 23.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.393e-05/0.4614, allocations: 23.5 kB / 385.9 MB, free: 23.2 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002346/0.4638, allocations: 1.157 MB / 387.1 MB, free: 22.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4639, allocations: 11.72 kB / 387.1 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.4642, allocations: 124.4 kB / 387.2 MB, free: 22.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.4656, allocations: 0.7137 MB / 387.9 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.4656, allocations: 27.28 kB / 388 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.4658, allocations: 54.44 kB / 388 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001951/0.4678, allocations: 0.9536 MB / 389 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.4698, allocations: 1.059 MB / 390 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.4699, allocations: 0 / 390 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.47, allocations: 0 / 390 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.47, allocations: 23.25 kB / 390 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00649/0.4765, allocations: 3.607 MB / 393.6 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.4787, allocations: 1.907 MB / 395.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.4797, allocations: 0.6404 MB / 396.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.4798, allocations: 8.531 kB / 396.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.4799, allocations: 35.16 kB / 396.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.174e-06/0.4799, allocations: 3.875 kB / 396.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00395/0.4839, allocations: 2.077 MB / 398.3 MB, free: 17.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.484, allocations: 59.94 kB / 398.4 MB, free: 17.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.4849, allocations: 0.562 MB / 398.9 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.754e-05/0.485, allocations: 25.7 kB / 399 MB, free: 17.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.4853, allocations: 432.8 kB / 399.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.4855, allocations: 230.4 kB / 399.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.4855, allocations: 0 / 399.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4857, allocations: 338 kB / 399.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.4863, allocations: 325.1 kB / 400.3 MB, free: 16.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.4869, allocations: 385 kB / 400.6 MB, free: 16.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.4874, allocations: 374.9 kB / 401 MB, free: 16.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4875, allocations: 0 / 401 MB, free: 16.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001973/0.4894, allocations: 1.061 MB / 402.1 MB, free: 16.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4895, allocations: 4.969 kB / 402.1 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.4895, allocations: 0 / 402.1 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4908, allocations: 451.9 kB / 402.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.4913, allocations: 93.12 kB / 402.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.5014, allocations: 8.164 MB / 410.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/0.5021, allocations: 19.34 kB / 410.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.5022, allocations: 22.7 kB / 410.8 MB, free: 10.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.5025, allocations: 120 kB / 410.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.5026, allocations: 73.5 kB / 411 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.5029, allocations: 92.75 kB / 411.1 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.613e-06/0.5029, allocations: 11.83 kB / 411.1 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.413e-06/0.5029, allocations: 0 / 411.1 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5029, allocations: 3.984 kB / 411.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/0.5072, allocations: 2.268 MB / 413.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.951e-06/0.5073, allocations: 0 / 413.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.5077, allocations: 92.02 kB / 413.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.509, allocations: 448.3 kB / 413.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.5091, allocations: 2.438 kB / 413.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.5199, allocations: 8.103 MB / 422 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.52, allocations: 0 / 422 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.5235, allocations: 1.732 MB / 423.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00057/0.5241, allocations: 236.1 kB / 424 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5242, allocations: 4 kB / 424 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.5247, allocations: 27.97 kB / 424 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.525, allocations: 72.48 kB / 424.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.5251, allocations: 23.97 kB / 424.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000804/0.5259, allocations: 450.8 kB / 424.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.5259, allocations: 0 / 424.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001534/0.5275, allocations: 224 kB / 424.8 MB, free: 14.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.5277, allocations: 123 kB / 424.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.5304, allocations: 1.357 MB / 426.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.677e-06/0.5304, allocations: 0 / 426.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.5323, allocations: 1.023 MB / 427.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.5335, allocations: 162.2 kB / 427.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.5379, allocations: 1.779 MB / 429.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.5392, allocations: 1.24 MB / 430.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.5395, allocations: 47.42 kB / 430.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of SimCode: time 1.765e-06/0.5395, allocations: 0 / 430.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of Templates: time 0.05339/0.5929, allocations: 29.32 MB / 459.8 MB, free: 11.68 MB / 362.7 MB