Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.83e-05, allocations: 0 / 292.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 50.41 MB / 342.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4852/0.5933, allocations: 85.98 MB / 428.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5936, allocations: 86.36 kB / 428.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1279/0.7215, allocations: 31.51 MB / 460.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7215, allocations: 0 / 460.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001038/0.7217, allocations: 32 kB / 460.2 MB, free: 12.79 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005704/0.7274, allocations: 1.697 MB / 461.9 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7274, allocations: 8.031 kB / 462 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004341/0.7279, allocations: 202.6 kB / 462.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.7301, allocations: 321.7 kB / 462.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.7333, allocations: 1.082 MB / 463.5 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.7335, allocations: 98.95 kB / 463.6 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.7338, allocations: 139.9 kB / 463.8 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004988/0.7388, allocations: 1.763 MB / 465.5 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.7389, allocations: 0 / 465.5 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.7392, allocations: 59.98 kB / 465.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.459e-05/0.7393, allocations: 46 kB / 465.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004268/0.7436, allocations: 1.49 MB / 467.1 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.7582, allocations: 5.591 MB / 472.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/0.763, allocations: 2.846 MB / 475.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.7641, allocations: 468.5 kB / 476 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003614/0.7677, allocations: 1.521 MB / 477.6 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.7678, allocations: 50.78 kB / 477.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.156e-06/0.7678, allocations: 0 / 477.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.002154/0.77, allocations: 0.7884 MB / 478.4 MB, free: 9.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.7701, allocations: 89.11 kB / 478.5 MB, free: 9.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.772, allocations: 0.9182 MB / 479.4 MB, free: 8.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.7721, allocations: 37.7 kB / 479.4 MB, free: 8.641 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.7727, allocations: 0.6696 MB / 480.1 MB, free: 7.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.773, allocations: 185.3 kB / 480.3 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.773, allocations: 12 kB / 480.3 MB, free: 7.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7732, allocations: 334 kB / 480.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/0.774, allocations: 325.4 kB / 480.9 MB, free: 7.117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/0.7749, allocations: 485.8 kB / 481.4 MB, free: 6.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009757/0.7759, allocations: 401.2 kB / 481.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.776, allocations: 0 / 481.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002306/0.7783, allocations: 0.9235 MB / 482.7 MB, free: 5.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.7783, allocations: 8 kB / 482.7 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.7783, allocations: 4 kB / 482.7 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/0.7784, allocations: 16.52 kB / 482.8 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.7799, allocations: 187.7 kB / 482.9 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/0.7799, allocations: 11.98 kB / 482.9 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.7809, allocations: 87.25 kB / 483 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.781, allocations: 35.98 kB / 483.1 MB, free: 4.91 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.7813, allocations: 145.6 kB / 483.2 MB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.7815, allocations: 87.25 kB / 483.3 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.7835, allocations: 0.6462 MB / 483.9 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.7835, allocations: 4 kB / 483.9 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.7836, allocations: 7.938 kB / 484 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.7836, allocations: 3.984 kB / 484 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.7877, allocations: 1.625 MB / 485.6 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.7877, allocations: 4 kB / 485.6 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009682/0.7887, allocations: 95.88 kB / 485.7 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007258/0.7894, allocations: 156.2 kB / 485.8 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.7895, allocations: 19.98 kB / 485.9 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004563/0.7941, allocations: 2.595 MB / 488.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7941, allocations: 0 / 488.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.7974, allocations: 1.413 MB / 489.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.7978, allocations: 188 kB / 490 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.798, allocations: 19.98 kB / 490.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/0.799, allocations: 67.94 kB / 490.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.7992, allocations: 51.8 kB / 490.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.7993, allocations: 23.98 kB / 490.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.8008, allocations: 0.7138 MB / 490.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.685e-06/0.8008, allocations: 0 / 490.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001433/0.8023, allocations: 370.3 kB / 491.3 MB, free: 12.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003651/0.806, allocations: 2.3 MB / 493.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.8078, allocations: 0.6938 MB / 494.3 MB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.8078, allocations: 4 kB / 494.3 MB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.8093, allocations: 0.5319 MB / 494.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.8107, allocations: 167.1 kB / 495 MB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007081/0.8178, allocations: 2.699 MB / 497.7 MB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.8196, allocations: 1.526 MB / 499.2 MB, free: 4.332 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.8207, allocations: 226.7 kB / 499.4 MB, free: 4.105 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/0.8217, allocations: 487.3 kB / 499.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8218, allocations: 0 / 499.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06732/0.8891, allocations: 21.1 MB / 0.5088 GB, free: 14.74 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/0.8894, allocations: 203.3 kB / 0.509 GB, free: 14.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/4.001, allocations: 3.938 kB / 0.509 GB, free: 14.51 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat