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 2.227/2.227, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.743e-05, allocations: 0 / 258.8 MB, free: 8.719 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.34, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005092/0.3451, allocations: 2.994 MB / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.3484, allocations: 0.9057 MB / 307.2 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.349, allocations: 18.28 kB / 307.2 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.3495, allocations: 110.5 kB / 307.3 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009806/0.3505, allocations: 204.7 kB / 307.5 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3508, allocations: 88.25 kB / 307.6 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.352, allocations: 0.5726 MB / 308.2 MB, free: 8.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.3528, allocations: 404.8 kB / 308.6 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006123/0.3534, allocations: 323.1 kB / 308.9 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008683/0.3543, allocations: 422.7 kB / 309.3 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.3545, allocations: 44 kB / 309.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.3547, allocations: 44 kB / 309.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.355, allocations: 251.2 kB / 309.6 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.3554, allocations: 100 kB / 309.7 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.3572, allocations: 1.287 MB / 311 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3572, allocations: 0 / 311 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3572, allocations: 0 / 311 MB, free: 5.965 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.3572, allocations: 4 kB / 311 MB, free: 5.961 MB / 250.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.003234/0.3605, allocations: 1.17 MB / 312.2 MB, free: 4.738 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.3605, allocations: 8.031 kB / 312.2 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.3609, allocations: 122.6 kB / 312.3 MB, free: 4.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3626, allocations: 0.6818 MB / 313 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.3627, allocations: 66 kB / 313.1 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.363, allocations: 84 kB / 313.1 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.3663, allocations: 1.235 MB / 314.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3664, allocations: 0 / 314.4 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.3666, allocations: 39.98 kB / 314.4 MB, free: 2.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.3666, allocations: 20 kB / 314.4 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.3701, allocations: 1.112 MB / 315.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.3802, allocations: 3.802 MB / 319.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.3835, allocations: 1.983 MB / 321.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.43e-05/0.3836, allocations: 12.64 kB / 321.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.3837, allocations: 47.11 kB / 321.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.867e-06/0.3837, allocations: 0 / 321.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.01156/0.3953, allocations: 3.353 MB / 324.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.3954, allocations: 56.06 kB / 324.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.3969, allocations: 0.6155 MB / 325.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.3971, allocations: 37.7 kB / 325.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.3977, allocations: 422.5 kB / 325.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.3981, allocations: 236.5 kB / 326.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.3982, allocations: 20 kB / 326.1 MB, free: 6.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3984, allocations: 338.8 kB / 326.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.3999, allocations: 361 kB / 326.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.4014, allocations: 433.4 kB / 327.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.4029, allocations: 391 kB / 327.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.4029, allocations: 0 / 327.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0048/0.4077, allocations: 1.168 MB / 328.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.4078, allocations: 7.953 kB / 328.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4078, allocations: 0 / 328.8 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/0.4106, allocations: 463 kB / 329.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4118, allocations: 91.88 kB / 329.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.4308, allocations: 8.6 MB / 337.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.4318, allocations: 36.56 kB / 338 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/0.432, allocations: 20 kB / 338 MB, free: 9.801 MB / 282.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.001116/0.4331, allocations: 393.6 kB / 338.4 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.4334, allocations: 71.16 kB / 338.4 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.4338, allocations: 110.7 kB / 338.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.4338, allocations: 12 kB / 338.5 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.4339, allocations: 11.89 kB / 338.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.4339, allocations: 3.984 kB / 338.6 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009641/0.4435, allocations: 2.511 MB / 341.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4436, allocations: 7.953 kB / 341.1 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009672/0.4446, allocations: 83.95 kB / 341.2 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.447, allocations: 458.9 kB / 341.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.4471, allocations: 19.98 kB / 341.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.4661, allocations: 8.518 MB / 350.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4661, allocations: 4.156 kB / 350.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006933/0.4731, allocations: 1.881 MB / 352 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009496/0.4741, allocations: 240.1 kB / 352.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.4744, allocations: 16 kB / 352.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.4754, allocations: 35.97 kB / 352.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/0.4758, allocations: 80.33 kB / 352.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.4759, allocations: 20.5 kB / 352.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001494/0.4774, allocations: 0.4987 MB / 352.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4775, allocations: 0 / 352.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002568/0.4801, allocations: 248 kB / 353.2 MB, free: 9.906 MB / 298.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.0002979/0.4804, allocations: 120.6 kB / 353.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.4845, allocations: 1.475 MB / 354.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.4846, allocations: 3.938 kB / 354.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002969/0.4876, allocations: 1.099 MB / 355.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.4893, allocations: 194.8 kB / 356 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006427/0.4958, allocations: 2.624 MB / 358.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.4972, allocations: 1.236 MB / 359.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.4975, allocations: 43.44 kB / 359.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of SimCode: time 1.984e-06/0.4975, allocations: 0 / 359.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of Templates: time 0.05842/0.556, allocations: 29.74 MB / 389.7 MB, free: 5.18 MB / 330.7 MB