Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.751e-05, allocations: 4 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 50.41 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.5524, allocations: 91.25 MB / 433.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5528, allocations: 85.75 kB / 434 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2833/0.8361, allocations: 63.81 MB / 497.8 MB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8361, allocations: 0 / 497.8 MB, free: 7.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002745/0.8364, allocations: 55.94 kB / 497.8 MB, free: 7.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008665/0.8451, allocations: 2.286 MB / 0.4884 GB, free: 4.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.8452, allocations: 12.03 kB / 0.4884 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001263/0.8465, allocations: 328.6 kB / 0.4887 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.8481, allocations: 316.7 kB / 0.489 GB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005181/0.8534, allocations: 1.561 MB / 0.4906 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.8536, allocations: 164.7 kB / 0.4907 GB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008867/0.8545, allocations: 223.8 kB / 0.4909 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009109/0.8637, allocations: 3 MB / 0.4939 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.565e-05/0.8638, allocations: 3.938 kB / 0.4939 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.8642, allocations: 92 kB / 0.4939 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.8643, allocations: 108.4 kB / 0.4941 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007953/0.8723, allocations: 2.41 MB / 0.4964 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.8986, allocations: 8.904 MB / 0.5051 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/0.9041, allocations: 3.294 MB / 0.5083 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/0.9076, allocations: 1.309 MB / 0.5096 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/0.9081, allocations: 130.4 kB / 0.5097 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.9082, allocations: 47.88 kB / 0.5098 GB, free: 14.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 3.707e-06/0.9082, allocations: 4 kB / 0.5098 GB, free: 14.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01248/0.9207, allocations: 4.085 MB / 0.5138 GB, free: 10.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.9208, allocations: 72.7 kB / 0.5138 GB, free: 10.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.9241, allocations: 1.322 MB / 0.5151 GB, free: 8.742 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000329/0.9245, allocations: 45.7 kB / 0.5152 GB, free: 8.691 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000874/0.9254, allocations: 0.8952 MB / 0.516 GB, free: 7.785 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006872/0.9261, allocations: 449.5 kB / 0.5165 GB, free: 7.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.9262, allocations: 24 kB / 0.5165 GB, free: 7.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.9264, allocations: 358.8 kB / 0.5168 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.9282, allocations: 0.6546 MB / 0.5175 GB, free: 6.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.9302, allocations: 0.8166 MB / 0.5183 GB, free: 5.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.9322, allocations: 0.7701 MB / 0.519 GB, free: 4.676 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.9323, allocations: 7.953 kB / 0.519 GB, free: 4.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006021/0.9383, allocations: 2.116 MB / 0.5211 GB, free: 2.531 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.9384, allocations: 4 kB / 0.5211 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.9384, allocations: 7.984 kB / 0.5211 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/0.9416, allocations: 0.7097 MB / 0.5218 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.9434, allocations: 203.7 kB / 0.522 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2994/1.243, allocations: 10.48 MB / 0.5322 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.245, allocations: 50.38 kB / 0.5323 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.245, allocations: 42.08 kB / 0.5323 GB, free: 101.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003285/1.245, allocations: 173.1 kB / 0.5325 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/1.246, allocations: 159.8 kB / 0.5326 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/1.251, allocations: 2.108 MB / 0.5347 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/1.251, allocations: 12.56 kB / 0.5347 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.251, allocations: 4.156 kB / 0.5347 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/1.251, allocations: 15.19 kB / 0.5347 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/1.264, allocations: 4.672 MB / 0.5393 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.264, allocations: 1.984 kB / 0.5393 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.266, allocations: 161.3 kB / 0.5394 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/1.268, allocations: 0.6883 MB / 0.5401 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/1.269, allocations: 33.66 kB / 0.5401 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/1.284, allocations: 10.38 MB / 0.5503 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.284, allocations: 1.375 kB / 0.5503 GB, free: 95.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/1.291, allocations: 3.171 MB / 0.5534 GB, free: 94.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.293, allocations: 409.2 kB / 0.5538 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.293, allocations: 29.77 kB / 0.5538 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.295, allocations: 70.17 kB / 0.5539 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/1.295, allocations: 109.6 kB / 0.554 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.295, allocations: 40.33 kB / 0.554 GB, free: 94.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002131/1.297, allocations: 1.037 MB / 0.555 GB, free: 94.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.297, allocations: 0 / 0.555 GB, free: 94.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002798/1.3, allocations: 0.5255 MB / 0.5555 GB, free: 94.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007229/1.307, allocations: 4.102 MB / 0.5595 GB, free: 93.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00485/1.312, allocations: 2.267 MB / 0.5618 GB, free: 92.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.312, allocations: 2.625 kB / 0.5618 GB, free: 92.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/1.316, allocations: 1.548 MB / 0.5633 GB, free: 91.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.319, allocations: 493.9 kB / 0.5637 GB, free: 91.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.331, allocations: 4.399 MB / 0.568 GB, free: 89.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/1.333, allocations: 2.042 MB / 0.57 GB, free: 88.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.335, allocations: 0.784 MB / 0.5708 GB, free: 88.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/1.335, allocations: 0 / 0.5708 GB, free: 88.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.707/5.042, allocations: 84.62 MB / 0.6534 GB, free: 30.77 MB / 442.7 MB