Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.685e-05, allocations: 0 / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5795, allocations: 100.9 MB / 443.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.5799, allocations: 89.56 kB / 443.6 MB, free: 9.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598/2.178, allocations: 310.8 MB / 0.7368 GB, free: 66.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.316e-06/2.178, allocations: 0 / 0.7368 GB, free: 66.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009353/2.179, allocations: 191.2 kB / 0.7369 GB, free: 66.82 MB / 458.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.05879/2.238, allocations: 8.741 MB / 0.7455 GB, free: 64.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/2.238, allocations: 11.06 kB / 0.7455 GB, free: 64.38 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009683/2.248, allocations: 1.502 MB / 0.7469 GB, free: 64.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05318/2.301, allocations: 4.19 MB / 0.751 GB, free: 63.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02908/2.33, allocations: 6.029 MB / 0.7569 GB, free: 62.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001316/2.331, allocations: 0.6339 MB / 0.7575 GB, free: 62.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005519/2.337, allocations: 0.8308 MB / 0.7584 GB, free: 62.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06155/2.399, allocations: 14.28 MB / 0.7723 GB, free: 61.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005224/2.399, allocations: 3.969 kB / 0.7723 GB, free: 61.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004337/2.404, allocations: 371.9 kB / 0.7727 GB, free: 61.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00147/2.405, allocations: 0.684 MB / 0.7733 GB, free: 61.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05271/2.458, allocations: 12.16 MB / 0.7852 GB, free: 59.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1336/2.591, allocations: 44.33 MB / 0.8285 GB, free: 27.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/2.609, allocations: 11.57 MB / 0.8398 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008378/2.618, allocations: 3.124 MB / 0.8428 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008109/2.619, allocations: 173.4 kB / 0.843 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/2.619, allocations: 86.27 kB / 0.8431 GB, free: 12.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 7.414e-06/2.619, allocations: 0 / 0.8431 GB, free: 12.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01828/2.637, allocations: 5.86 MB / 0.8488 GB, free: 7.289 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/2.637, allocations: 121.1 kB / 0.8489 GB, free: 7.152 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0074/2.645, allocations: 2.769 MB / 0.8516 GB, free: 4.723 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009745/2.646, allocations: 93.7 kB / 0.8517 GB, free: 4.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003679/2.649, allocations: 3.684 MB / 0.8553 GB, free: 1.363 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00274/2.652, allocations: 1.44 MB / 0.8567 GB, free: 72 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/2.653, allocations: 121.3 kB / 0.8568 GB, free: 0 / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.3682/3.022, allocations: 0.548 MB / 0.8574 GB, free: 63.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008866/3.031, allocations: 2.811 MB / 0.8601 GB, free: 63.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/3.041, allocations: 4.817 MB / 0.8648 GB, free: 61.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/3.051, allocations: 3.959 MB / 0.8687 GB, free: 61.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/3.051, allocations: 19 kB / 0.8687 GB, free: 61.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02836/3.08, allocations: 8.845 MB / 0.8774 GB, free: 61.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.123e-05/3.08, allocations: 32.66 kB / 0.8774 GB, free: 61.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/3.08, allocations: 64.22 kB / 0.8774 GB, free: 61.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/3.085, allocations: 1.111 MB / 0.8785 GB, free: 61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009375/3.095, allocations: 1.292 MB / 0.8798 GB, free: 61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/3.115, allocations: 9.831 MB / 0.8894 GB, free: 58.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006888/3.122, allocations: 0.7352 MB / 0.8901 GB, free: 58.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/3.123, allocations: 278.4 kB / 0.8904 GB, free: 58.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001404/3.125, allocations: 477.9 kB / 0.8908 GB, free: 57.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/3.126, allocations: 347.4 kB / 0.8912 GB, free: 57.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/3.145, allocations: 6.916 MB / 0.8979 GB, free: 57.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01547/3.161, allocations: 5.725 MB / 0.9035 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.793e-05/3.161, allocations: 11.09 kB / 0.9035 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000109/3.161, allocations: 30.55 kB / 0.9035 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/3.203, allocations: 15.4 MB / 0.9186 GB, free: 55.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-05/3.203, allocations: 15.03 kB / 0.9186 GB, free: 55.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006276/3.209, allocations: 0.7833 MB / 0.9194 GB, free: 55.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00511/3.214, allocations: 1.021 MB / 0.9204 GB, free: 55.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009611/3.215, allocations: 113.4 kB / 0.9205 GB, free: 55.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/3.234, allocations: 9.641 MB / 0.9299 GB, free: 51.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/3.234, allocations: 17.91 kB / 0.9299 GB, free: 51.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02499/3.259, allocations: 11.92 MB / 0.9415 GB, free: 44.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003474/3.263, allocations: 1.013 MB / 0.9425 GB, free: 44.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009714/3.264, allocations: 94.05 kB / 0.9426 GB, free: 44.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004088/3.268, allocations: 285.3 kB / 0.9429 GB, free: 44.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008617/3.269, allocations: 345.7 kB / 0.9432 GB, free: 44.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000428/3.269, allocations: 145.1 kB / 0.9434 GB, free: 44.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004647/3.274, allocations: 2.06 MB / 0.9454 GB, free: 43.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.154e-06/3.274, allocations: 0 / 0.9454 GB, free: 43.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009862/3.284, allocations: 2.253 MB / 0.9476 GB, free: 43.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02808/3.312, allocations: 16.15 MB / 0.9633 GB, free: 33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01871/3.331, allocations: 7.23 MB / 0.9704 GB, free: 27.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.183e-05/3.331, allocations: 0 / 0.9704 GB, free: 27.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01049/3.341, allocations: 3.576 MB / 0.9739 GB, free: 23.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006645/3.348, allocations: 0.713 MB / 0.9746 GB, free: 23.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04757/3.396, allocations: 16.22 MB / 0.9904 GB, free: 9.105 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01235/3.408, allocations: 6.081 MB / 0.9964 GB, free: 4.461 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01072/3.419, allocations: 2.234 MB / 0.9985 GB, free: 3.035 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007246/3.426, allocations: 2.904 MB / 1.001 GB, free: 340 kB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/3.426, allocations: 7.391 kB / 1.001 GB, free: 336 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6064/4.033, allocations: 112.4 MB / 1.111 GB, free: 59.22 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/4.033, allocations: 206.9 kB / 1.111 GB, free: 59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.731/9.764, allocations: 0 / 1.111 GB, free: 59 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat