Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.413e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.5506, allocations: 98.89 MB / 415.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.5509, allocations: 84.12 kB / 416 MB, free: 5.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622/2.173, allocations: 307.1 MB / 0.7061 GB, free: 45.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.173, allocations: 0 / 0.7061 GB, free: 45.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005582/2.174, allocations: 204.7 kB / 0.7063 GB, free: 45.49 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04607/2.22, allocations: 8.728 MB / 0.7148 GB, free: 43.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/2.22, allocations: 7.406 kB / 0.7149 GB, free: 43.06 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007265/2.227, allocations: 1.499 MB / 0.7163 GB, free: 42.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03499/2.262, allocations: 4.192 MB / 0.7204 GB, free: 42.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/2.281, allocations: 5.798 MB / 0.7261 GB, free: 41.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/2.282, allocations: 0.6502 MB / 0.7267 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004212/2.286, allocations: 0.8333 MB / 0.7275 GB, free: 41.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04608/2.332, allocations: 15.01 MB / 0.7422 GB, free: 40.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/2.332, allocations: 9.125 kB / 0.7422 GB, free: 40.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002785/2.335, allocations: 372.2 kB / 0.7425 GB, free: 40.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008645/2.336, allocations: 0.6117 MB / 0.7431 GB, free: 40.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03753/2.374, allocations: 13.27 MB / 0.7561 GB, free: 40.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/2.486, allocations: 44.92 MB / 0.8 GB, free: 16.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/2.511, allocations: 12.11 MB / 0.8118 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02255/2.534, allocations: 7.456 MB / 0.8191 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/2.535, allocations: 269.1 kB / 0.8193 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/2.535, allocations: 103.8 kB / 0.8194 GB, free: 14.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=817): time 1.386e-05/2.535, allocations: 0 / 0.8194 GB, free: 14.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=817): time 0.05121/2.586, allocations: 13.08 MB / 0.8322 GB, free: 3.391 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/2.587, allocations: 154.3 kB / 0.8323 GB, free: 3.219 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006693/2.593, allocations: 1.742 MB / 0.834 GB, free: 1.645 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002697/2.596, allocations: 132.9 kB / 0.8342 GB, free: 1.512 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3737/2.97, allocations: 2.766 MB / 0.8369 GB, free: 60.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004935/2.975, allocations: 2.668 MB / 0.8395 GB, free: 58.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/2.977, allocations: 122.4 kB / 0.8396 GB, free: 58.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009809/2.978, allocations: 0.5999 MB / 0.8402 GB, free: 58.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01441/2.992, allocations: 4.94 MB / 0.845 GB, free: 58.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0164/3.009, allocations: 5.761 MB / 0.8506 GB, free: 57.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/3.024, allocations: 5.885 MB / 0.8564 GB, free: 57.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-05/3.024, allocations: 3.25 kB / 0.8564 GB, free: 57.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.041/3.065, allocations: 13.95 MB / 0.87 GB, free: 57.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/3.066, allocations: 19.41 kB / 0.87 GB, free: 57.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.452e-05/3.066, allocations: 14.44 kB / 0.87 GB, free: 57.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01438/3.08, allocations: 4.336 MB / 0.8743 GB, free: 57.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009086/3.089, allocations: 1.05 MB / 0.8753 GB, free: 57.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/3.108, allocations: 10.5 MB / 0.8856 GB, free: 55.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007585/3.116, allocations: 0.7038 MB / 0.8862 GB, free: 54.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/3.118, allocations: 255.1 kB / 0.8865 GB, free: 54.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.004174/3.123, allocations: 416.9 kB / 0.8869 GB, free: 54.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002811/3.126, allocations: 393.4 kB / 0.8873 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04256/3.168, allocations: 14.67 MB / 0.9016 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03533/3.203, allocations: 13.11 MB / 0.9144 GB, free: 47.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.336e-05/3.204, allocations: 3.953 kB / 0.9144 GB, free: 47.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001763/3.204, allocations: 36.36 kB / 0.9144 GB, free: 47.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07381/3.278, allocations: 26.82 MB / 0.9406 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001062/3.278, allocations: 4 kB / 0.9406 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008062/3.286, allocations: 0.903 MB / 0.9415 GB, free: 33.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01401/3.3, allocations: 4.306 MB / 0.9457 GB, free: 29.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001973/3.302, allocations: 168.4 kB / 0.9459 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/3.32, allocations: 10.48 MB / 0.9561 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/3.321, allocations: 2.5 kB / 0.9561 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05561/3.376, allocations: 21.62 MB / 0.9772 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008788/3.385, allocations: 1.815 MB / 0.979 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003759/3.389, allocations: 153.5 kB / 0.9791 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008674/3.398, allocations: 439.9 kB / 0.9795 GB, free: 0 / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004391/3.402, allocations: 0.648 MB / 0.9802 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002279/3.404, allocations: 217 kB / 0.9804 GB, free: 15.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003658/3.408, allocations: 1.333 MB / 0.9817 GB, free: 14.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.032e-06/3.408, allocations: 2.844 kB / 0.9817 GB, free: 14.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0114/3.419, allocations: 2.236 MB / 0.9839 GB, free: 12.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.06805/3.488, allocations: 22.54 MB / 1.006 GB, free: 8.367 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3915/3.879, allocations: 12.75 MB / 1.018 GB, free: 90.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/3.879, allocations: 2.453 kB / 1.018 GB, free: 90.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02214/3.901, allocations: 6.436 MB / 1.025 GB, free: 90.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007751/3.909, allocations: 0.6575 MB / 1.025 GB, free: 90.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06272/3.972, allocations: 19.94 MB / 1.045 GB, free: 88.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/3.985, allocations: 6.206 MB / 1.051 GB, free: 87.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009448/3.994, allocations: 1.544 MB / 1.052 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008041/4.002, allocations: 2.91 MB / 1.055 GB, free: 87.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.794e-06/4.002, allocations: 0 / 1.055 GB, free: 87.38 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7028/4.705, allocations: 162.9 MB / 1.214 GB, free: 71.61 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/4.705, allocations: 228.2 kB / 1.214 GB, free: 71.38 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.422/11.13, allocations: 2.812 kB / 1.214 GB, free: 71.38 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat