Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.242e-05, allocations: 8 kB / 269.5 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09717, allocations: 47.57 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.531, allocations: 87.71 MB / 404.7 MB, free: 100 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5313, allocations: 84.55 kB / 404.8 MB, free: 56 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2001/0.7314, allocations: 53.91 MB / 458.7 MB, free: 1.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7315, allocations: 0 / 458.7 MB, free: 1.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001965/0.7317, allocations: 67.94 kB / 458.8 MB, free: 1.215 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.01048/0.7422, allocations: 2.745 MB / 461.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.7422, allocations: 12.03 kB / 461.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001283/0.7435, allocations: 440.8 kB / 462 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.748, allocations: 0.5937 MB / 462.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005581/0.7536, allocations: 1.814 MB / 464.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.7538, allocations: 205.3 kB / 464.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006835/0.7545, allocations: 256 kB / 464.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00912/0.7637, allocations: 3.447 MB / 468.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.307e-05/0.7638, allocations: 0 / 468.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004302/0.7642, allocations: 116 kB / 468.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/0.7644, allocations: 101.4 kB / 468.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007768/0.7722, allocations: 2.756 MB / 471.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02818/0.8004, allocations: 10.53 MB / 481.8 MB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008387/0.8088, allocations: 4.608 MB / 486.4 MB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.811, allocations: 0.8873 MB / 487.3 MB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006256/0.8173, allocations: 2.445 MB / 489.7 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.8174, allocations: 55.38 kB / 489.8 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 5.12e-06/0.8174, allocations: 0 / 489.8 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.004057/0.8215, allocations: 1.459 MB / 491.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.8216, allocations: 89.98 kB / 491.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.8242, allocations: 1.21 MB / 492.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.8244, allocations: 49.7 kB / 492.6 MB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.8255, allocations: 1.152 MB / 493.7 MB, free: 12.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.826, allocations: 358.8 kB / 494.1 MB, free: 12.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.8261, allocations: 24 kB / 494.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.8263, allocations: 353.9 kB / 494.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.8277, allocations: 0.5335 MB / 495 MB, free: 11.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.8293, allocations: 0.799 MB / 495.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.8321, allocations: 0.6739 MB / 496.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.8321, allocations: 4 kB / 496.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.008281/0.8404, allocations: 1.871 MB / 498.3 MB, free: 8.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.8405, allocations: 8 kB / 498.3 MB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.8405, allocations: 8 kB / 498.3 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.8432, allocations: 399.3 kB / 498.7 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.846, allocations: 219.7 kB / 498.9 MB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.8575, allocations: 6.056 MB / 0.4932 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.8592, allocations: 138.8 kB / 0.4933 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.8594, allocations: 51.98 kB / 0.4933 GB, free: 0.9688 MB / 410.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.0003408/0.8597, allocations: 164.7 kB / 0.4935 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.8601, allocations: 142.3 kB / 0.4936 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/0.8646, allocations: 1.601 MB / 0.4952 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.8646, allocations: 12 kB / 0.4952 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.8646, allocations: 4 kB / 0.4952 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.8647, allocations: 7.984 kB / 0.4952 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009858/0.8745, allocations: 3.922 MB / 0.4991 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.8746, allocations: 0 / 0.4991 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.8757, allocations: 135.8 kB / 0.4992 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.8773, allocations: 393.1 kB / 0.4996 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.8775, allocations: 39.98 kB / 0.4996 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.8887, allocations: 6.034 MB / 0.5055 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.8887, allocations: 11.91 kB / 0.5055 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/0.8947, allocations: 2.491 MB / 0.5079 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.8952, allocations: 243.2 kB / 0.5082 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/0.8956, allocations: 31.98 kB / 0.5082 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.897, allocations: 99.91 kB / 0.5083 GB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.8974, allocations: 96.58 kB / 0.5084 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.8975, allocations: 35.98 kB / 0.5084 GB, free: 1.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002037/0.8996, allocations: 0.9293 MB / 0.5093 GB, free: 112 kB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8996, allocations: 4 kB / 0.5093 GB, free: 108 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.2693/1.169, allocations: 0.6741 MB / 0.51 GB, free: 112.6 MB / 426.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.006898/1.176, allocations: 3.59 MB / 0.5135 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004226/1.18, allocations: 1.662 MB / 0.5151 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.18, allocations: 4.406 kB / 0.5151 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/1.183, allocations: 1.065 MB / 0.5162 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/1.185, allocations: 277.5 kB / 0.5164 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.198, allocations: 4.49 MB / 0.5208 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/1.201, allocations: 2.233 MB / 0.523 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001864/1.203, allocations: 332.1 kB / 0.5233 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.205, allocations: 0.8708 MB / 0.5242 GB, free: 109 MB / 426.7 MB Notification: Performance of SimCode: time 1.734e-06/1.205, allocations: 0 / 0.5242 GB, free: 109 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0924/1.297, allocations: 35.95 MB / 0.5593 GB, free: 106.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/1.297, allocations: 200.9 kB / 0.5595 GB, free: 105.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/4.652, allocations: 0 / 0.5595 GB, free: 105.9 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat