Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.358e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2977, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.444, allocations: 82.79 MB / 377 MB, free: 15.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.4444, allocations: 87.89 kB / 377.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4522/0.8966, allocations: 53.18 MB / 430.3 MB, free: 83.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.8966, allocations: 0.9688 kB / 430.3 MB, free: 83.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002399/0.8969, allocations: 69.95 kB / 430.3 MB, free: 83.83 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.01177/0.9087, allocations: 2.76 MB / 433.1 MB, free: 82.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.9087, allocations: 9.312 kB / 433.1 MB, free: 82.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005116/0.9139, allocations: 0.5918 MB / 433.7 MB, free: 82.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005911/0.9198, allocations: 1.814 MB / 435.5 MB, free: 82.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.92, allocations: 84.47 kB / 435.6 MB, free: 82.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008216/0.9208, allocations: 153 kB / 435.7 MB, free: 82.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007279/0.9281, allocations: 2.628 MB / 438.4 MB, free: 82.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00862/0.9368, allocations: 3.082 MB / 441.4 MB, free: 81.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.566e-05/0.9369, allocations: 2.812 kB / 441.4 MB, free: 81.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.9373, allocations: 0 / 441.4 MB, free: 81.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.9374, allocations: 106.7 kB / 441.5 MB, free: 81.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.9619, allocations: 10.02 MB / 451.6 MB, free: 79.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/0.9687, allocations: 4.562 MB / 456.1 MB, free: 75.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.9706, allocations: 0.8452 MB / 457 MB, free: 74.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005814/0.9765, allocations: 2.4 MB / 459.4 MB, free: 73.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.9765, allocations: 46.59 kB / 459.4 MB, free: 73.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.977e-06/0.9765, allocations: 4.578 kB / 459.4 MB, free: 73.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.006075/0.9826, allocations: 1.52 MB / 460.9 MB, free: 72.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.9827, allocations: 93.3 kB / 461 MB, free: 72.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.9859, allocations: 1.103 MB / 462.1 MB, free: 72.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003009/0.9863, allocations: 25.7 kB / 462.2 MB, free: 72.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.9873, allocations: 1.127 MB / 463.3 MB, free: 71.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005887/0.9879, allocations: 344.8 kB / 463.6 MB, free: 71.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.9881, allocations: 0 / 463.6 MB, free: 71.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9882, allocations: 361 kB / 464 MB, free: 70.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.9899, allocations: 0.5154 MB / 464.5 MB, free: 70.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.9918, allocations: 0.7655 MB / 465.3 MB, free: 70.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.9953, allocations: 0.7858 MB / 466 MB, free: 69.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/0.9953, allocations: 3.656 kB / 466 MB, free: 69.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007802/1.003, allocations: 1.819 MB / 467.9 MB, free: 69.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/1.003, allocations: 8.688 kB / 467.9 MB, free: 69.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/1.003, allocations: 16.2 kB / 467.9 MB, free: 69.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/1.006, allocations: 394.9 kB / 468.3 MB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/1.008, allocations: 217.8 kB / 468.5 MB, free: 69.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.019, allocations: 5.851 MB / 474.3 MB, free: 65.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.021, allocations: 126.4 kB / 474.5 MB, free: 65.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.021, allocations: 47.47 kB / 474.5 MB, free: 65.18 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.0002962/1.022, allocations: 125.9 kB / 474.6 MB, free: 65.07 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004251/1.026, allocations: 1.512 MB / 476.1 MB, free: 64.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/1.027, allocations: 140.4 kB / 476.3 MB, free: 64.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/1.031, allocations: 1.635 MB / 477.9 MB, free: 63.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/1.031, allocations: 12 kB / 477.9 MB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.031, allocations: 8 kB / 477.9 MB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.031, allocations: 3.609 kB / 477.9 MB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009606/1.041, allocations: 3.593 MB / 481.5 MB, free: 60.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.041, allocations: 0 / 481.5 MB, free: 60.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.042, allocations: 142.1 kB / 481.7 MB, free: 60.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/1.044, allocations: 381.9 kB / 482 MB, free: 60.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/1.044, allocations: 26.52 kB / 482.1 MB, free: 60.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009256/1.053, allocations: 5.838 MB / 487.9 MB, free: 54.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/1.053, allocations: 10.58 kB / 487.9 MB, free: 54.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/1.059, allocations: 2.558 MB / 490.5 MB, free: 52.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006555/1.06, allocations: 238.1 kB / 490.7 MB, free: 52.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/1.06, allocations: 15.84 kB / 490.7 MB, free: 52.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.061, allocations: 89.5 kB / 490.8 MB, free: 52.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/1.062, allocations: 86.34 kB / 490.9 MB, free: 52.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.062, allocations: 35.8 kB / 490.9 MB, free: 52.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001532/1.063, allocations: 0.8409 MB / 491.8 MB, free: 51.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.362e-06/1.064, allocations: 7.75 kB / 491.8 MB, free: 51.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00279/1.066, allocations: 0.6296 MB / 492.4 MB, free: 50.76 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.006152/1.073, allocations: 3.618 MB / 496 MB, free: 47.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003608/1.076, allocations: 1.624 MB / 497.7 MB, free: 45.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.076, allocations: 0 / 497.7 MB, free: 45.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/1.079, allocations: 1.042 MB / 498.7 MB, free: 45.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.081, allocations: 238.6 kB / 498.9 MB, free: 44.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.092, allocations: 4.29 MB / 0.4914 GB, free: 41.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/1.094, allocations: 2.174 MB / 0.4935 GB, free: 38.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/1.096, allocations: 0.8742 MB / 0.4944 GB, free: 37.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/1.096, allocations: 0 / 0.4944 GB, free: 37.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.175/4.271, allocations: 63.23 MB / 0.5562 GB, free: 6.969 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat