Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.787e-05, allocations: 0 / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5446, allocations: 92.86 MB / 435.5 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.5449, allocations: 82.52 kB / 435.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7664/1.311, allocations: 116.9 MB / 0.5395 GB, free: 79.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.045e-06/1.311, allocations: 1 kB / 0.5395 GB, free: 79.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005351/1.312, allocations: 112.7 kB / 0.5396 GB, free: 79.41 MB / 442.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.01628/1.328, allocations: 3.868 MB / 0.5434 GB, free: 78.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.328, allocations: 12.41 kB / 0.5434 GB, free: 78.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002493/1.331, allocations: 0.5495 MB / 0.544 GB, free: 78.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/1.335, allocations: 0.551 MB / 0.5445 GB, free: 77.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009213/1.344, allocations: 2.719 MB / 0.5472 GB, free: 77.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/1.344, allocations: 295.4 kB / 0.5474 GB, free: 77.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/1.346, allocations: 385.8 kB / 0.5478 GB, free: 77.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/1.364, allocations: 5.508 MB / 0.5532 GB, free: 76.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/1.364, allocations: 0 / 0.5532 GB, free: 76.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/1.366, allocations: 165.7 kB / 0.5533 GB, free: 76.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002861/1.366, allocations: 207 kB / 0.5535 GB, free: 76.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/1.38, allocations: 4.463 MB / 0.5579 GB, free: 76.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/1.424, allocations: 16.43 MB / 0.5739 GB, free: 73.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009501/1.434, allocations: 6.686 MB / 0.5805 GB, free: 69.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006023/1.44, allocations: 2.62 MB / 0.583 GB, free: 68.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/1.44, allocations: 145.6 kB / 0.5832 GB, free: 68.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/1.441, allocations: 69.38 kB / 0.5832 GB, free: 68.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.871e-06/1.441, allocations: 0 / 0.5832 GB, free: 68.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.02299/1.464, allocations: 7.726 MB / 0.5908 GB, free: 65.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/1.464, allocations: 85.45 kB / 0.5909 GB, free: 65.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/1.469, allocations: 2.332 MB / 0.5931 GB, free: 64.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005734/1.47, allocations: 72.52 kB / 0.5932 GB, free: 64.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/1.471, allocations: 1.501 MB / 0.5947 GB, free: 62.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.472, allocations: 0.8416 MB / 0.5955 GB, free: 62.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/1.473, allocations: 50.75 kB / 0.5956 GB, free: 62.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/1.473, allocations: 405.1 kB / 0.5959 GB, free: 61.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/1.476, allocations: 1.286 MB / 0.5972 GB, free: 61.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/1.48, allocations: 1.56 MB / 0.5987 GB, free: 60.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/1.483, allocations: 1.517 MB / 0.6002 GB, free: 60 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/1.483, allocations: 3.969 kB / 0.6002 GB, free: 60 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01103/1.494, allocations: 4.124 MB / 0.6042 GB, free: 58.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/1.495, allocations: 5.938 kB / 0.6042 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.495, allocations: 15.56 kB / 0.6043 GB, free: 58.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005647/1.5, allocations: 1.402 MB / 0.6056 GB, free: 57.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/1.503, allocations: 393 kB / 0.606 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03137/1.535, allocations: 23.4 MB / 0.6288 GB, free: 40.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/1.538, allocations: 98.56 kB / 0.6289 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006538/1.539, allocations: 86.95 kB / 0.629 GB, free: 40.03 MB / 442.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.0006431/1.54, allocations: 238.6 kB / 0.6293 GB, free: 39.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.541, allocations: 298.4 kB / 0.6295 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.552, allocations: 4.079 MB / 0.6335 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.093e-05/1.552, allocations: 25.25 kB / 0.6335 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/1.552, allocations: 10.45 kB / 0.6336 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/1.552, allocations: 14.27 kB / 0.6336 GB, free: 38.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/1.577, allocations: 8.817 MB / 0.6422 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/1.577, allocations: 0 / 0.6422 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/1.579, allocations: 299.3 kB / 0.6425 GB, free: 31.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005445/1.585, allocations: 1.373 MB / 0.6438 GB, free: 30.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/1.585, allocations: 59.7 kB / 0.6439 GB, free: 30.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03024/1.616, allocations: 23.18 MB / 0.6665 GB, free: 7.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.616, allocations: 4.031 kB / 0.6665 GB, free: 7.656 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/1.63, allocations: 6.002 MB / 0.6724 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/1.632, allocations: 0.6808 MB / 0.673 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.634, allocations: 59.66 kB / 0.6731 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/1.637, allocations: 130.3 kB / 0.6732 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009471/1.638, allocations: 212.2 kB / 0.6734 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/1.638, allocations: 71.47 kB / 0.6735 GB, free: 1.344 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005161/1.643, allocations: 1.851 MB / 0.6753 GB, free: 15.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.643, allocations: 0 / 0.6753 GB, free: 15.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006424/1.65, allocations: 0.9761 MB / 0.6762 GB, free: 14.82 MB / 458.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.01741/1.667, allocations: 6.862 MB / 0.6829 GB, free: 8.641 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.679, allocations: 4.626 MB / 0.6875 GB, free: 4.363 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.679, allocations: 4.5 kB / 0.6875 GB, free: 4.359 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008293/1.687, allocations: 3.188 MB / 0.6906 GB, free: 1.371 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007486/1.695, allocations: 0.8972 MB / 0.6914 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3624/2.057, allocations: 8.422 MB / 0.6997 GB, free: 81.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007221/2.065, allocations: 3.17 MB / 0.7028 GB, free: 81.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003837/2.069, allocations: 1.465 MB / 0.7042 GB, free: 81.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.553e-06/2.069, allocations: 0 / 0.7042 GB, free: 81.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.379/7.448, allocations: 270.5 MB / 0.9684 GB, free: 52.38 MB / 474.7 MB