Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.572e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3106, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.4659, allocations: 85.32 MB / 379.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.4663, allocations: 79.95 kB / 379.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5315/0.9979, allocations: 63.2 MB / 442.8 MB, free: 84.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.9979, allocations: 0 / 442.8 MB, free: 84.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.9982, allocations: 62.56 kB / 442.9 MB, free: 84.69 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008471/1.007, allocations: 2.262 MB / 445.1 MB, free: 83.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.007, allocations: 12.16 kB / 445.1 MB, free: 83.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/1.009, allocations: 313.1 kB / 445.5 MB, free: 83.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/1.014, allocations: 1.572 MB / 447 MB, free: 83.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.014, allocations: 69.03 kB / 447.1 MB, free: 83.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008028/1.015, allocations: 126.5 kB / 447.2 MB, free: 83.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006711/1.021, allocations: 2.32 MB / 449.5 MB, free: 83.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/1.03, allocations: 2.729 MB / 452.3 MB, free: 82.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.537e-05/1.03, allocations: 0 / 452.3 MB, free: 82.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/1.03, allocations: 3.375 kB / 452.3 MB, free: 82.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/1.03, allocations: 111.8 kB / 452.4 MB, free: 82.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02257/1.053, allocations: 8.461 MB / 460.8 MB, free: 78.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/1.057, allocations: 3.263 MB / 464.1 MB, free: 76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/1.06, allocations: 1.216 MB / 465.3 MB, free: 75.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/1.06, allocations: 132.9 kB / 465.4 MB, free: 75.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.06, allocations: 50.06 kB / 465.5 MB, free: 75.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 4.098e-06/1.06, allocations: 0 / 465.5 MB, free: 75.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01053/1.071, allocations: 3.867 MB / 469.4 MB, free: 73.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/1.071, allocations: 75.23 kB / 469.4 MB, free: 73.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/1.073, allocations: 1.053 MB / 470.5 MB, free: 73.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/1.074, allocations: 29.27 kB / 470.5 MB, free: 73.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/1.074, allocations: 0.929 MB / 471.4 MB, free: 72.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/1.075, allocations: 423 kB / 471.9 MB, free: 72.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/1.075, allocations: 0 / 471.9 MB, free: 72.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/1.075, allocations: 367.8 kB / 472.2 MB, free: 71.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/1.076, allocations: 0.6329 MB / 472.9 MB, free: 71.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/1.078, allocations: 0.7835 MB / 473.6 MB, free: 71.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/1.079, allocations: 0.7588 MB / 474.4 MB, free: 70.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.08, allocations: 4 kB / 474.4 MB, free: 70.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00465/1.084, allocations: 2.003 MB / 476.4 MB, free: 68.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/1.084, allocations: 8 kB / 476.4 MB, free: 68.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.084, allocations: 4 kB / 476.4 MB, free: 68.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/1.087, allocations: 0.6855 MB / 477.1 MB, free: 68.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.089, allocations: 208.9 kB / 477.3 MB, free: 68.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/1.103, allocations: 10.13 MB / 487.4 MB, free: 58.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.105, allocations: 26.17 kB / 487.5 MB, free: 58.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/1.105, allocations: 43.47 kB / 487.5 MB, free: 58.39 MB / 362.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.0003373/1.105, allocations: 128.6 kB / 487.6 MB, free: 58.26 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004401/1.11, allocations: 1.862 MB / 489.5 MB, free: 56.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006241/1.11, allocations: 146.3 kB / 489.6 MB, free: 56.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/1.115, allocations: 1.974 MB / 491.6 MB, free: 54.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/1.115, allocations: 12 kB / 491.6 MB, free: 54.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.115, allocations: 4 kB / 491.6 MB, free: 54.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/1.115, allocations: 11.98 kB / 491.6 MB, free: 54.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.126, allocations: 4.249 MB / 495.9 MB, free: 50.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.126, allocations: 0 / 495.9 MB, free: 50.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.127, allocations: 163.8 kB / 496 MB, free: 49.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/1.13, allocations: 0.6691 MB / 496.7 MB, free: 49.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/1.13, allocations: 11.98 kB / 496.7 MB, free: 49.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.144, allocations: 10.03 MB / 0.4949 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.144, allocations: 0 / 0.4949 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006243/1.151, allocations: 3.002 MB / 0.4978 GB, free: 35.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.152, allocations: 379.3 kB / 0.4982 GB, free: 35.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/1.152, allocations: 11.98 kB / 0.4982 GB, free: 35.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.154, allocations: 47.95 kB / 0.4982 GB, free: 35.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004144/1.154, allocations: 113.1 kB / 0.4983 GB, free: 35.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.154, allocations: 39.98 kB / 0.4984 GB, free: 35.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001641/1.156, allocations: 0.8171 MB / 0.4992 GB, free: 34.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.156, allocations: 0 / 0.4992 GB, free: 34.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003027/1.159, allocations: 475.9 kB / 0.4996 GB, free: 33.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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.006866/1.166, allocations: 3.774 MB / 0.5033 GB, free: 29.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004719/1.171, allocations: 2.233 MB / 0.5055 GB, free: 27.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.171, allocations: 0.875 kB / 0.5055 GB, free: 27.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/1.174, allocations: 1.507 MB / 0.507 GB, free: 26.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.177, allocations: 328.2 kB / 0.5073 GB, free: 25.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.189, allocations: 4.234 MB / 0.5114 GB, free: 21.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/1.191, allocations: 2.028 MB / 0.5134 GB, free: 19.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.193, allocations: 0.7727 MB / 0.5141 GB, free: 18.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.923e-06/1.193, allocations: 0 / 0.5141 GB, free: 18.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.876/5.069, allocations: 82.41 MB / 0.5946 GB, free: 101.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat