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_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.598e-05/5.558e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.00487/0.2994, allocations: 2.993 MB / 306.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.302, allocations: 0.9045 MB / 307.2 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.3025, allocations: 23.94 kB / 307.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.3028, allocations: 107.3 kB / 307.3 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008647/0.3037, allocations: 211.3 kB / 307.5 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.304, allocations: 87.83 kB / 307.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3051, allocations: 0.5728 MB / 308.2 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000747/0.3059, allocations: 404.8 kB / 308.6 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005183/0.3064, allocations: 315.2 kB / 308.9 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008245/0.3072, allocations: 426.6 kB / 309.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.3075, allocations: 44 kB / 309.4 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.3076, allocations: 40 kB / 309.4 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.308, allocations: 251.2 kB / 309.7 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.3083, allocations: 100 kB / 309.8 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.3101, allocations: 1.289 MB / 311 MB, free: 5.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3101, allocations: 0 / 311 MB, free: 5.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.3101, allocations: 4 kB / 311 MB, free: 5.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.158e-05/0.3101, allocations: 0 / 311 MB, free: 5.852 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.003296/0.3135, allocations: 1.174 MB / 312.2 MB, free: 4.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.3135, allocations: 8.031 kB / 312.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.3139, allocations: 118.6 kB / 312.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.3156, allocations: 0.6818 MB / 313 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.3157, allocations: 66 kB / 313.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.3159, allocations: 87.98 kB / 313.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.3192, allocations: 1.227 MB / 314.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.3192, allocations: 4 kB / 314.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.3194, allocations: 32 kB / 314.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.3194, allocations: 28 kB / 314.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.3226, allocations: 1.112 MB / 315.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009219/0.3319, allocations: 3.798 MB / 319.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.335, allocations: 1.987 MB / 321.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.949e-05/0.3351, allocations: 8.656 kB / 321.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.3351, allocations: 43.17 kB / 321.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.947e-06/0.3352, allocations: 0 / 321.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.01078/0.3459, allocations: 3.349 MB / 324.8 MB, free: 7.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.346, allocations: 64 kB / 324.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3473, allocations: 0.6154 MB / 325.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.3474, allocations: 37.7 kB / 325.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.3478, allocations: 412 kB / 325.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.3481, allocations: 236.6 kB / 326.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.3482, allocations: 16 kB / 326.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3484, allocations: 378.8 kB / 326.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3494, allocations: 365 kB / 326.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3505, allocations: 425.4 kB / 327.3 MB, free: 4.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3516, allocations: 395 kB / 327.7 MB, free: 4.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3516, allocations: 3.953 kB / 327.7 MB, free: 4.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003346/0.3549, allocations: 1.214 MB / 328.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.355, allocations: 4 kB / 328.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.355, allocations: 0 / 328.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.3569, allocations: 462.9 kB / 329.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.3577, allocations: 95.88 kB / 329.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.3709, allocations: 8.6 MB / 338 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.3717, allocations: 35.97 kB / 338.1 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.3718, allocations: 16 kB / 338.1 MB, free: 9.621 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.0008581/0.3727, allocations: 401.6 kB / 338.5 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.3729, allocations: 79.16 kB / 338.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.3732, allocations: 102.8 kB / 338.6 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3732, allocations: 7.953 kB / 338.6 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.3732, allocations: 7.984 kB / 338.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3732, allocations: 0 / 338.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006681/0.3799, allocations: 2.519 MB / 341.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.38, allocations: 64 / 341.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/0.3807, allocations: 91.88 kB / 341.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.3825, allocations: 455.1 kB / 341.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.3826, allocations: 27.92 kB / 341.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.3956, allocations: 8.51 MB / 350.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3957, allocations: 4.062 kB / 350.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/0.4005, allocations: 1.888 MB / 352.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006001/0.4011, allocations: 232.1 kB / 352.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4013, allocations: 23.98 kB / 352.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.4019, allocations: 35.92 kB / 352.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.4023, allocations: 80.39 kB / 352.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.4023, allocations: 24.48 kB / 352.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009864/0.4033, allocations: 0.4909 MB / 353 MB, free: 9.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4033, allocations: 0 / 353 MB, free: 9.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001401/0.4048, allocations: 248 kB / 353.3 MB, free: 9.723 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.000216/0.405, allocations: 120.6 kB / 353.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003502/0.4085, allocations: 1.475 MB / 354.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4085, allocations: 0 / 354.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.4109, allocations: 1.099 MB / 356 MB, free: 6.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.4124, allocations: 203 kB / 356.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.4181, allocations: 2.609 MB / 358.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.4193, allocations: 1.255 MB / 360 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005843/0.4199, allocations: 130.4 kB / 360.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.4201, allocations: 43.44 kB / 360.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4201, allocations: 0 / 360.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of Templates: time 0.04096/0.4611, allocations: 14.93 MB / 375.1 MB, free: 3.715 MB / 314.7 MB