Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.335e-05, allocations: 4 kB / 225.1 MB, free: 2.129 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2874, allocations: 38.77 MB / 263.9 MB, free: 9.785 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4319, allocations: 82.24 MB / 346.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.4323, allocations: 83.95 kB / 346.2 MB, free: 7.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7328/1.165, allocations: 117.8 MB / 463.9 MB, free: 8.355 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.736e-06/1.165, allocations: 0 / 463.9 MB, free: 8.355 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006516/1.166, allocations: 119.8 kB / 464.1 MB, free: 8.238 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01873/1.185, allocations: 3.828 MB / 467.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/1.185, allocations: 12.03 kB / 467.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002871/1.188, allocations: 0.5477 MB / 468.4 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/1.192, allocations: 0.5567 MB / 469 MB, free: 3.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/1.204, allocations: 2.722 MB / 471.7 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004718/1.205, allocations: 292.2 kB / 472 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002233/1.207, allocations: 384 kB / 472.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/1.234, allocations: 5.578 MB / 478 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/1.234, allocations: 4 kB / 478 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/1.236, allocations: 168 kB / 478.1 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005332/1.236, allocations: 208 kB / 478.3 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/1.26, allocations: 4.549 MB / 482.9 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0711/1.331, allocations: 16.45 MB / 499.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2804/1.611, allocations: 6.721 MB / 0.4942 GB, free: 45.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006411/1.618, allocations: 2.622 MB / 0.4968 GB, free: 45.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006023/1.618, allocations: 147.7 kB / 0.4969 GB, free: 45.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.619, allocations: 64.34 kB / 0.497 GB, free: 45.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.13e-06/1.619, allocations: 0 / 0.497 GB, free: 45.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.02198/1.641, allocations: 7.742 MB / 0.5045 GB, free: 44.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/1.641, allocations: 77.83 kB / 0.5046 GB, free: 44.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/1.646, allocations: 2.338 MB / 0.5069 GB, free: 44.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005313/1.646, allocations: 71.48 kB / 0.5069 GB, free: 43.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/1.648, allocations: 1.631 MB / 0.5085 GB, free: 43.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/1.649, allocations: 0.8422 MB / 0.5094 GB, free: 43.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/1.649, allocations: 51.12 kB / 0.5094 GB, free: 43.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/1.649, allocations: 403.2 kB / 0.5098 GB, free: 42.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002783/1.652, allocations: 1.28 MB / 0.511 GB, free: 42.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/1.655, allocations: 1.575 MB / 0.5126 GB, free: 42.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.659, allocations: 1.518 MB / 0.5141 GB, free: 42.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.659, allocations: 1.844 kB / 0.5141 GB, free: 42.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01091/1.67, allocations: 4.322 MB / 0.5183 GB, free: 42.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/1.67, allocations: 14.16 kB / 0.5183 GB, free: 42.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.67, allocations: 7.312 kB / 0.5183 GB, free: 42.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005544/1.675, allocations: 1.404 MB / 0.5197 GB, free: 42.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/1.679, allocations: 389.5 kB / 0.52 GB, free: 42.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03031/1.709, allocations: 23.42 MB / 0.5429 GB, free: 28.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/1.712, allocations: 98.17 kB / 0.543 GB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/1.713, allocations: 81.97 kB / 0.5431 GB, free: 28.45 MB / 346.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.0005801/1.713, allocations: 238.3 kB / 0.5433 GB, free: 28.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008565/1.714, allocations: 299.4 kB / 0.5436 GB, free: 28.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00961/1.724, allocations: 4.082 MB / 0.5476 GB, free: 26.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/1.724, allocations: 22.28 kB / 0.5476 GB, free: 26.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/1.724, allocations: 11.34 kB / 0.5476 GB, free: 26.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-05/1.724, allocations: 18.36 kB / 0.5476 GB, free: 26.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/1.747, allocations: 8.815 MB / 0.5562 GB, free: 23.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.747, allocations: 0 / 0.5562 GB, free: 23.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.749, allocations: 298.5 kB / 0.5565 GB, free: 23.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005417/1.754, allocations: 1.373 MB / 0.5579 GB, free: 22.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004062/1.755, allocations: 57.45 kB / 0.5579 GB, free: 22.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03016/1.785, allocations: 23.17 MB / 0.5805 GB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.785, allocations: 3.562 kB / 0.5806 GB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/1.799, allocations: 5.974 MB / 0.5864 GB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/1.801, allocations: 0.6856 MB / 0.5871 GB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009664/1.802, allocations: 54.94 kB / 0.5871 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/1.805, allocations: 134.3 kB / 0.5872 GB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009807/1.806, allocations: 210.4 kB / 0.5874 GB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.807, allocations: 68.12 kB / 0.5875 GB, free: 1.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004389/1.811, allocations: 1.822 MB / 0.5893 GB, free: 1.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.811, allocations: 0 / 0.5893 GB, free: 1.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005366/1.817, allocations: 0.9692 MB / 0.5902 GB, free: 0.7031 MB / 346.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.02185/1.838, allocations: 7.138 MB / 0.5972 GB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01198/1.85, allocations: 4.738 MB / 0.6018 GB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.851, allocations: 0 / 0.6018 GB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008376/1.859, allocations: 3.28 MB / 0.605 GB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007379/1.866, allocations: 0.8911 MB / 0.6059 GB, free: 3.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/1.9, allocations: 8.746 MB / 0.6144 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005308/1.906, allocations: 3.246 MB / 0.6176 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003324/1.909, allocations: 0.5714 MB / 0.6182 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004077/1.913, allocations: 1.456 MB / 0.6196 GB, free: 8.945 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/1.913, allocations: 0 / 0.6196 GB, free: 8.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5204/2.434, allocations: 88.34 MB / 0.7059 GB, free: 51.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/2.434, allocations: 212.6 kB / 0.7061 GB, free: 51.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.227/8.661, allocations: 0 / 0.7061 GB, free: 51.26 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat