Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.819/1.819, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.672e-05, allocations: 0 / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2587, allocations: 38.77 MB / 263.9 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.4081, allocations: 77.24 MB / 341.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.4084, allocations: 79.95 kB / 341.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4027/0.8112, allocations: 51.74 MB / 392.9 MB, free: 75.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8112, allocations: 0 / 392.9 MB, free: 75.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001683/0.8114, allocations: 69.98 kB / 393 MB, free: 75.07 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.009119/0.8205, allocations: 2.669 MB / 395.6 MB, free: 73.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.8206, allocations: 11.25 kB / 395.7 MB, free: 73.8 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009792/0.8216, allocations: 408.1 kB / 396.1 MB, free: 73.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.8236, allocations: 414.2 kB / 396.5 MB, free: 73.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.8283, allocations: 1.755 MB / 398.2 MB, free: 72.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.8285, allocations: 192.2 kB / 398.4 MB, free: 72.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/0.829, allocations: 251.5 kB / 398.6 MB, free: 72.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/0.8361, allocations: 3.222 MB / 401.9 MB, free: 69.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.971e-05/0.8362, allocations: 0 / 401.9 MB, free: 69.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003502/0.8366, allocations: 111.4 kB / 402 MB, free: 69.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.8367, allocations: 100 kB / 402.1 MB, free: 69.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00586/0.8426, allocations: 2.46 MB / 404.5 MB, free: 66.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.8641, allocations: 9.774 MB / 414.3 MB, free: 56.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.8665, allocations: 1.454 MB / 415.8 MB, free: 55.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.8678, allocations: 0.6808 MB / 416.4 MB, free: 54.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.8679, allocations: 10.56 kB / 416.5 MB, free: 54.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.868, allocations: 51.28 kB / 416.5 MB, free: 54.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 4.939e-06/0.868, allocations: 0 / 416.5 MB, free: 54.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.003303/0.8713, allocations: 1.322 MB / 417.8 MB, free: 53.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.8713, allocations: 89.55 kB / 417.9 MB, free: 53.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.8735, allocations: 1.202 MB / 419.1 MB, free: 51.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.8736, allocations: 41.7 kB / 419.2 MB, free: 51.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007065/0.8744, allocations: 1.113 MB / 420.3 MB, free: 50.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.8746, allocations: 306.7 kB / 420.6 MB, free: 50.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.8747, allocations: 20 kB / 420.6 MB, free: 50.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.8748, allocations: 345.9 kB / 420.9 MB, free: 50.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.8758, allocations: 482.4 kB / 421.4 MB, free: 49.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.877, allocations: 0.7023 MB / 422.1 MB, free: 48.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.8782, allocations: 0.5925 MB / 422.7 MB, free: 48.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.8783, allocations: 11.89 kB / 422.7 MB, free: 48.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004001/0.8823, allocations: 1.713 MB / 424.4 MB, free: 46.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.8823, allocations: 12.61 kB / 424.4 MB, free: 46.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.8823, allocations: 8 kB / 424.4 MB, free: 46.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.8839, allocations: 406.8 kB / 424.8 MB, free: 46.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.8852, allocations: 183.8 kB / 425 MB, free: 45.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009577/0.8948, allocations: 6.139 MB / 431.2 MB, free: 39.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.8963, allocations: 122.9 kB / 431.3 MB, free: 39.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/0.8964, allocations: 39.98 kB / 431.3 MB, free: 39.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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.0002697/0.8967, allocations: 172.5 kB / 431.5 MB, free: 39.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.897, allocations: 130.4 kB / 431.6 MB, free: 39.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.8974, allocations: 163.3 kB / 431.8 MB, free: 38.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.8975, allocations: 12 kB / 431.8 MB, free: 38.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/0.8975, allocations: 4 kB / 431.8 MB, free: 38.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.8975, allocations: 3.984 kB / 431.8 MB, free: 38.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007993/0.9055, allocations: 3.696 MB / 435.5 MB, free: 35.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.9056, allocations: 352 / 435.5 MB, free: 35.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.9064, allocations: 111.9 kB / 435.6 MB, free: 34.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.9079, allocations: 402.6 kB / 436 MB, free: 34.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.908, allocations: 31.98 kB / 436 MB, free: 34.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009553/0.9176, allocations: 6.055 MB / 442.1 MB, free: 28.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9177, allocations: 0 / 442.1 MB, free: 28.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/0.9223, allocations: 2.329 MB / 444.4 MB, free: 25.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.9234, allocations: 339.3 kB / 444.7 MB, free: 25.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.9237, allocations: 31.98 kB / 444.8 MB, free: 25.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.925, allocations: 95.91 kB / 444.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.9254, allocations: 95.77 kB / 445 MB, free: 25.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/0.9255, allocations: 27.98 kB / 445 MB, free: 25.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001764/0.9272, allocations: 0.9252 MB / 445.9 MB, free: 24.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.9273, allocations: 0 / 445.9 MB, free: 24.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002343/0.9296, allocations: 0.6299 MB / 446.5 MB, free: 23.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.005039/0.9347, allocations: 3.747 MB / 450.3 MB, free: 19.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003476/0.9382, allocations: 1.548 MB / 451.8 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.9382, allocations: 0 / 451.8 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/0.9406, allocations: 1.019 MB / 452.8 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.9429, allocations: 280.1 kB / 453.1 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009915/0.9529, allocations: 4.277 MB / 457.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.9549, allocations: 2.17 MB / 459.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001342/0.9563, allocations: 270 kB / 459.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.9576, allocations: 0.8156 MB / 460.6 MB, free: 9.215 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9576, allocations: 3.938 kB / 460.7 MB, free: 9.211 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/1.078, allocations: 34.11 MB / 494.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.078, allocations: 201.9 kB / 495 MB, free: 6.926 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/4.713, allocations: 4 kB / 495 MB, free: 6.922 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat