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.108/2.108, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.795e-05, allocations: 8 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3392, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.4975, allocations: 86.91 MB / 381.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.4979, allocations: 79.95 kB / 381.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7062/1.204, allocations: 116.2 MB / 497.4 MB, free: 50.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.204, allocations: 0 / 497.4 MB, free: 50.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004626/1.205, allocations: 115.8 kB / 497.5 MB, free: 50.8 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.01484/1.22, allocations: 3.816 MB / 0.4895 GB, free: 46.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/1.22, allocations: 8.031 kB / 0.4896 GB, free: 46.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/1.223, allocations: 0.549 MB / 0.4901 GB, free: 46.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008664/1.232, allocations: 2.737 MB / 0.4928 GB, free: 43.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/1.232, allocations: 128 kB / 0.4929 GB, free: 43.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/1.234, allocations: 224 kB / 0.4931 GB, free: 43.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01282/1.247, allocations: 4.287 MB / 0.4973 GB, free: 38.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/1.263, allocations: 5.004 MB / 0.5022 GB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/1.263, allocations: 4 kB / 0.5022 GB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008049/1.264, allocations: 4 kB / 0.5022 GB, free: 33.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/1.264, allocations: 204 kB / 0.5024 GB, free: 33.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04117/1.306, allocations: 15.62 MB / 0.5176 GB, free: 17.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00859/1.314, allocations: 6.614 MB / 0.5241 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004883/1.319, allocations: 2.415 MB / 0.5264 GB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/1.32, allocations: 147 kB / 0.5266 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/1.32, allocations: 60.56 kB / 0.5266 GB, free: 7.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 5.631e-06/1.32, allocations: 0 / 0.5266 GB, free: 7.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.0211/1.341, allocations: 7.286 MB / 0.5338 GB, free: 428 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.341, allocations: 89.36 kB / 0.5338 GB, free: 324 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/1.346, allocations: 1.811 MB / 0.5356 GB, free: 14.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005756/1.346, allocations: 25.7 kB / 0.5356 GB, free: 14.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.348, allocations: 1.561 MB / 0.5372 GB, free: 12.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.349, allocations: 0.8042 MB / 0.5379 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.349, allocations: 4 kB / 0.538 GB, free: 12.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/1.35, allocations: 407.5 kB / 0.5383 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/1.353, allocations: 1.238 MB / 0.5395 GB, free: 10.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/1.356, allocations: 1.511 MB / 0.541 GB, free: 8.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.36, allocations: 1.475 MB / 0.5425 GB, free: 7.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/1.36, allocations: 0 / 0.5425 GB, free: 7.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01117/1.372, allocations: 3.913 MB / 0.5463 GB, free: 3.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/1.372, allocations: 8 kB / 0.5463 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.372, allocations: 8 kB / 0.5463 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006065/1.378, allocations: 1.37 MB / 0.5476 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/1.381, allocations: 395.5 kB / 0.548 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3563/1.738, allocations: 22.54 MB / 0.57 GB, free: 75.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.741, allocations: 49.39 kB / 0.5701 GB, free: 75.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/1.741, allocations: 87.86 kB / 0.5702 GB, free: 75.44 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.0005565/1.741, allocations: 147 kB / 0.5703 GB, free: 75.33 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009285/1.751, allocations: 3.602 MB / 0.5738 GB, free: 75.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.752, allocations: 263.7 kB / 0.5741 GB, free: 75.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009064/1.761, allocations: 3.81 MB / 0.5778 GB, free: 74.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/1.761, allocations: 24.84 kB / 0.5778 GB, free: 74.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.761, allocations: 11.86 kB / 0.5778 GB, free: 74.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.028e-05/1.761, allocations: 13.7 kB / 0.5778 GB, free: 74.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/1.782, allocations: 8.042 MB / 0.5857 GB, free: 74.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.782, allocations: 1.562 kB / 0.5857 GB, free: 74.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/1.784, allocations: 294.3 kB / 0.586 GB, free: 74.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005366/1.79, allocations: 1.352 MB / 0.5873 GB, free: 74.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004638/1.79, allocations: 26.56 kB / 0.5873 GB, free: 74.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02939/1.82, allocations: 22.39 MB / 0.6092 GB, free: 61.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.82, allocations: 0 / 0.6092 GB, free: 61.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.833, allocations: 5.71 MB / 0.6148 GB, free: 59.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/1.836, allocations: 0.6375 MB / 0.6154 GB, free: 59.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.837, allocations: 15.48 kB / 0.6154 GB, free: 59.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/1.839, allocations: 91.89 kB / 0.6155 GB, free: 59.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008817/1.84, allocations: 217.4 kB / 0.6157 GB, free: 59.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/1.841, allocations: 67.97 kB / 0.6158 GB, free: 59.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003067/1.844, allocations: 1.39 MB / 0.6171 GB, free: 58.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.844, allocations: 0 / 0.6171 GB, free: 58.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005991/1.85, allocations: 0.861 MB / 0.618 GB, free: 58.77 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.0138/1.864, allocations: 6.544 MB / 0.6243 GB, free: 55.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00974/1.873, allocations: 4.545 MB / 0.6288 GB, free: 53.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.873, allocations: 0 / 0.6288 GB, free: 53.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006727/1.88, allocations: 3.142 MB / 0.6319 GB, free: 51.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/1.886, allocations: 0.612 MB / 0.6325 GB, free: 51.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/1.909, allocations: 7.86 MB / 0.6401 GB, free: 48.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005064/1.914, allocations: 3.166 MB / 0.6432 GB, free: 47.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00316/1.917, allocations: 1.449 MB / 0.6446 GB, free: 46.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/1.917, allocations: 0 / 0.6446 GB, free: 46.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.553/7.471, allocations: 266.1 MB / 0.9045 GB, free: 121.7 MB / 442.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