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 1.959/1.959, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.598e-05, allocations: 0 / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 44.51 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5505, allocations: 87.57 MB / 387.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.5509, allocations: 84.3 kB / 387.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4918/1.043, allocations: 117.6 MB / 0.4934 GB, free: 10.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.043, allocations: 0 / 0.4934 GB, free: 10.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006227/1.043, allocations: 115.8 kB / 0.4935 GB, free: 10.57 MB / 394.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.01741/1.061, allocations: 3.82 MB / 0.4972 GB, free: 6.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/1.061, allocations: 8.031 kB / 0.4972 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00299/1.064, allocations: 0.5535 MB / 0.4978 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/1.068, allocations: 0.5605 MB / 0.4983 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.079, allocations: 2.718 MB / 0.501 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005714/1.08, allocations: 293.2 kB / 0.5013 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/1.082, allocations: 387 kB / 0.5016 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02214/1.104, allocations: 5.579 MB / 0.5071 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/1.105, allocations: 7.938 kB / 0.5071 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/1.106, allocations: 167.7 kB / 0.5073 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003851/1.107, allocations: 204 kB / 0.5074 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.124, allocations: 4.549 MB / 0.5119 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3709/1.495, allocations: 16.44 MB / 0.5279 GB, free: 53.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/1.506, allocations: 6.715 MB / 0.5345 GB, free: 50.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007058/1.514, allocations: 2.624 MB / 0.5371 GB, free: 50.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007149/1.514, allocations: 147.2 kB / 0.5372 GB, free: 50.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/1.514, allocations: 59.44 kB / 0.5373 GB, free: 50.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 6.252e-06/1.514, allocations: 3.156 kB / 0.5373 GB, free: 50.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.02566/1.54, allocations: 7.74 MB / 0.5448 GB, free: 49.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/1.54, allocations: 88.89 kB / 0.5449 GB, free: 49.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/1.546, allocations: 2.323 MB / 0.5472 GB, free: 48.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006214/1.547, allocations: 68.83 kB / 0.5472 GB, free: 48.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.549, allocations: 1.503 MB / 0.5487 GB, free: 48.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.55, allocations: 0.8369 MB / 0.5495 GB, free: 47.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/1.55, allocations: 50.38 kB / 0.5496 GB, free: 47.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/1.551, allocations: 408.5 kB / 0.55 GB, free: 47.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/1.554, allocations: 1.282 MB / 0.5512 GB, free: 47.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003829/1.558, allocations: 1.571 MB / 0.5527 GB, free: 47.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/1.562, allocations: 1.518 MB / 0.5542 GB, free: 47.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/1.562, allocations: 3.719 kB / 0.5542 GB, free: 47.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01195/1.574, allocations: 4.141 MB / 0.5583 GB, free: 46.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/1.574, allocations: 9.375 kB / 0.5583 GB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/1.574, allocations: 11.31 kB / 0.5583 GB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005927/1.58, allocations: 1.401 MB / 0.5597 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/1.583, allocations: 388 kB / 0.56 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03318/1.616, allocations: 23.42 MB / 0.5829 GB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/1.62, allocations: 93.25 kB / 0.583 GB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007074/1.621, allocations: 82.03 kB / 0.5831 GB, free: 33.44 MB / 410.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.0007171/1.621, allocations: 232.7 kB / 0.5833 GB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.622, allocations: 300.3 kB / 0.5836 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/1.634, allocations: 4.084 MB / 0.5876 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/1.634, allocations: 25.78 kB / 0.5876 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.634, allocations: 18.39 kB / 0.5876 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.688e-05/1.634, allocations: 10.92 kB / 0.5876 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.66, allocations: 8.808 MB / 0.5962 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/1.66, allocations: 3.438 kB / 0.5962 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.663, allocations: 296 kB / 0.5965 GB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005545/1.669, allocations: 1.376 MB / 0.5979 GB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005875/1.669, allocations: 60.95 kB / 0.5979 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03345/1.703, allocations: 23.15 MB / 0.6205 GB, free: 27.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.703, allocations: 0 / 0.6205 GB, free: 27.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/1.718, allocations: 5.977 MB / 0.6264 GB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/1.721, allocations: 0.6879 MB / 0.627 GB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.722, allocations: 55.08 kB / 0.6271 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.726, allocations: 125.5 kB / 0.6272 GB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.727, allocations: 221.8 kB / 0.6274 GB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/1.727, allocations: 67.08 kB / 0.6275 GB, free: 24.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004897/1.732, allocations: 1.817 MB / 0.6292 GB, free: 23.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.732, allocations: 0 / 0.6292 GB, free: 23.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006235/1.738, allocations: 0.9693 MB / 0.6302 GB, free: 23.71 MB / 426.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.01675/1.755, allocations: 6.846 MB / 0.6369 GB, free: 20.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01132/1.767, allocations: 4.729 MB / 0.6415 GB, free: 18.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.767, allocations: 2.188 kB / 0.6415 GB, free: 18.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007989/1.775, allocations: 3.286 MB / 0.6447 GB, free: 16.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007429/1.782, allocations: 0.8881 MB / 0.6456 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/1.809, allocations: 8.144 MB / 0.6535 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006259/1.816, allocations: 3.173 MB / 0.6566 GB, free: 8.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004247/1.82, allocations: 1.465 MB / 0.6581 GB, free: 7.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.903e-06/1.82, allocations: 0 / 0.6581 GB, free: 7.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.852/7.672, allocations: 271 MB / 0.9227 GB, free: 69.32 MB / 458.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