Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.721e-05, allocations: 4 kB / 249.8 MB, free: 14.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3522, allocations: 44.49 MB / 294.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.5249, allocations: 86.91 MB / 381.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5253, allocations: 79.95 kB / 381.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.803/1.328, allocations: 116.2 MB / 497.5 MB, free: 50.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.328, allocations: 0 / 497.5 MB, free: 50.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005005/1.329, allocations: 111.9 kB / 497.6 MB, free: 50.79 MB / 362.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.01606/1.345, allocations: 3.812 MB / 0.4896 GB, free: 46.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.345, allocations: 8.031 kB / 0.4896 GB, free: 46.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/1.349, allocations: 0.5529 MB / 0.4902 GB, free: 46.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009284/1.358, allocations: 2.729 MB / 0.4928 GB, free: 43.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/1.358, allocations: 124 kB / 0.493 GB, free: 43.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/1.36, allocations: 228 kB / 0.4932 GB, free: 43.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01395/1.374, allocations: 4.295 MB / 0.4974 GB, free: 38.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/1.391, allocations: 4.992 MB / 0.5022 GB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/1.391, allocations: 4 kB / 0.5023 GB, free: 33.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009505/1.392, allocations: 8 kB / 0.5023 GB, free: 33.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002886/1.392, allocations: 208 kB / 0.5025 GB, free: 33.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04517/1.438, allocations: 15.63 MB / 0.5177 GB, free: 17.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009278/1.447, allocations: 6.61 MB / 0.5242 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00528/1.452, allocations: 2.419 MB / 0.5265 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/1.453, allocations: 147.1 kB / 0.5267 GB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.453, allocations: 60.56 kB / 0.5267 GB, free: 7.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 6.883e-06/1.453, allocations: 0 / 0.5267 GB, free: 7.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.0223/1.475, allocations: 7.286 MB / 0.5339 GB, free: 412 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.475, allocations: 77.42 kB / 0.5339 GB, free: 320 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/1.481, allocations: 1.819 MB / 0.5357 GB, free: 14.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000584/1.481, allocations: 25.7 kB / 0.5357 GB, free: 14.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/1.483, allocations: 1.657 MB / 0.5373 GB, free: 12.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.485, allocations: 0.8004 MB / 0.5381 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/1.485, allocations: 0 / 0.5381 GB, free: 11.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003015/1.486, allocations: 406.7 kB / 0.5385 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/1.489, allocations: 1.234 MB / 0.5397 GB, free: 10.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004289/1.494, allocations: 1.511 MB / 0.5412 GB, free: 8.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004499/1.498, allocations: 1.475 MB / 0.5426 GB, free: 7.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-05/1.498, allocations: 4 kB / 0.5426 GB, free: 7.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01394/1.512, allocations: 4.059 MB / 0.5466 GB, free: 3.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.512, allocations: 8 kB / 0.5466 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.512, allocations: 4 kB / 0.5466 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006816/1.519, allocations: 1.374 MB / 0.548 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.523, allocations: 391.5 kB / 0.5483 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3488/1.872, allocations: 22.56 MB / 0.5704 GB, free: 75.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/1.875, allocations: 46.27 kB / 0.5704 GB, free: 75.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007351/1.876, allocations: 80.91 kB / 0.5705 GB, free: 75.38 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.000675/1.877, allocations: 149.8 kB / 0.5706 GB, free: 75.27 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01186/1.888, allocations: 3.607 MB / 0.5741 GB, free: 75.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.89, allocations: 262.5 kB / 0.5744 GB, free: 75.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.902, allocations: 3.8 MB / 0.5781 GB, free: 74.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.767e-05/1.902, allocations: 21.75 kB / 0.5781 GB, free: 74.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/1.902, allocations: 20.83 kB / 0.5782 GB, free: 74.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.363e-05/1.902, allocations: 14.72 kB / 0.5782 GB, free: 74.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02488/1.927, allocations: 8.042 MB / 0.586 GB, free: 74.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/1.927, allocations: 0 / 0.586 GB, free: 74.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/1.93, allocations: 293.3 kB / 0.5863 GB, free: 74.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006133/1.936, allocations: 1.357 MB / 0.5876 GB, free: 74.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005247/1.937, allocations: 20.66 kB / 0.5876 GB, free: 74.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03374/1.97, allocations: 22.39 MB / 0.6095 GB, free: 61.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.971, allocations: 0 / 0.6095 GB, free: 61.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.986, allocations: 5.709 MB / 0.6151 GB, free: 59.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002653/1.988, allocations: 0.6346 MB / 0.6157 GB, free: 59.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.99, allocations: 17.72 kB / 0.6157 GB, free: 59.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/1.993, allocations: 86.95 kB / 0.6158 GB, free: 59.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/1.994, allocations: 217.3 kB / 0.616 GB, free: 59.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/1.995, allocations: 71.77 kB / 0.6161 GB, free: 59.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003647/1.998, allocations: 1.386 MB / 0.6174 GB, free: 58.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.998, allocations: 3.156 kB / 0.6174 GB, free: 58.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006571/2.005, allocations: 0.8621 MB / 0.6183 GB, free: 58.71 MB / 394.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.01627/2.021, allocations: 6.549 MB / 0.6247 GB, free: 55.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/2.033, allocations: 4.545 MB / 0.6291 GB, free: 53.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.033, allocations: 2 kB / 0.6291 GB, free: 53.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008171/2.041, allocations: 3.135 MB / 0.6322 GB, free: 51.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/2.048, allocations: 0.6239 MB / 0.6328 GB, free: 51.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/2.075, allocations: 7.999 MB / 0.6406 GB, free: 48.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006072/2.081, allocations: 3.243 MB / 0.6438 GB, free: 47.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003257/2.084, allocations: 0.5123 MB / 0.6443 GB, free: 46.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003675/2.088, allocations: 1.441 MB / 0.6457 GB, free: 45.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/2.088, allocations: 0 / 0.6457 GB, free: 45.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5804/2.669, allocations: 73.75 MB / 0.7177 GB, free: 75.34 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002832/2.669, allocations: 163.1 kB / 0.7178 GB, free: 75.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.341/9.01, allocations: 0 / 0.7178 GB, free: 75.15 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat