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.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.169e-05, allocations: 4 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08492/0.08498, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4198, allocations: 85.23 MB / 402.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4201, allocations: 76.58 kB / 402.2 MB, free: 2.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.118/0.5381, allocations: 32.1 MB / 434.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.698e-06/0.5381, allocations: 4 kB / 434.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001516/0.5383, allocations: 59.88 kB / 434.4 MB, free: 8.023 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004767/0.5431, allocations: 1.938 MB / 436.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5431, allocations: 12.03 kB / 436.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/0.5439, allocations: 229.3 kB / 436.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.5467, allocations: 1.217 MB / 437.8 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.5468, allocations: 156.4 kB / 437.9 MB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004021/0.5472, allocations: 196.8 kB / 438.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005462/0.5527, allocations: 2.521 MB / 440.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/0.5528, allocations: 0 / 440.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.5531, allocations: 93.31 kB / 440.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/0.5531, allocations: 56 kB / 440.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.5576, allocations: 1.847 MB / 442.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.5734, allocations: 7.521 MB / 450.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.5765, allocations: 2.308 MB / 452.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.5784, allocations: 0.9113 MB / 453.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.583e-05/0.5785, allocations: 16.7 kB / 453.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5785, allocations: 39.34 kB / 453.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 4.17e-06/0.5785, allocations: 0 / 453.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=97): time 0.006495/0.585, allocations: 2.942 MB / 456.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.5851, allocations: 68.19 kB / 456.4 MB, free: 3.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.5866, allocations: 0.7502 MB / 457.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.5867, allocations: 41.7 kB / 457.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007621/0.5875, allocations: 0.8333 MB / 458.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.5878, allocations: 323.3 kB / 458.4 MB, free: 1.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.5879, allocations: 20 kB / 458.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.5882, allocations: 349.9 kB / 458.7 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009833/0.5892, allocations: 477.8 kB / 459.2 MB, free: 384 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.5904, allocations: 0.6525 MB / 459.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.5915, allocations: 0.5474 MB / 460.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.147e-06/0.5915, allocations: 8 kB / 460.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003503/0.5951, allocations: 1.573 MB / 462 MB, free: 13.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.5951, allocations: 11.98 kB / 462 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.5951, allocations: 4 kB / 462 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.5967, allocations: 467 kB / 462.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/0.5976, allocations: 179.7 kB / 462.6 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.6095, allocations: 8.432 MB / 471.1 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008813/0.6104, allocations: 56.02 kB / 471.1 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.6105, allocations: 39.94 kB / 471.2 MB, free: 3.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002881/0.6108, allocations: 160.7 kB / 471.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.6111, allocations: 98.78 kB / 471.4 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.6143, allocations: 1.49 MB / 472.9 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.6144, allocations: 8 kB / 472.9 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.6144, allocations: 7.953 kB / 472.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.6144, allocations: 3.984 kB / 472.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008187/0.6226, allocations: 3.49 MB / 476.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.6227, allocations: 4 kB / 476.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/0.6235, allocations: 131.9 kB / 476.6 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.6249, allocations: 454.9 kB / 477 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.625, allocations: 19.98 kB / 477 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.6366, allocations: 8.35 MB / 485.4 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.6366, allocations: 8.031 kB / 485.4 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.6412, allocations: 2.269 MB / 487.6 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006928/0.642, allocations: 283.8 kB / 487.9 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.6422, allocations: 20 kB / 487.9 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.6428, allocations: 51.91 kB / 488 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.6431, allocations: 84.59 kB / 488.1 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/0.6432, allocations: 27.98 kB / 488.1 MB, free: 2.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.6443, allocations: 0.5928 MB / 488.7 MB, free: 1.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.083e-06/0.6443, allocations: 0 / 488.7 MB, free: 1.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001987/0.6463, allocations: 395.9 kB / 489.1 MB, free: 1.145 MB / 394.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 (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003935/0.6468, allocations: 163.2 kB / 489.2 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.6502, allocations: 1.788 MB / 491 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.073e-06/0.6502, allocations: 0 / 491 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.6525, allocations: 1.236 MB / 492.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.6541, allocations: 271 kB / 492.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.661, allocations: 2.878 MB / 495.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.6631, allocations: 1.753 MB / 497.2 MB, free: 8.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008003/0.6639, allocations: 180.7 kB / 497.3 MB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.6642, allocations: 63.42 kB / 497.4 MB, free: 8.621 MB / 410.7 MB Notification: Performance of SimCode: time 1.672e-06/0.6642, allocations: 0 / 497.4 MB, free: 8.621 MB / 410.7 MB Notification: Performance of Templates: time 0.04914/0.7133, allocations: 18.9 MB / 0.5042 GB, free: 5.781 MB / 426.7 MB