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.76/1.76, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.455e-05, allocations: 4 kB / 225.1 MB, free: 2.617 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2613, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4024, allocations: 77.23 MB / 341.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.4028, allocations: 75.95 kB / 341.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4583/0.8612, allocations: 51.74 MB / 392.9 MB, free: 75.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.8612, allocations: 0 / 392.9 MB, free: 75.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002295/0.8615, allocations: 65.55 kB / 392.9 MB, free: 75.16 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.01097/0.8724, allocations: 2.675 MB / 395.6 MB, free: 73.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.8725, allocations: 11.19 kB / 395.6 MB, free: 73.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001609/0.8741, allocations: 410.4 kB / 396 MB, free: 73.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.8775, allocations: 419.1 kB / 396.4 MB, free: 73.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007716/0.8853, allocations: 1.75 MB / 398.2 MB, free: 72.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.8857, allocations: 189 kB / 398.4 MB, free: 72.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.887, allocations: 247 kB / 398.6 MB, free: 72.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.9009, allocations: 3.227 MB / 401.8 MB, free: 69.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.9011, allocations: 3.938 kB / 401.8 MB, free: 69.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008022/0.9019, allocations: 107.9 kB / 401.9 MB, free: 69.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.9021, allocations: 97.09 kB / 402 MB, free: 69.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.9127, allocations: 2.457 MB / 404.5 MB, free: 67.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04017/0.953, allocations: 9.777 MB / 414.3 MB, free: 57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.956, allocations: 1.454 MB / 415.7 MB, free: 55.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.9577, allocations: 0.6843 MB / 416.4 MB, free: 54.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.9579, allocations: 15.97 kB / 416.4 MB, free: 54.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.9579, allocations: 47.28 kB / 416.5 MB, free: 54.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=88): time 3.727e-06/0.9579, allocations: 0 / 416.5 MB, free: 54.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.003883/0.9618, allocations: 1.322 MB / 417.8 MB, free: 53.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.9619, allocations: 89.48 kB / 417.9 MB, free: 53.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.9646, allocations: 1.205 MB / 419.1 MB, free: 52.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.9649, allocations: 41.7 kB / 419.1 MB, free: 51.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006912/0.9656, allocations: 1.087 MB / 420.2 MB, free: 50.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.9661, allocations: 309.7 kB / 420.5 MB, free: 50.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.9662, allocations: 20 kB / 420.5 MB, free: 50.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.9663, allocations: 350.8 kB / 420.9 MB, free: 50.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.9675, allocations: 478.4 kB / 421.4 MB, free: 49.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.9689, allocations: 0.7061 MB / 422.1 MB, free: 48.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.9703, allocations: 0.5848 MB / 422.6 MB, free: 48.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.9703, allocations: 11.89 kB / 422.7 MB, free: 48.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004438/0.9748, allocations: 1.631 MB / 424.3 MB, free: 46.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.9749, allocations: 10.03 kB / 424.3 MB, free: 46.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.9749, allocations: 8 kB / 424.3 MB, free: 46.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.9766, allocations: 408.2 kB / 424.7 MB, free: 46.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.9781, allocations: 175.7 kB / 424.9 MB, free: 46.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.9886, allocations: 6.148 MB / 431 MB, free: 39.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.9903, allocations: 122.9 kB / 431.1 MB, free: 39.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.9906, allocations: 40 kB / 431.2 MB, free: 39.54 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.0003126/0.9909, allocations: 168.5 kB / 431.3 MB, free: 39.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/0.9914, allocations: 134.5 kB / 431.5 MB, free: 39.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.9919, allocations: 163.4 kB / 431.6 MB, free: 39.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.9919, allocations: 11.61 kB / 431.6 MB, free: 39.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.022e-05/0.9919, allocations: 8 kB / 431.7 MB, free: 39.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.992, allocations: 3.984 kB / 431.7 MB, free: 39.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009879/1.002, allocations: 3.69 MB / 435.3 MB, free: 35.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.002, allocations: 4 kB / 435.4 MB, free: 35.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009641/1.003, allocations: 112.2 kB / 435.5 MB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/1.005, allocations: 394.9 kB / 435.8 MB, free: 34.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/1.005, allocations: 35.98 kB / 435.9 MB, free: 34.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.015, allocations: 6.054 MB / 441.9 MB, free: 28.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.015, allocations: 7.938 kB / 441.9 MB, free: 28.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/1.02, allocations: 2.322 MB / 444.3 MB, free: 25.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.021, allocations: 339.3 kB / 444.6 MB, free: 25.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004284/1.022, allocations: 31.98 kB / 444.6 MB, free: 25.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.023, allocations: 87.92 kB / 444.7 MB, free: 25.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/1.024, allocations: 95.81 kB / 444.8 MB, free: 25.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.024, allocations: 27.94 kB / 444.8 MB, free: 25.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002065/1.026, allocations: 0.9291 MB / 445.8 MB, free: 24.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.026, allocations: 0 / 445.8 MB, free: 24.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002721/1.029, allocations: 0.6298 MB / 446.4 MB, free: 23.81 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.005714/1.034, allocations: 3.748 MB / 450.1 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003837/1.038, allocations: 1.544 MB / 451.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/1.038, allocations: 7.938 kB / 451.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/1.041, allocations: 1.023 MB / 452.7 MB, free: 17.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.044, allocations: 280.1 kB / 453 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.055, allocations: 4.197 MB / 457.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/1.058, allocations: 2.118 MB / 459.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/1.06, allocations: 0.8117 MB / 460.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of SimCode: time 3.045e-06/1.06, allocations: 0 / 460.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.458/4.518, allocations: 60.48 MB / 0.5084 GB, free: 94.87 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