Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.541e-05, allocations: 4 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.07692, allocations: 44.49 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4138, allocations: 87.59 MB / 387.4 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4141, allocations: 83.59 kB / 387.5 MB, free: 20.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4374/0.8515, allocations: 117.6 MB / 0.4933 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.606e-06/0.8516, allocations: 3.938 kB / 0.4933 GB, free: 14.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004691/0.852, allocations: 119.8 kB / 0.4934 GB, free: 14.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01281/0.8649, allocations: 3.812 MB / 0.4971 GB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.8649, allocations: 8.031 kB / 0.4972 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.868, allocations: 0.5606 MB / 0.4977 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008365/0.8764, allocations: 2.718 MB / 0.5004 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.8769, allocations: 295.8 kB / 0.5006 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.8784, allocations: 388 kB / 0.501 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.8948, allocations: 5.531 MB / 0.5064 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.8949, allocations: 3.938 kB / 0.5064 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009943/0.8959, allocations: 168 kB / 0.5066 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000288/0.8962, allocations: 208 kB / 0.5068 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2435/1.14, allocations: 4.484 MB / 0.5112 GB, free: 47.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/1.177, allocations: 16.45 MB / 0.5272 GB, free: 44.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/1.184, allocations: 6.683 MB / 0.5337 GB, free: 41.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004518/1.189, allocations: 2.617 MB / 0.5363 GB, free: 41.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/1.189, allocations: 150 kB / 0.5364 GB, free: 41.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.19, allocations: 61.31 kB / 0.5365 GB, free: 41.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 6.903e-06/1.19, allocations: 3.188 kB / 0.5365 GB, free: 41.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.01761/1.207, allocations: 7.739 MB / 0.5441 GB, free: 40.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.207, allocations: 84.06 kB / 0.5441 GB, free: 40.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004835/1.212, allocations: 2.326 MB / 0.5464 GB, free: 39.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004437/1.213, allocations: 68.36 kB / 0.5465 GB, free: 39.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.214, allocations: 1.508 MB / 0.5479 GB, free: 39.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009319/1.215, allocations: 0.8401 MB / 0.5488 GB, free: 38.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/1.215, allocations: 48.88 kB / 0.5488 GB, free: 38.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/1.215, allocations: 404.1 kB / 0.5492 GB, free: 38.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.217, allocations: 1.28 MB / 0.5504 GB, free: 38.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/1.22, allocations: 1.556 MB / 0.552 GB, free: 38.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/1.223, allocations: 1.525 MB / 0.5535 GB, free: 38.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.223, allocations: 0 / 0.5535 GB, free: 38.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008875/1.232, allocations: 4.124 MB / 0.5575 GB, free: 38.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.232, allocations: 9.281 kB / 0.5575 GB, free: 38.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.232, allocations: 11.19 kB / 0.5575 GB, free: 38.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004646/1.237, allocations: 1.402 MB / 0.5589 GB, free: 37.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/1.239, allocations: 389.5 kB / 0.5592 GB, free: 37.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/1.267, allocations: 23.41 MB / 0.5821 GB, free: 19.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/1.269, allocations: 93.48 kB / 0.5822 GB, free: 19.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/1.27, allocations: 81.72 kB / 0.5823 GB, free: 19.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005397/1.27, allocations: 238.1 kB / 0.5825 GB, free: 19.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/1.271, allocations: 290.9 kB / 0.5828 GB, free: 19.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008632/1.28, allocations: 4.085 MB / 0.5868 GB, free: 17.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.28, allocations: 22.47 kB / 0.5868 GB, free: 17.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/1.28, allocations: 9.531 kB / 0.5868 GB, free: 17.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-05/1.28, allocations: 11.2 kB / 0.5868 GB, free: 17.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/1.301, allocations: 8.832 MB / 0.5954 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.301, allocations: 0 / 0.5954 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/1.302, allocations: 293.3 kB / 0.5957 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004498/1.307, allocations: 1.364 MB / 0.597 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004231/1.307, allocations: 66.03 kB / 0.5971 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/1.337, allocations: 23.15 MB / 0.6197 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/1.337, allocations: 3.953 kB / 0.6197 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.349, allocations: 5.962 MB / 0.6255 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.351, allocations: 0.6919 MB / 0.6262 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009988/1.352, allocations: 58.92 kB / 0.6263 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.355, allocations: 131.6 kB / 0.6264 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007709/1.355, allocations: 211.7 kB / 0.6266 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002816/1.356, allocations: 71.16 kB / 0.6267 GB, free: 9.219 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004141/1.36, allocations: 1.81 MB / 0.6284 GB, free: 8.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.204e-06/1.36, allocations: 3.391 kB / 0.6284 GB, free: 8.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005467/1.365, allocations: 0.9693 MB / 0.6294 GB, free: 8.414 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008499/1.366, allocations: 265 kB / 0.6296 GB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009776/1.376, allocations: 4.628 MB / 0.6342 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.474e-06/1.376, allocations: 2.906 kB / 0.6342 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006889/1.383, allocations: 3.189 MB / 0.6373 GB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005534/1.389, allocations: 0.8868 MB / 0.6381 GB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/1.408, allocations: 6.951 MB / 0.6449 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005913/1.414, allocations: 3.17 MB / 0.648 GB, free: 9.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.415, allocations: 171 kB / 0.6482 GB, free: 8.957 MB / 426.7 MB Notification: Performance of SimCode: time 2.541e-06/1.415, allocations: 0 / 0.6482 GB, free: 8.957 MB / 426.7 MB Notification: Performance of Templates: time 0.8021/2.217, allocations: 248.3 MB / 0.8906 GB, free: 89.69 MB / 458.7 MB