Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 171.2 MB / 183.8 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.047e-05, allocations: 0 / 225.1 MB, free: 2.609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2587, allocations: 38.77 MB / 263.9 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.394, allocations: 77.23 MB / 341.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.3943, allocations: 79.95 kB / 341.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4194/0.8137, allocations: 51.74 MB / 392.9 MB, free: 75.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8138, allocations: 0 / 392.9 MB, free: 75.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002227/0.814, allocations: 64.3 kB / 393 MB, free: 75.15 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.01098/0.825, allocations: 2.675 MB / 395.6 MB, free: 73.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.8251, allocations: 10.86 kB / 395.7 MB, free: 73.88 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/0.8266, allocations: 410.4 kB / 396.1 MB, free: 73.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.8293, allocations: 411.5 kB / 396.5 MB, free: 73.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.8348, allocations: 1.753 MB / 398.2 MB, free: 72.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.8351, allocations: 196 kB / 398.4 MB, free: 72.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009714/0.836, allocations: 250.1 kB / 398.6 MB, free: 72.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009091/0.8452, allocations: 3.193 MB / 401.8 MB, free: 69.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-05/0.8453, allocations: 0 / 401.8 MB, free: 69.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004563/0.8458, allocations: 107.8 kB / 401.9 MB, free: 69.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.8459, allocations: 101.1 kB / 402 MB, free: 69.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007219/0.8531, allocations: 2.431 MB / 404.5 MB, free: 66.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02453/0.8777, allocations: 9.776 MB / 414.3 MB, free: 56.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.8802, allocations: 1.442 MB / 415.7 MB, free: 55.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.8817, allocations: 0.6844 MB / 416.4 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.538e-05/0.8818, allocations: 8.766 kB / 416.4 MB, free: 54.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.8818, allocations: 47.28 kB / 416.4 MB, free: 54.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 4.168e-06/0.8818, allocations: 4 kB / 416.4 MB, free: 54.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.003546/0.8854, allocations: 1.322 MB / 417.8 MB, free: 53.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.8855, allocations: 97.48 kB / 417.9 MB, free: 53.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.8879, allocations: 1.198 MB / 419 MB, free: 51.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/0.8882, allocations: 41.7 kB / 419.1 MB, free: 51.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006459/0.8889, allocations: 1.083 MB / 420.2 MB, free: 50.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.8893, allocations: 317.5 kB / 420.5 MB, free: 50.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.8894, allocations: 20 kB / 420.5 MB, free: 50.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.8895, allocations: 350.8 kB / 420.8 MB, free: 50.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.8905, allocations: 478.4 kB / 421.3 MB, free: 49.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.8917, allocations: 0.6958 MB / 422 MB, free: 48.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.893, allocations: 0.5964 MB / 422.6 MB, free: 48.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.893, allocations: 4 kB / 422.6 MB, free: 48.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003927/0.897, allocations: 1.611 MB / 424.2 MB, free: 46.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.897, allocations: 10.03 kB / 424.2 MB, free: 46.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.8971, allocations: 8 kB / 424.2 MB, free: 46.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.8987, allocations: 407.2 kB / 424.6 MB, free: 46.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.9001, allocations: 186.9 kB / 424.8 MB, free: 46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009948/0.9101, allocations: 6.137 MB / 431 MB, free: 39.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.9117, allocations: 126.9 kB / 431.1 MB, free: 39.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.9119, allocations: 36 kB / 431.1 MB, free: 39.43 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.0002807/0.9122, allocations: 173.4 kB / 431.3 MB, free: 39.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.9126, allocations: 126.5 kB / 431.4 MB, free: 39.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.913, allocations: 159.4 kB / 431.6 MB, free: 38.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.913, allocations: 8 kB / 431.6 MB, free: 38.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.9131, allocations: 10.88 kB / 431.6 MB, free: 38.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.9131, allocations: 3.984 kB / 431.6 MB, free: 38.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008671/0.9218, allocations: 3.694 MB / 435.3 MB, free: 35.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.9218, allocations: 4.344 kB / 435.3 MB, free: 35.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.9227, allocations: 107.9 kB / 435.4 MB, free: 35.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.9243, allocations: 389.6 kB / 435.8 MB, free: 34.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.9245, allocations: 35.97 kB / 435.8 MB, free: 34.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009493/0.934, allocations: 6.062 MB / 441.9 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.934, allocations: 7.938 kB / 441.9 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/0.9386, allocations: 2.325 MB / 444.2 MB, free: 25.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/0.9396, allocations: 338.8 kB / 444.5 MB, free: 25.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.9399, allocations: 31.98 kB / 444.6 MB, free: 25.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.9413, allocations: 95.86 kB / 444.7 MB, free: 25.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.9416, allocations: 91.77 kB / 444.7 MB, free: 25.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.9417, allocations: 27.98 kB / 444.8 MB, free: 25.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001768/0.9435, allocations: 0.9291 MB / 445.7 MB, free: 24.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.9435, allocations: 0 / 445.7 MB, free: 24.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002568/0.9461, allocations: 0.6376 MB / 446.3 MB, free: 23.71 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.005116/0.9513, allocations: 3.746 MB / 450.1 MB, free: 19.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.9548, allocations: 1.487 MB / 451.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.9548, allocations: 3.281 kB / 451.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.9572, allocations: 1.008 MB / 452.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.9596, allocations: 276 kB / 452.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.9701, allocations: 4.189 MB / 457 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.9723, allocations: 2.122 MB / 459.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.9738, allocations: 0.8117 MB / 460 MB, free: 9.812 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/0.9739, allocations: 3.938 kB / 460 MB, free: 9.809 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.729/4.703, allocations: 60.3 MB / 0.5081 GB, free: 93.89 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat