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.784/1.784, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/3.008e-05, allocations: 4 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07827/0.07832, allocations: 44.49 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.4195, allocations: 76.19 MB / 376 MB, free: 22.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4198, allocations: 72.22 kB / 376.1 MB, free: 22.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05966/0.4794, allocations: 16.39 MB / 392.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.162e-06/0.4795, allocations: 3.906 kB / 392.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.215e-05/0.4796, allocations: 23.53 kB / 392.5 MB, free: 20.21 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.00217/0.4817, allocations: 1.161 MB / 393.7 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4818, allocations: 7.812 kB / 393.7 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.4821, allocations: 121.3 kB / 393.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.4835, allocations: 0.7159 MB / 394.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/0.4836, allocations: 67.97 kB / 394.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.4838, allocations: 85.62 kB / 394.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.4862, allocations: 1.171 MB / 395.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.4862, allocations: 0 / 395.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.4864, allocations: 36.38 kB / 395.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.4864, allocations: 19.53 kB / 395.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.4885, allocations: 1.005 MB / 396.9 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006941/0.4955, allocations: 3.771 MB / 400.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.4975, allocations: 1.936 MB / 402.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.4985, allocations: 0.6348 MB / 403.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.4986, allocations: 8.594 kB / 403.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4986, allocations: 46.42 kB / 403.3 MB, free: 16.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.905e-06/0.4986, allocations: 7.844 kB / 403.3 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.004175/0.5028, allocations: 2.207 MB / 405.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.5029, allocations: 59.91 kB / 405.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.5039, allocations: 0.6079 MB / 406.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.504, allocations: 33.02 kB / 406.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.5043, allocations: 427.2 kB / 406.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.5045, allocations: 234.2 kB / 406.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.5045, allocations: 14.94 kB / 406.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.5046, allocations: 344.4 kB / 407.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.5052, allocations: 335.6 kB / 407.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.5059, allocations: 396 kB / 407.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.5065, allocations: 371.6 kB / 408.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-06/0.5066, allocations: 3.906 kB / 408.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002122/0.5087, allocations: 1.109 MB / 409.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5087, allocations: 3.906 kB / 409.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.5088, allocations: 3.812 kB / 409.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.5102, allocations: 458.6 kB / 409.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.5107, allocations: 93.89 kB / 410 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.5209, allocations: 8.46 MB / 418.4 MB, free: 25.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.5216, allocations: 38.78 kB / 418.5 MB, free: 25.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.5217, allocations: 15.62 kB / 418.5 MB, free: 25.07 MB / 330.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.0002331/0.5219, allocations: 145.6 kB / 418.6 MB, free: 24.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.5221, allocations: 74.39 kB / 418.7 MB, free: 24.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.5224, allocations: 100.5 kB / 418.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.724e-06/0.5224, allocations: 7.906 kB / 418.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.5224, allocations: 3.969 kB / 418.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.561e-06/0.5224, allocations: 7.984 kB / 418.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.5273, allocations: 2.449 MB / 421.3 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5274, allocations: 0 / 421.3 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.5279, allocations: 89.41 kB / 421.3 MB, free: 24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.5291, allocations: 450.9 kB / 421.8 MB, free: 23.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/0.5292, allocations: 18.78 kB / 421.8 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.5395, allocations: 8.364 MB / 430.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.241e-06/0.5396, allocations: 4.641 kB / 430.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.5426, allocations: 1.821 MB / 432 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.5432, allocations: 234.8 kB / 432.2 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5433, allocations: 15.81 kB / 432.2 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.5439, allocations: 35.67 kB / 432.3 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.5441, allocations: 71.61 kB / 432.3 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.5442, allocations: 19.62 kB / 432.4 MB, free: 16.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007949/0.545, allocations: 0.4963 MB / 432.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.16e-07/0.545, allocations: 3.938 kB / 432.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001484/0.5465, allocations: 246.7 kB / 433.1 MB, free: 15.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.0002453/0.5468, allocations: 124.8 kB / 433.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.5492, allocations: 1.387 MB / 434.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.142e-06/0.5492, allocations: 0 / 434.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.5508, allocations: 1.028 MB / 435.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5521, allocations: 196.8 kB / 435.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.5559, allocations: 1.832 MB / 437.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.5571, allocations: 1.239 MB / 438.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.5573, allocations: 42.06 kB / 438.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.746e-06/0.5574, allocations: 0 / 438.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of Templates: time 0.04381/0.6012, allocations: 29.59 MB / 468.5 MB, free: 2.332 MB / 346.7 MB