Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.196e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09542, allocations: 44.51 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5348, allocations: 94.52 MB / 394.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5351, allocations: 84.75 kB / 394.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.585/2.12, allocations: 308.8 MB / 0.6869 GB, free: 54.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.898e-06/2.12, allocations: 0 / 0.6869 GB, free: 54.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001488/2.122, allocations: 196.4 kB / 0.6871 GB, free: 54.7 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.0697/2.191, allocations: 8.741 MB / 0.6956 GB, free: 52.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.099e-05/2.192, allocations: 9.5 kB / 0.6956 GB, free: 52.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01114/2.203, allocations: 1.501 MB / 0.6971 GB, free: 52.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05924/2.262, allocations: 4.193 MB / 0.7012 GB, free: 51.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02935/2.291, allocations: 5.806 MB / 0.7069 GB, free: 50.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001752/2.293, allocations: 0.6458 MB / 0.7075 GB, free: 50.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006356/2.3, allocations: 0.8324 MB / 0.7083 GB, free: 50.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07193/2.372, allocations: 15.01 MB / 0.7229 GB, free: 49.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006725/2.372, allocations: 11.5 kB / 0.723 GB, free: 49.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005617/2.378, allocations: 365.6 kB / 0.7233 GB, free: 49.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001431/2.38, allocations: 0.6081 MB / 0.7239 GB, free: 49.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05612/2.436, allocations: 13.27 MB / 0.7369 GB, free: 49.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/2.558, allocations: 44.92 MB / 0.7807 GB, free: 34.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02459/2.583, allocations: 12.11 MB / 0.7926 GB, free: 27.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01548/2.598, allocations: 7.106 MB / 0.7995 GB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/2.6, allocations: 285.1 kB / 0.7998 GB, free: 21.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.719e-05/2.6, allocations: 103.8 kB / 0.7999 GB, free: 21.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.289e-05/2.6, allocations: 0 / 0.7999 GB, free: 21.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.03601/2.636, allocations: 13.08 MB / 0.8126 GB, free: 9.992 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/2.636, allocations: 152.9 kB / 0.8128 GB, free: 9.824 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/2.641, allocations: 1.739 MB / 0.8145 GB, free: 8.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001904/2.643, allocations: 129.7 kB / 0.8146 GB, free: 8.117 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002805/2.646, allocations: 2.776 MB / 0.8173 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005388/2.651, allocations: 2.667 MB / 0.8199 GB, free: 3.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002061/2.653, allocations: 120 kB / 0.82 GB, free: 3.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001136/2.654, allocations: 0.6001 MB / 0.8206 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02549/2.68, allocations: 5.619 MB / 0.8261 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01659/2.697, allocations: 5.763 MB / 0.8317 GB, free: 10.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/2.715, allocations: 5.886 MB / 0.8375 GB, free: 5.742 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.786e-05/2.715, allocations: 4 kB / 0.8375 GB, free: 5.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.4612/3.176, allocations: 14.57 MB / 0.8517 GB, free: 64.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.564e-05/3.176, allocations: 13.88 kB / 0.8517 GB, free: 64.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/3.176, allocations: 15.91 kB / 0.8517 GB, free: 64.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02627/3.202, allocations: 4.333 MB / 0.856 GB, free: 64.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01451/3.217, allocations: 1.055 MB / 0.857 GB, free: 64.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03128/3.248, allocations: 10.52 MB / 0.8673 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/3.26, allocations: 0.7063 MB / 0.868 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002947/3.263, allocations: 250.5 kB / 0.8682 GB, free: 62.57 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.005035/3.268, allocations: 414.5 kB / 0.8686 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003554/3.271, allocations: 397.1 kB / 0.869 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06262/3.334, allocations: 14.67 MB / 0.8833 GB, free: 61.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05353/3.388, allocations: 13.1 MB / 0.8961 GB, free: 61.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.804e-05/3.388, allocations: 7.594 kB / 0.8961 GB, free: 61.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001908/3.388, allocations: 30.66 kB / 0.8961 GB, free: 61.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1077/3.496, allocations: 26.82 MB / 0.9223 GB, free: 55.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001423/3.496, allocations: 0 / 0.9223 GB, free: 55.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009614/3.505, allocations: 0.9037 MB / 0.9232 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01452/3.52, allocations: 4.303 MB / 0.9274 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002023/3.522, allocations: 173.8 kB / 0.9276 GB, free: 53.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/3.542, allocations: 10.46 MB / 0.9378 GB, free: 48.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/3.542, allocations: 7.219 kB / 0.9378 GB, free: 48.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06333/3.605, allocations: 21.61 MB / 0.9589 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008097/3.613, allocations: 1.683 MB / 0.9606 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003224/3.617, allocations: 114 kB / 0.9607 GB, free: 34.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008667/3.625, allocations: 342.4 kB / 0.961 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003791/3.629, allocations: 0.5697 MB / 0.9615 GB, free: 33.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002521/3.632, allocations: 219.9 kB / 0.9618 GB, free: 33.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00448/3.636, allocations: 1.331 MB / 0.9631 GB, free: 32.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.573e-06/3.636, allocations: 4 kB / 0.9631 GB, free: 32.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01412/3.65, allocations: 2.239 MB / 0.9652 GB, free: 30.09 MB / 442.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.06367/3.714, allocations: 22.51 MB / 0.9872 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03456/3.749, allocations: 12.09 MB / 0.999 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/3.749, allocations: 4.938 kB / 0.999 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02215/3.771, allocations: 6.432 MB / 1.005 GB, free: 9.992 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007635/3.779, allocations: 0.6576 MB / 1.006 GB, free: 9.477 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4171/4.196, allocations: 20.98 MB / 1.026 GB, free: 77.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01763/4.214, allocations: 6.213 MB / 1.033 GB, free: 77.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009972/4.224, allocations: 1.547 MB / 1.034 GB, free: 77.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008573/4.232, allocations: 2.91 MB / 1.037 GB, free: 77.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/4.232, allocations: 0 / 1.037 GB, free: 77.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.715/4.947, allocations: 162.7 MB / 1.196 GB, free: 52.84 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/4.948, allocations: 217.1 kB / 1.196 GB, free: 52.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/11.9, allocations: 3.688 kB / 1.196 GB, free: 52.62 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat