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.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.751/1.751, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.137e-05, allocations: 3.984 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2451, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3565, allocations: 70.88 MB / 334.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.3568, allocations: 71.91 kB / 334.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06393/0.4207, allocations: 16.04 MB / 350.8 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.4208, allocations: 0 / 350.8 MB, free: 2.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.954e-05/0.4209, allocations: 27.94 kB / 350.8 MB, free: 2.594 MB / 298.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.002517/0.4234, allocations: 1.161 MB / 352 MB, free: 1.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4235, allocations: 8.031 kB / 352 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.4238, allocations: 118.6 kB / 352.1 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.4253, allocations: 0.7167 MB / 352.8 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.4254, allocations: 65.95 kB / 352.9 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.4256, allocations: 84 kB / 352.9 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.4281, allocations: 1.166 MB / 354.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.4282, allocations: 0 / 354.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.4283, allocations: 36 kB / 354.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.4284, allocations: 24 kB / 354.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.4306, allocations: 1.003 MB / 355.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007655/0.4383, allocations: 3.775 MB / 358.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.4408, allocations: 1.942 MB / 360.9 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.442, allocations: 0.6226 MB / 361.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.4421, allocations: 8.781 kB / 361.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.4421, allocations: 39.34 kB / 361.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 6.356e-06/0.4421, allocations: 0 / 361.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.004965/0.4471, allocations: 2.219 MB / 363.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.4472, allocations: 60.19 kB / 363.8 MB, free: 5.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.4484, allocations: 0.6205 MB / 364.5 MB, free: 4.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/0.4485, allocations: 45.7 kB / 364.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.4489, allocations: 408 kB / 364.9 MB, free: 3.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.4492, allocations: 240.5 kB / 365.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.4492, allocations: 12 kB / 365.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.4495, allocations: 378.8 kB / 365.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.4502, allocations: 341.4 kB / 365.8 MB, free: 2.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.451, allocations: 397.4 kB / 366.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.4517, allocations: 373.9 kB / 366.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.275e-06/0.4517, allocations: 0 / 366.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002529/0.4543, allocations: 1.17 MB / 367.8 MB, free: 1.012 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4543, allocations: 4 kB / 367.8 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.922e-06/0.4543, allocations: 0 / 367.8 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.4558, allocations: 459 kB / 368.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.4564, allocations: 95.88 kB / 368.3 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2537/0.7101, allocations: 8.449 MB / 376.8 MB, free: 82.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.7108, allocations: 35.75 kB / 376.8 MB, free: 82.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.7109, allocations: 21.44 kB / 376.8 MB, free: 82.12 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.0001749/0.711, allocations: 138.9 kB / 377 MB, free: 82.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.7112, allocations: 73.59 kB / 377 MB, free: 82.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.7114, allocations: 117.1 kB / 377.1 MB, free: 82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.7115, allocations: 4.719 kB / 377.1 MB, free: 82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.7115, allocations: 3.156 kB / 377.2 MB, free: 82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.7115, allocations: 6.484 kB / 377.2 MB, free: 82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.716, allocations: 2.455 MB / 379.6 MB, free: 81.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.17e-06/0.716, allocations: 0.75 kB / 379.6 MB, free: 81.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.7165, allocations: 85.22 kB / 379.7 MB, free: 81.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.7178, allocations: 446.2 kB / 380.1 MB, free: 81.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.7179, allocations: 25.47 kB / 380.2 MB, free: 81.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008777/0.7267, allocations: 8.364 MB / 388.5 MB, free: 75.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7267, allocations: 3.516 kB / 388.5 MB, free: 75.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.7297, allocations: 1.809 MB / 390.3 MB, free: 74.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.7302, allocations: 243 kB / 390.6 MB, free: 74.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.7303, allocations: 15.77 kB / 390.6 MB, free: 74.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.7309, allocations: 38.86 kB / 390.6 MB, free: 74.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.7311, allocations: 78.2 kB / 390.7 MB, free: 74.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.7312, allocations: 20.84 kB / 390.7 MB, free: 74.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007468/0.7319, allocations: 0.5008 MB / 391.2 MB, free: 73.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.732, allocations: 0 / 391.2 MB, free: 73.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001341/0.7333, allocations: 249.6 kB / 391.5 MB, free: 73.8 MB / 314.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.0001845/0.7335, allocations: 127.5 kB / 391.6 MB, free: 73.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.7356, allocations: 1.394 MB / 393 MB, free: 72.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.685e-06/0.7356, allocations: 0 / 393 MB, free: 72.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.7371, allocations: 1.02 MB / 394 MB, free: 72.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.7383, allocations: 204.7 kB / 394.2 MB, free: 72.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.7419, allocations: 1.81 MB / 396 MB, free: 71.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.7428, allocations: 1.259 MB / 397.3 MB, free: 70.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004768/0.7433, allocations: 125.8 kB / 397.4 MB, free: 69.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7434, allocations: 51.23 kB / 397.4 MB, free: 69.89 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-06/0.7435, allocations: 0 / 397.4 MB, free: 69.89 MB / 314.7 MB Notification: Performance of Templates: time 0.031/0.7745, allocations: 14.74 MB / 412.2 MB, free: 56.96 MB / 314.7 MB