Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.84e-05, allocations: 0 / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 50.4 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.534, allocations: 86.86 MB / 429.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5344, allocations: 81.75 kB / 429.6 MB, free: 7.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1343/0.6687, allocations: 32.88 MB / 462.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6687, allocations: 4 kB / 462.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.6689, allocations: 51.94 kB / 462.5 MB, free: 10.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.006776/0.6757, allocations: 1.955 MB / 464.5 MB, free: 8.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.6757, allocations: 8.031 kB / 464.5 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009428/0.6767, allocations: 303.5 kB / 464.8 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.6775, allocations: 237.2 kB / 465 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.6812, allocations: 1.216 MB / 466.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.6814, allocations: 156.2 kB / 466.4 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006651/0.6821, allocations: 204 kB / 466.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/0.6896, allocations: 2.505 MB / 469.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.303e-05/0.6897, allocations: 4 kB / 469.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.69, allocations: 91.94 kB / 469.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/0.6901, allocations: 48 kB / 469.2 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006106/0.6962, allocations: 1.851 MB / 471.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.7166, allocations: 7.506 MB / 478.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/0.7202, allocations: 2.305 MB / 480.9 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.7226, allocations: 0.9033 MB / 481.8 MB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.905e-05/0.7227, allocations: 16.72 kB / 481.8 MB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.7227, allocations: 43.34 kB / 481.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.547e-06/0.7228, allocations: 0 / 481.8 MB, free: 6.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.007852/0.7306, allocations: 2.95 MB / 484.8 MB, free: 3.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.7307, allocations: 60.19 kB / 484.8 MB, free: 3.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.7324, allocations: 0.7463 MB / 485.6 MB, free: 2.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.7326, allocations: 45.7 kB / 485.6 MB, free: 2.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007379/0.7334, allocations: 0.8255 MB / 486.5 MB, free: 1.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.7338, allocations: 331.2 kB / 486.8 MB, free: 1.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.7339, allocations: 23.94 kB / 486.8 MB, free: 1.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7341, allocations: 341.9 kB / 487.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.7353, allocations: 489.8 kB / 487.6 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.7366, allocations: 0.6447 MB / 488.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.738, allocations: 0.5591 MB / 488.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.738, allocations: 3.953 kB / 488.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004143/0.7422, allocations: 1.565 MB / 490.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.7422, allocations: 12.2 kB / 490.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.7423, allocations: 8 kB / 490.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.7441, allocations: 455 kB / 490.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7455, allocations: 179.7 kB / 491 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.7583, allocations: 8.448 MB / 499.5 MB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.7602, allocations: 47.97 kB / 499.5 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.7605, allocations: 35.98 kB / 499.6 MB, free: 4.062 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004887/0.761, allocations: 168.4 kB / 499.7 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/0.7615, allocations: 98.78 kB / 499.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/0.7679, allocations: 1.498 MB / 0.4896 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.768, allocations: 8 kB / 0.4896 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.768, allocations: 4 kB / 0.4896 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.768, allocations: 7.938 kB / 0.4896 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.7792, allocations: 3.459 MB / 0.493 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/0.7793, allocations: 7.984 kB / 0.493 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.7805, allocations: 127.8 kB / 0.4931 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.7822, allocations: 447.1 kB / 0.4935 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.7824, allocations: 27.98 kB / 0.4936 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.7952, allocations: 8.349 MB / 0.5017 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7952, allocations: 0 / 0.5017 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/0.8008, allocations: 2.281 MB / 0.5039 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/0.8017, allocations: 275.9 kB / 0.5042 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.802, allocations: 19.98 kB / 0.5042 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.8028, allocations: 52.64 kB / 0.5043 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/0.8032, allocations: 80.66 kB / 0.5043 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.462e-05/0.8033, allocations: 27.98 kB / 0.5044 GB, free: 2.414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001312/0.8046, allocations: 0.5967 MB / 0.5049 GB, free: 1.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.275e-06/0.8046, allocations: 0 / 0.5049 GB, free: 1.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002436/0.8071, allocations: 403.9 kB / 0.5053 GB, free: 1.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006375/0.8135, allocations: 3.029 MB / 0.5083 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004344/0.8179, allocations: 1.777 MB / 0.51 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8179, allocations: 0 / 0.51 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.8208, allocations: 1.236 MB / 0.5112 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.8231, allocations: 275.1 kB / 0.5115 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.8338, allocations: 3.424 MB / 0.5148 GB, free: 7.473 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/0.8361, allocations: 1.746 MB / 0.5165 GB, free: 5.691 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001004/0.8372, allocations: 188.7 kB / 0.5167 GB, free: 5.504 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/0.8393, allocations: 0.6243 MB / 0.5173 GB, free: 4.879 MB / 442.7 MB Notification: Performance of SimCode: time 2.164e-06/0.8393, allocations: 0 / 0.5173 GB, free: 4.879 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3736/1.213, allocations: 30.77 MB / 0.5474 GB, free: 122.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.213, allocations: 184.7 kB / 0.5476 GB, free: 122.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/4.817, allocations: 0 / 0.5476 GB, free: 122.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat