Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.327e-05, allocations: 0 / 255.5 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 44.51 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4975/0.6074, allocations: 87.58 MB / 387.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.6078, allocations: 86.52 kB / 387.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5413/1.149, allocations: 117.6 MB / 0.4934 GB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.149, allocations: 0 / 0.4934 GB, free: 10.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008582/1.15, allocations: 115.8 kB / 0.4935 GB, free: 10.66 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.02217/1.172, allocations: 3.816 MB / 0.4972 GB, free: 6.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/1.172, allocations: 12.03 kB / 0.4973 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003631/1.176, allocations: 0.5548 MB / 0.4978 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/1.181, allocations: 0.5528 MB / 0.4983 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/1.196, allocations: 2.723 MB / 0.501 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000646/1.197, allocations: 299.7 kB / 0.5013 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002643/1.199, allocations: 391.8 kB / 0.5017 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/1.228, allocations: 5.523 MB / 0.5071 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/1.229, allocations: 0 / 0.5071 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/1.231, allocations: 171.6 kB / 0.5072 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005288/1.231, allocations: 208 kB / 0.5074 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/1.254, allocations: 4.49 MB / 0.5118 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3596/1.613, allocations: 16.45 MB / 0.5279 GB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.625, allocations: 6.684 MB / 0.5344 GB, free: 50.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007329/1.633, allocations: 2.619 MB / 0.5369 GB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/1.634, allocations: 144.5 kB / 0.5371 GB, free: 50.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/1.634, allocations: 65.47 kB / 0.5371 GB, free: 50.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.121e-06/1.634, allocations: 0 / 0.5371 GB, free: 50.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.02623/1.66, allocations: 7.736 MB / 0.5447 GB, free: 49.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/1.66, allocations: 80.95 kB / 0.5448 GB, free: 49.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006523/1.667, allocations: 2.326 MB / 0.547 GB, free: 49.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000656/1.667, allocations: 78.22 kB / 0.5471 GB, free: 49.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/1.669, allocations: 1.498 MB / 0.5486 GB, free: 48.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.67, allocations: 0.8432 MB / 0.5494 GB, free: 48.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.671, allocations: 54.09 kB / 0.5495 GB, free: 48.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/1.671, allocations: 410.8 kB / 0.5499 GB, free: 48.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/1.674, allocations: 1.277 MB / 0.5511 GB, free: 48.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/1.678, allocations: 1.558 MB / 0.5526 GB, free: 47.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/1.682, allocations: 1.522 MB / 0.5541 GB, free: 47.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-05/1.683, allocations: 0 / 0.5541 GB, free: 47.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01226/1.695, allocations: 4.125 MB / 0.5581 GB, free: 47.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/1.695, allocations: 8.375 kB / 0.5581 GB, free: 47.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.695, allocations: 7.156 kB / 0.5581 GB, free: 47.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005954/1.701, allocations: 1.396 MB / 0.5595 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/1.704, allocations: 393.5 kB / 0.5599 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03409/1.738, allocations: 23.4 MB / 0.5827 GB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.742, allocations: 96.56 kB / 0.5828 GB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007592/1.743, allocations: 85.14 kB / 0.5829 GB, free: 33.92 MB / 410.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.0006599/1.744, allocations: 230 kB / 0.5831 GB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.745, allocations: 300.5 kB / 0.5834 GB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.757, allocations: 4.079 MB / 0.5874 GB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/1.757, allocations: 29.53 kB / 0.5874 GB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.757, allocations: 7.031 kB / 0.5874 GB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-05/1.757, allocations: 17.86 kB / 0.5875 GB, free: 33.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/1.784, allocations: 8.819 MB / 0.5961 GB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/1.784, allocations: 0 / 0.5961 GB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/1.787, allocations: 292.3 kB / 0.5963 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005815/1.793, allocations: 1.378 MB / 0.5977 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006076/1.793, allocations: 57.98 kB / 0.5977 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03809/1.832, allocations: 23.15 MB / 0.6204 GB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.832, allocations: 3.406 kB / 0.6204 GB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/1.85, allocations: 5.966 MB / 0.6262 GB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002937/1.853, allocations: 0.687 MB / 0.6269 GB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.855, allocations: 62.67 kB / 0.6269 GB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003734/1.858, allocations: 129.4 kB / 0.627 GB, free: 24.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/1.86, allocations: 210.3 kB / 0.6272 GB, free: 24.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003029/1.86, allocations: 76.03 kB / 0.6273 GB, free: 24.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004916/1.865, allocations: 1.814 MB / 0.6291 GB, free: 24.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.865, allocations: 0 / 0.6291 GB, free: 24.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006556/1.871, allocations: 0.9722 MB / 0.63 GB, free: 23.96 MB / 426.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.01699/1.888, allocations: 6.851 MB / 0.6367 GB, free: 20.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.9, allocations: 4.615 MB / 0.6412 GB, free: 18.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.9, allocations: 0 / 0.6412 GB, free: 18.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007842/1.908, allocations: 3.198 MB / 0.6444 GB, free: 16.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007434/1.915, allocations: 0.8851 MB / 0.6452 GB, free: 16.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/1.943, allocations: 8.137 MB / 0.6532 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006267/1.949, allocations: 3.17 MB / 0.6563 GB, free: 9.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004342/1.953, allocations: 1.457 MB / 0.6577 GB, free: 7.871 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/1.953, allocations: 0 / 0.6577 GB, free: 7.871 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.971/7.925, allocations: 270.7 MB / 0.922 GB, free: 72.24 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat