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.713/1.713, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.149e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.3966, allocations: 77.25 MB / 341.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/0.3969, allocations: 75.95 kB / 341.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4298/0.8267, allocations: 51.73 MB / 392.9 MB, free: 74.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8268, allocations: 4.188 kB / 392.9 MB, free: 74.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002501/0.8271, allocations: 64.05 kB / 393 MB, free: 74.88 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.01122/0.8383, allocations: 2.674 MB / 395.7 MB, free: 73.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.8384, allocations: 7.406 kB / 395.7 MB, free: 73.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001597/0.84, allocations: 419 kB / 396.1 MB, free: 73.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.8428, allocations: 416.4 kB / 396.5 MB, free: 73.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00556/0.8484, allocations: 1.761 MB / 398.3 MB, free: 72.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.8487, allocations: 192.3 kB / 398.4 MB, free: 72.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009468/0.8497, allocations: 247.1 kB / 398.7 MB, free: 72.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009736/0.8594, allocations: 3.191 MB / 401.9 MB, free: 69.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.343e-05/0.8596, allocations: 3.938 kB / 401.9 MB, free: 69.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/0.8601, allocations: 108 kB / 402 MB, free: 69.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.8603, allocations: 105.1 kB / 402.1 MB, free: 69.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007456/0.8677, allocations: 2.423 MB / 404.5 MB, free: 66.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02592/0.8937, allocations: 9.772 MB / 414.3 MB, free: 56.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.8964, allocations: 1.44 MB / 415.7 MB, free: 55.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.8981, allocations: 0.6769 MB / 416.4 MB, free: 54.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.371e-05/0.8983, allocations: 8.766 kB / 416.4 MB, free: 54.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.8983, allocations: 59.2 kB / 416.5 MB, free: 54.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 4.228e-06/0.8984, allocations: 0 / 416.5 MB, free: 54.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.004012/0.9024, allocations: 1.324 MB / 417.8 MB, free: 53.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.9025, allocations: 89.48 kB / 417.9 MB, free: 53.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.9051, allocations: 1.198 MB / 419.1 MB, free: 51.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.9054, allocations: 41.7 kB / 419.1 MB, free: 51.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008119/0.9062, allocations: 1.113 MB / 420.2 MB, free: 50.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.9067, allocations: 316.9 kB / 420.5 MB, free: 50.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.9068, allocations: 20 kB / 420.6 MB, free: 50.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.9069, allocations: 345.9 kB / 420.9 MB, free: 49.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.9081, allocations: 478.4 kB / 421.4 MB, free: 49.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.9094, allocations: 0.6957 MB / 422.1 MB, free: 48.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.9108, allocations: 0.6003 MB / 422.7 MB, free: 48.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.9109, allocations: 0 / 422.7 MB, free: 48.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004682/0.9156, allocations: 1.693 MB / 424.4 MB, free: 46.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.9157, allocations: 14.06 kB / 424.4 MB, free: 46.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.9157, allocations: 8 kB / 424.4 MB, free: 46.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.9174, allocations: 414.9 kB / 424.8 MB, free: 45.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.9189, allocations: 171.8 kB / 424.9 MB, free: 45.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.9293, allocations: 6.14 MB / 431.1 MB, free: 39.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.9311, allocations: 131 kB / 431.2 MB, free: 39.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.9314, allocations: 39.98 kB / 431.3 MB, free: 39.25 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.0003/0.9317, allocations: 171.9 kB / 431.4 MB, free: 39.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.9322, allocations: 134.4 kB / 431.6 MB, free: 38.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.9327, allocations: 159.4 kB / 431.7 MB, free: 38.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.9327, allocations: 11.75 kB / 431.7 MB, free: 38.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/0.9328, allocations: 12 kB / 431.7 MB, free: 38.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.9328, allocations: 3.984 kB / 431.7 MB, free: 38.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/0.9424, allocations: 3.691 MB / 435.4 MB, free: 34.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.9424, allocations: 4 kB / 435.4 MB, free: 34.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/0.9434, allocations: 107.8 kB / 435.5 MB, free: 34.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.945, allocations: 396.9 kB / 435.9 MB, free: 34.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.9453, allocations: 35.98 kB / 436 MB, free: 34.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.9557, allocations: 6.048 MB / 442 MB, free: 28.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.9558, allocations: 4 kB / 442 MB, free: 28.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.9607, allocations: 2.325 MB / 444.3 MB, free: 25.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.9619, allocations: 339.3 kB / 444.7 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/0.9623, allocations: 31.98 kB / 444.7 MB, free: 25.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.9641, allocations: 95.91 kB / 444.8 MB, free: 25.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/0.9645, allocations: 87.77 kB / 444.9 MB, free: 25.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.9647, allocations: 27.98 kB / 444.9 MB, free: 25.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002021/0.9667, allocations: 0.9291 MB / 445.8 MB, free: 24.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.9667, allocations: 0 / 445.8 MB, free: 24.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002838/0.9696, allocations: 0.6376 MB / 446.5 MB, free: 23.53 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.005672/0.9753, allocations: 3.737 MB / 450.2 MB, free: 19.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.9793, allocations: 1.499 MB / 451.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.9794, allocations: 0 / 451.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.9821, allocations: 0.9963 MB / 452.7 MB, free: 17.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.9848, allocations: 287.8 kB / 453 MB, free: 16.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.997, allocations: 4.261 MB / 457.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/1, allocations: 2.174 MB / 459.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001502/1.002, allocations: 278 kB / 459.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/1.004, allocations: 0.8156 MB / 460.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of SimCode: time 1.973e-06/1.004, allocations: 0 / 460.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.132, allocations: 33.91 MB / 494.4 MB, free: 7.375 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/1.133, allocations: 188.7 kB / 494.6 MB, free: 7.156 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/4.542, allocations: 0 / 494.6 MB, free: 7.156 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