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 1.945/1.945, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.58e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 44.5 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5425, allocations: 85.98 MB / 385.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5429, allocations: 85.28 kB / 386 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2588/0.8017, allocations: 64.02 MB / 450 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8018, allocations: 0 / 450 MB, free: 15.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000252/0.802, allocations: 63.88 kB / 450.1 MB, free: 15.66 MB / 346.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.008315/0.8103, allocations: 2.259 MB / 452.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.8104, allocations: 12.03 kB / 452.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001162/0.8116, allocations: 324.7 kB / 452.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.813, allocations: 320.6 kB / 453 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/0.8181, allocations: 1.563 MB / 454.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.8184, allocations: 164.1 kB / 454.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005979/0.819, allocations: 216 kB / 454.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008509/0.8275, allocations: 3.043 MB / 457.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/0.8276, allocations: 3.938 kB / 458 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003709/0.828, allocations: 95.75 kB / 458 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.8282, allocations: 120.4 kB / 458.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/0.8363, allocations: 2.458 MB / 460.6 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.861, allocations: 8.904 MB / 469.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/0.8665, allocations: 3.314 MB / 472.8 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/0.8699, allocations: 1.312 MB / 474.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.8704, allocations: 134.4 kB / 474.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.8705, allocations: 51.88 kB / 474.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 3.998e-06/0.8705, allocations: 0 / 474.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01211/0.8826, allocations: 4.093 MB / 478.4 MB, free: 2.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.8828, allocations: 68.72 kB / 478.5 MB, free: 2.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.886, allocations: 1.322 MB / 479.8 MB, free: 1.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.8862, allocations: 45.7 kB / 479.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008941/0.8871, allocations: 0.8952 MB / 480.8 MB, free: 196 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000611/0.8877, allocations: 445.2 kB / 481.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.8879, allocations: 24 kB / 481.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.8881, allocations: 362.8 kB / 481.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.8898, allocations: 0.6546 MB / 482.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.8918, allocations: 0.8153 MB / 483 MB, free: 13.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.8938, allocations: 0.7817 MB / 483.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.8938, allocations: 4 kB / 483.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006045/0.8999, allocations: 2.116 MB / 485.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.9, allocations: 13.56 kB / 486 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.9, allocations: 0 / 486 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003144/0.9031, allocations: 0.698 MB / 486.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.9049, allocations: 203.7 kB / 486.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/0.9243, allocations: 10.49 MB / 497.3 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.9263, allocations: 52.03 kB / 497.4 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.9266, allocations: 43.95 kB / 497.4 MB, free: 14.89 MB / 394.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.0004149/0.927, allocations: 183.6 kB / 497.6 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005535/0.9276, allocations: 158.1 kB / 497.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00596/0.9335, allocations: 2.101 MB / 499.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.9336, allocations: 12 kB / 499.9 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.9336, allocations: 8 kB / 499.9 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-05/0.9337, allocations: 7.969 kB / 499.9 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.9478, allocations: 4.671 MB / 0.4927 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.9479, allocations: 3.984 kB / 0.4927 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.9493, allocations: 159.9 kB / 0.4929 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/0.9523, allocations: 0.6832 MB / 0.4936 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/0.9526, allocations: 35.95 kB / 0.4936 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.9714, allocations: 10.37 MB / 0.5037 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9714, allocations: 0 / 0.5037 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008382/0.9798, allocations: 3.175 MB / 0.5068 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.9814, allocations: 411.6 kB / 0.5072 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/0.9819, allocations: 32 kB / 0.5072 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.9835, allocations: 67.94 kB / 0.5073 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/0.984, allocations: 117.1 kB / 0.5074 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.9841, allocations: 35.98 kB / 0.5075 GB, free: 7.957 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002703/0.9868, allocations: 1.035 MB / 0.5085 GB, free: 6.918 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9869, allocations: 3.938 kB / 0.5085 GB, free: 6.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003212/0.9901, allocations: 0.5234 MB / 0.509 GB, free: 6.391 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 75 * 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.009596/0.9997, allocations: 4.119 MB / 0.513 GB, free: 2.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2757/1.275, allocations: 2.314 MB / 0.5153 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.276, allocations: 1.281 kB / 0.5153 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004171/1.28, allocations: 1.584 MB / 0.5168 GB, free: 99.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.284, allocations: 476.2 kB / 0.5173 GB, free: 99.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.297, allocations: 4.399 MB / 0.5216 GB, free: 98.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/1.301, allocations: 2.023 MB / 0.5235 GB, free: 98.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/1.303, allocations: 0.7908 MB / 0.5243 GB, free: 98.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/1.303, allocations: 0 / 0.5243 GB, free: 98.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.789/5.092, allocations: 84.86 MB / 0.6072 GB, free: 57.32 MB / 410.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