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.813/1.813, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.708e-05, allocations: 0 / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09521, allocations: 44.53 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.425/0.5203, allocations: 83.45 MB / 383.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5206, allocations: 78.73 kB / 383.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1802/0.7008, allocations: 53.84 MB / 437.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7009, allocations: 4 kB / 437.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001969/0.7011, allocations: 67.3 kB / 437.4 MB, free: 11.06 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.01046/0.7116, allocations: 2.754 MB / 440.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7117, allocations: 8.031 kB / 440.2 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00129/0.713, allocations: 432.9 kB / 440.6 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.7174, allocations: 0.5937 MB / 441.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/0.7231, allocations: 1.819 MB / 443 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.7234, allocations: 201.4 kB / 443.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006913/0.7241, allocations: 267.9 kB / 443.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00926/0.7333, allocations: 3.468 MB / 446.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.23e-05/0.7335, allocations: 0 / 446.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/0.7339, allocations: 112 kB / 447 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.7341, allocations: 105.4 kB / 447.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007921/0.742, allocations: 2.782 MB / 449.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/0.7691, allocations: 10.54 MB / 460.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008277/0.7775, allocations: 4.617 MB / 465.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.7798, allocations: 0.8834 MB / 466 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006369/0.7862, allocations: 2.442 MB / 468.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.7863, allocations: 55.36 kB / 468.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.897e-06/0.7863, allocations: 0 / 468.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.004125/0.7904, allocations: 1.459 MB / 469.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.7905, allocations: 89.98 kB / 470 MB, free: 9.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.7932, allocations: 1.206 MB / 471.2 MB, free: 7.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.7933, allocations: 41.7 kB / 471.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.7944, allocations: 1.164 MB / 472.4 MB, free: 6.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.7949, allocations: 357.7 kB / 472.8 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.795, allocations: 20 kB / 472.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7952, allocations: 357.9 kB / 473.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.7965, allocations: 0.5374 MB / 473.7 MB, free: 5.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.7982, allocations: 0.8015 MB / 474.5 MB, free: 4.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.7998, allocations: 0.6817 MB / 475.2 MB, free: 3.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.7998, allocations: 0 / 475.2 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005057/0.8049, allocations: 1.901 MB / 477.1 MB, free: 2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.8049, allocations: 8 kB / 477.1 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.805, allocations: 8 kB / 477.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.8066, allocations: 395.7 kB / 477.5 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.8082, allocations: 223.6 kB / 477.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.8197, allocations: 6.051 MB / 483.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.8214, allocations: 146.8 kB / 483.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.8216, allocations: 52.05 kB / 483.9 MB, free: 10.87 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.0003382/0.8219, allocations: 168.7 kB / 484.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.8222, allocations: 134.4 kB / 484.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/0.8268, allocations: 1.605 MB / 485.8 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.8269, allocations: 12 kB / 485.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.8269, allocations: 4 kB / 485.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.8269, allocations: 7.969 kB / 485.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009999/0.8369, allocations: 3.909 MB / 489.8 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.837, allocations: 4.031 kB / 489.8 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.8381, allocations: 139.8 kB / 489.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.8397, allocations: 395 kB / 490.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.8399, allocations: 39.92 kB / 490.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.851, allocations: 6.037 MB / 496.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.851, allocations: 0 / 496.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006009/0.857, allocations: 2.498 MB / 498.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.8576, allocations: 239.4 kB / 499.1 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.8579, allocations: 31.98 kB / 499.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8593, allocations: 103.9 kB / 499.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/0.8597, allocations: 104.6 kB / 499.3 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.8598, allocations: 27.98 kB / 499.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002082/0.8619, allocations: 0.9332 MB / 0.4886 GB, free: 10.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8619, allocations: 0 / 0.4886 GB, free: 10.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002455/0.8644, allocations: 0.6688 MB / 0.4892 GB, free: 9.371 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.006539/0.8709, allocations: 3.615 MB / 0.4927 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.8755, allocations: 1.711 MB / 0.4944 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.8755, allocations: 0 / 0.4944 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00286/0.8784, allocations: 1.09 MB / 0.4955 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.8807, allocations: 276.5 kB / 0.4957 GB, free: 2.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.8926, allocations: 4.483 MB / 0.5001 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/0.8956, allocations: 2.23 MB / 0.5023 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001835/0.8975, allocations: 330.7 kB / 0.5026 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.8992, allocations: 0.8703 MB / 0.5035 GB, free: 10.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.8992, allocations: 0 / 0.5035 GB, free: 10.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3811/1.28, allocations: 36.04 MB / 0.5387 GB, free: 102.4 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.281, allocations: 198.3 kB / 0.5388 GB, free: 102.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.345/4.626, allocations: 0 / 0.5388 GB, free: 102.2 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