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.99/1.99, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.905e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09227, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.5337, allocations: 94.51 MB / 394.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5341, allocations: 88.14 kB / 394.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.641/2.175, allocations: 308.8 MB / 0.6869 GB, free: 54.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.935e-06/2.176, allocations: 0.8438 kB / 0.6869 GB, free: 54.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001041/2.177, allocations: 194.2 kB / 0.6871 GB, free: 54.86 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.05073/2.227, allocations: 8.744 MB / 0.6956 GB, free: 52.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/2.227, allocations: 11.47 kB / 0.6956 GB, free: 52.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008416/2.236, allocations: 1.494 MB / 0.6971 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03622/2.272, allocations: 4.195 MB / 0.7012 GB, free: 51.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02206/2.294, allocations: 5.797 MB / 0.7068 GB, free: 51.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/2.296, allocations: 0.6469 MB / 0.7074 GB, free: 51.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005375/2.301, allocations: 0.836 MB / 0.7083 GB, free: 51.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05702/2.358, allocations: 15.11 MB / 0.723 GB, free: 49.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007956/2.359, allocations: 7.875 kB / 0.723 GB, free: 49.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005303/2.364, allocations: 368.8 kB / 0.7234 GB, free: 49.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001146/2.366, allocations: 0.6031 MB / 0.724 GB, free: 49.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04279/2.408, allocations: 13.38 MB / 0.737 GB, free: 49.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1316/2.54, allocations: 44.92 MB / 0.7809 GB, free: 34.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02664/2.567, allocations: 12.18 MB / 0.7928 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01785/2.585, allocations: 7.107 MB / 0.7997 GB, free: 21.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/2.586, allocations: 275.3 kB / 0.8 GB, free: 21.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/2.587, allocations: 107.8 kB / 0.8001 GB, free: 21.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.341e-05/2.587, allocations: 0 / 0.8001 GB, free: 21.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.0436/2.63, allocations: 13.08 MB / 0.8129 GB, free: 10.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/2.631, allocations: 153.2 kB / 0.813 GB, free: 9.891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00557/2.636, allocations: 1.741 MB / 0.8147 GB, free: 8.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002263/2.638, allocations: 129.7 kB / 0.8148 GB, free: 8.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003034/2.642, allocations: 2.77 MB / 0.8176 GB, free: 5.738 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005862/2.647, allocations: 2.674 MB / 0.8202 GB, free: 3.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002439/2.65, allocations: 120 kB / 0.8203 GB, free: 3.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001258/2.651, allocations: 0.5982 MB / 0.8209 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02651/2.678, allocations: 5.592 MB / 0.8263 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/2.696, allocations: 5.798 MB / 0.832 GB, free: 10.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/2.714, allocations: 5.885 MB / 0.8377 GB, free: 5.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.657e-05/2.715, allocations: 4 kB / 0.8377 GB, free: 5.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.4443/3.159, allocations: 14.64 MB / 0.852 GB, free: 65.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/3.159, allocations: 11.81 kB / 0.852 GB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/3.159, allocations: 18.34 kB / 0.8521 GB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01719/3.176, allocations: 4.342 MB / 0.8563 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00933/3.186, allocations: 1.039 MB / 0.8573 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/3.206, allocations: 10.52 MB / 0.8676 GB, free: 62.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007729/3.214, allocations: 0.7067 MB / 0.8683 GB, free: 62.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002504/3.217, allocations: 252.4 kB / 0.8685 GB, free: 62.8 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.004637/3.221, allocations: 412.6 kB / 0.8689 GB, free: 62.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002986/3.224, allocations: 394.5 kB / 0.8693 GB, free: 62.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04322/3.268, allocations: 14.68 MB / 0.8836 GB, free: 62.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03442/3.302, allocations: 13.1 MB / 0.8964 GB, free: 61.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.826e-05/3.302, allocations: 3.844 kB / 0.8964 GB, free: 61.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001685/3.302, allocations: 34.73 kB / 0.8965 GB, free: 61.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07549/3.378, allocations: 26.82 MB / 0.9227 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001194/3.378, allocations: 3.125 kB / 0.9227 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008104/3.386, allocations: 0.8952 MB / 0.9235 GB, free: 55.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/3.401, allocations: 4.311 MB / 0.9277 GB, free: 54.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002109/3.403, allocations: 167.4 kB / 0.9279 GB, free: 54.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/3.424, allocations: 10.47 MB / 0.9381 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/3.424, allocations: 0 / 0.9381 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05694/3.481, allocations: 21.61 MB / 0.9592 GB, free: 35.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006146/3.487, allocations: 1.684 MB / 0.9609 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002287/3.489, allocations: 108 kB / 0.961 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006312/3.496, allocations: 345.3 kB / 0.9613 GB, free: 34.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002749/3.499, allocations: 0.5743 MB / 0.9619 GB, free: 33.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001587/3.5, allocations: 215.3 kB / 0.9621 GB, free: 33.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00292/3.503, allocations: 1.335 MB / 0.9634 GB, free: 32.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/3.503, allocations: 5.469 kB / 0.9634 GB, free: 32.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01064/3.514, allocations: 2.241 MB / 0.9656 GB, free: 30.35 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.05719/3.571, allocations: 22.5 MB / 0.9876 GB, free: 10.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03456/3.606, allocations: 12.18 MB / 0.9994 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/3.606, allocations: 0 / 0.9994 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0225/3.628, allocations: 6.473 MB / 1.006 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007972/3.636, allocations: 0.6504 MB / 1.006 GB, free: 9.629 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3887/4.025, allocations: 21.01 MB / 1.027 GB, free: 78.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01478/4.04, allocations: 6.207 MB / 1.033 GB, free: 77.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008882/4.049, allocations: 1.545 MB / 1.034 GB, free: 77.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007691/4.057, allocations: 2.906 MB / 1.037 GB, free: 77.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.956e-06/4.057, allocations: 3.375 kB / 1.037 GB, free: 77.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6627/4.719, allocations: 163.3 MB / 1.197 GB, free: 53.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/4.72, allocations: 224.6 kB / 1.197 GB, free: 53.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/11.69, allocations: 0 / 1.197 GB, free: 53.28 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