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 2.114/2.114, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.58e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3164, allocations: 44.5 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.4653, allocations: 82.79 MB / 377 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.4657, allocations: 87.89 kB / 377.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.484/0.9497, allocations: 53.18 MB / 430.3 MB, free: 83.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.9498, allocations: 0 / 430.3 MB, free: 83.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002431/0.95, allocations: 70.59 kB / 430.4 MB, free: 83.69 MB / 362.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.01172/0.9618, allocations: 2.756 MB / 433.1 MB, free: 82.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.9618, allocations: 9.469 kB / 433.1 MB, free: 82.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.9669, allocations: 0.5925 MB / 433.7 MB, free: 82.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0059/0.9728, allocations: 1.814 MB / 435.5 MB, free: 82.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.973, allocations: 86.19 kB / 435.6 MB, free: 82.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008493/0.9739, allocations: 151.4 kB / 435.8 MB, free: 82.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007303/0.9812, allocations: 2.635 MB / 438.4 MB, free: 82.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008405/0.9897, allocations: 3.079 MB / 441.5 MB, free: 81.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-05/0.9898, allocations: 0 / 441.5 MB, free: 81.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/0.9902, allocations: 3.406 kB / 441.5 MB, free: 81.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.9903, allocations: 105.8 kB / 441.6 MB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/1.015, allocations: 10.01 MB / 451.6 MB, free: 79.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006743/1.022, allocations: 4.564 MB / 456.2 MB, free: 75.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/1.023, allocations: 0.8423 MB / 457 MB, free: 74.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005745/1.029, allocations: 2.408 MB / 459.4 MB, free: 73.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/1.029, allocations: 47.08 kB / 459.4 MB, free: 73.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.777e-06/1.029, allocations: 0 / 459.4 MB, free: 73.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.004364/1.034, allocations: 1.519 MB / 461 MB, free: 72.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.034, allocations: 89.11 kB / 461.1 MB, free: 72.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/1.036, allocations: 1.108 MB / 462.2 MB, free: 72.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/1.036, allocations: 25.7 kB / 462.2 MB, free: 72.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008822/1.037, allocations: 1.154 MB / 463.3 MB, free: 71.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004882/1.038, allocations: 339.4 kB / 463.7 MB, free: 71.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.038, allocations: 3.938 kB / 463.7 MB, free: 71.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/1.038, allocations: 351.1 kB / 464 MB, free: 70.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.039, allocations: 0.5114 MB / 464.5 MB, free: 70.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.04, allocations: 0.7774 MB / 465.3 MB, free: 70.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/1.043, allocations: 0.7849 MB / 466.1 MB, free: 69.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/1.043, allocations: 0 / 466.1 MB, free: 69.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005291/1.048, allocations: 1.909 MB / 468 MB, free: 69.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/1.048, allocations: 8.906 kB / 468 MB, free: 69.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.048, allocations: 6.594 kB / 468 MB, free: 69.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/1.05, allocations: 393.5 kB / 468.4 MB, free: 69.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/1.051, allocations: 223.1 kB / 468.6 MB, free: 69.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/1.061, allocations: 5.841 MB / 474.5 MB, free: 65.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.063, allocations: 131.4 kB / 474.6 MB, free: 65.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.063, allocations: 46.34 kB / 474.6 MB, free: 65.15 MB / 362.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.0002993/1.063, allocations: 128.2 kB / 474.8 MB, free: 65.04 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004311/1.067, allocations: 1.518 MB / 476.3 MB, free: 64.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/1.068, allocations: 133.6 kB / 476.4 MB, free: 64.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/1.073, allocations: 1.646 MB / 478.1 MB, free: 63.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/1.073, allocations: 8 kB / 478.1 MB, free: 63.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.073, allocations: 8 kB / 478.1 MB, free: 63.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/1.073, allocations: 3.891 kB / 478.1 MB, free: 63.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00933/1.082, allocations: 3.576 MB / 481.6 MB, free: 60.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.082, allocations: 0 / 481.6 MB, free: 60.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.083, allocations: 143.9 kB / 481.8 MB, free: 60.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/1.085, allocations: 383.7 kB / 482.2 MB, free: 60.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/1.085, allocations: 32.86 kB / 482.2 MB, free: 60.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009212/1.094, allocations: 5.849 MB / 488 MB, free: 54.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/1.094, allocations: 7.984 kB / 488.1 MB, free: 54.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/1.1, allocations: 2.557 MB / 490.6 MB, free: 52.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/1.101, allocations: 231 kB / 490.8 MB, free: 52.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/1.101, allocations: 15.56 kB / 490.8 MB, free: 52.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.103, allocations: 84.19 kB / 490.9 MB, free: 52.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/1.103, allocations: 88.12 kB / 491 MB, free: 52.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.103, allocations: 35.94 kB / 491.1 MB, free: 52.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001514/1.105, allocations: 0.8457 MB / 491.9 MB, free: 51.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.105, allocations: 3.75 kB / 491.9 MB, free: 51.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002787/1.107, allocations: 0.6374 MB / 492.5 MB, free: 50.62 MB / 362.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.006203/1.114, allocations: 3.617 MB / 496.2 MB, free: 47.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003519/1.117, allocations: 1.62 MB / 497.8 MB, free: 45.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.117, allocations: 0 / 497.8 MB, free: 45.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/1.12, allocations: 1.045 MB / 498.8 MB, free: 44.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/1.122, allocations: 240.8 kB / 499.1 MB, free: 44.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.133, allocations: 4.379 MB / 0.4916 GB, free: 40.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.135, allocations: 2.23 MB / 0.4938 GB, free: 38.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001762/1.137, allocations: 328.7 kB / 0.4941 GB, free: 38.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.138, allocations: 0.8625 MB / 0.495 GB, free: 37.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.432e-06/1.138, allocations: 0 / 0.495 GB, free: 37.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/1.24, allocations: 33.09 MB / 0.5273 GB, free: 4.492 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/1.241, allocations: 171.5 kB / 0.5275 GB, free: 4.293 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/4.65, allocations: 0 / 0.5275 GB, free: 4.293 MB / 362.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