Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.798e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09017, allocations: 44.49 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5016, allocations: 83.46 MB / 383.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5019, allocations: 80.64 kB / 383.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1878/0.6897, allocations: 53.84 MB / 437.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6898, allocations: 4 kB / 437.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002264/0.69, allocations: 67.94 kB / 437.4 MB, free: 11 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01181/0.7018, allocations: 2.755 MB / 440.2 MB, free: 8.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.7019, allocations: 8.031 kB / 440.2 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001579/0.7035, allocations: 432.9 kB / 440.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.7085, allocations: 0.6013 MB / 441.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006303/0.7149, allocations: 1.813 MB / 443 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.7153, allocations: 201.4 kB / 443.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.7164, allocations: 263.9 kB / 443.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.7267, allocations: 3.439 MB / 446.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.728e-05/0.7268, allocations: 0 / 446.9 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/0.7273, allocations: 112 kB / 447 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.7275, allocations: 113.4 kB / 447.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008427/0.7359, allocations: 2.744 MB / 449.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03483/0.7708, allocations: 10.53 MB / 460.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009887/0.7808, allocations: 4.608 MB / 465 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.783, allocations: 0.8872 MB / 465.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006488/0.7895, allocations: 2.444 MB / 468.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.7896, allocations: 47.44 kB / 468.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.727e-06/0.7896, allocations: 4 kB / 468.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.004474/0.7941, allocations: 1.458 MB / 469.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.7942, allocations: 93.98 kB / 470 MB, free: 9.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.7971, allocations: 1.202 MB / 471.2 MB, free: 8.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/0.7974, allocations: 45.7 kB / 471.2 MB, free: 7.977 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.7986, allocations: 1.164 MB / 472.4 MB, free: 6.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.7991, allocations: 361.8 kB / 472.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.7993, allocations: 24 kB / 472.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.7994, allocations: 353.9 kB / 473.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.8008, allocations: 0.5336 MB / 473.6 MB, free: 5.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.8024, allocations: 0.799 MB / 474.4 MB, free: 4.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.8041, allocations: 0.6778 MB / 475.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.8041, allocations: 0 / 475.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005197/0.8093, allocations: 1.875 MB / 477 MB, free: 2.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.8094, allocations: 12.03 kB / 477 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.8094, allocations: 8 kB / 477 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.8112, allocations: 395 kB / 477.4 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.8129, allocations: 223.6 kB / 477.6 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.8244, allocations: 6.051 MB / 483.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.8263, allocations: 154.8 kB / 483.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.8265, allocations: 44 kB / 483.8 MB, free: 10.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.8268, allocations: 168.7 kB / 484 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.8272, allocations: 146.2 kB / 484.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/0.8317, allocations: 1.597 MB / 485.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.8318, allocations: 11.98 kB / 485.8 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.8318, allocations: 12 kB / 485.8 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.8319, allocations: 3.984 kB / 485.8 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.8422, allocations: 3.903 MB / 489.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.8423, allocations: 7.938 kB / 489.7 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.8435, allocations: 131.8 kB / 489.8 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.8452, allocations: 400.7 kB / 490.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.8453, allocations: 43.92 kB / 490.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.8565, allocations: 6.029 MB / 496.3 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8566, allocations: 4.062 kB / 496.3 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006027/0.8626, allocations: 2.497 MB / 498.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006765/0.8634, allocations: 243.3 kB / 499 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.8637, allocations: 31.98 kB / 499 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.8651, allocations: 95.91 kB / 499.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/0.8655, allocations: 96.69 kB / 499.2 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.8656, allocations: 35.98 kB / 499.3 MB, free: 11.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002089/0.8677, allocations: 0.9293 MB / 0.4885 GB, free: 10.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.8678, allocations: 3.938 kB / 0.4885 GB, free: 10.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002856/0.8706, allocations: 0.6765 MB / 0.4891 GB, free: 9.422 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,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 (62): * Single equations (assignments): 60 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006658/0.8773, allocations: 3.6 MB / 0.4927 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004406/0.8817, allocations: 1.67 MB / 0.4943 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.8818, allocations: 0 / 0.4943 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.8848, allocations: 1.06 MB / 0.4953 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.8874, allocations: 283.1 kB / 0.4956 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.9004, allocations: 4.482 MB / 0.5 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/0.9035, allocations: 2.23 MB / 0.5021 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001915/0.9054, allocations: 334.7 kB / 0.5025 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/0.9073, allocations: 0.8664 MB / 0.5033 GB, free: 10.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9073, allocations: 4 kB / 0.5033 GB, free: 10.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3651/1.272, allocations: 35.83 MB / 0.5383 GB, free: 102 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.273, allocations: 197 kB / 0.5385 GB, free: 101.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/4.634, allocations: 0 / 0.5385 GB, free: 101.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat