Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/3.019e-05, allocations: 4 kB / 255.4 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09699, allocations: 44.51 MB / 299.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5646, allocations: 94.51 MB / 394.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5649, allocations: 87.14 kB / 394.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.525/2.09, allocations: 308.8 MB / 0.6868 GB, free: 54.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.404e-06/2.09, allocations: 0.9062 kB / 0.6868 GB, free: 54.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008769/2.091, allocations: 193.3 kB / 0.687 GB, free: 54.63 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.05459/2.145, allocations: 8.746 MB / 0.6956 GB, free: 52.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/2.145, allocations: 11.81 kB / 0.6956 GB, free: 52.19 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007028/2.152, allocations: 1.492 MB / 0.697 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03459/2.187, allocations: 4.192 MB / 0.7011 GB, free: 51.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/2.206, allocations: 5.807 MB / 0.7068 GB, free: 50.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/2.207, allocations: 0.6511 MB / 0.7074 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004335/2.212, allocations: 0.8263 MB / 0.7082 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08253/2.294, allocations: 15.11 MB / 0.723 GB, free: 49.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006171/2.295, allocations: 11.64 kB / 0.723 GB, free: 49.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00411/2.299, allocations: 373 kB / 0.7234 GB, free: 49.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000947/2.3, allocations: 0.6077 MB / 0.7239 GB, free: 49.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03787/2.338, allocations: 13.37 MB / 0.737 GB, free: 49.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/2.45, allocations: 44.92 MB / 0.7809 GB, free: 34.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02351/2.473, allocations: 12.18 MB / 0.7928 GB, free: 27.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01543/2.489, allocations: 7.113 MB / 0.7997 GB, free: 22.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/2.49, allocations: 271 kB / 0.8 GB, free: 21.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.627e-05/2.49, allocations: 103.8 kB / 0.8001 GB, free: 21.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.212e-05/2.49, allocations: 0 / 0.8001 GB, free: 21.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.03558/2.526, allocations: 13.09 MB / 0.8129 GB, free: 10.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/2.526, allocations: 146.3 kB / 0.813 GB, free: 10.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005273/2.531, allocations: 1.741 MB / 0.8147 GB, free: 8.551 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002052/2.534, allocations: 133.7 kB / 0.8148 GB, free: 8.414 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002805/2.536, allocations: 2.702 MB / 0.8175 GB, free: 6.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005652/2.542, allocations: 2.672 MB / 0.8201 GB, free: 3.586 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/2.544, allocations: 120 kB / 0.8202 GB, free: 3.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001187/2.546, allocations: 0.6068 MB / 0.8208 GB, free: 2.938 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02315/2.569, allocations: 5.488 MB / 0.8261 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01592/2.585, allocations: 5.795 MB / 0.8318 GB, free: 10.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/2.602, allocations: 5.891 MB / 0.8375 GB, free: 5.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-05/2.602, allocations: 4 kB / 0.8375 GB, free: 5.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.363/2.965, allocations: 14.48 MB / 0.8517 GB, free: 64.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/2.965, allocations: 14.86 kB / 0.8517 GB, free: 64.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-05/2.965, allocations: 16.72 kB / 0.8517 GB, free: 64.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0157/2.981, allocations: 4.337 MB / 0.856 GB, free: 64.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0093/2.99, allocations: 1.045 MB / 0.857 GB, free: 64.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/3.009, allocations: 10.51 MB / 0.8672 GB, free: 62.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007697/3.017, allocations: 0.7133 MB / 0.8679 GB, free: 62.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/3.02, allocations: 249.8 kB / 0.8682 GB, free: 62.55 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.002497/3.022, allocations: 417.7 kB / 0.8686 GB, free: 62.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/3.024, allocations: 396.4 kB / 0.869 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03943/3.063, allocations: 14.67 MB / 0.8833 GB, free: 61.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03352/3.097, allocations: 13.11 MB / 0.8961 GB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.574e-05/3.097, allocations: 0 / 0.8961 GB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001671/3.097, allocations: 36.38 kB / 0.8961 GB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07112/3.168, allocations: 26.82 MB / 0.9223 GB, free: 55.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001121/3.169, allocations: 9.234 kB / 0.9223 GB, free: 55.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008051/3.177, allocations: 0.8969 MB / 0.9232 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01479/3.191, allocations: 4.305 MB / 0.9274 GB, free: 54.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002084/3.194, allocations: 170.2 kB / 0.9276 GB, free: 54.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/3.213, allocations: 10.47 MB / 0.9378 GB, free: 48.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/3.213, allocations: 7.125 kB / 0.9378 GB, free: 48.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05514/3.268, allocations: 21.61 MB / 0.9589 GB, free: 35.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006347/3.274, allocations: 1.68 MB / 0.9605 GB, free: 34.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002665/3.277, allocations: 119 kB / 0.9606 GB, free: 34.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006842/3.284, allocations: 345.6 kB / 0.961 GB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002951/3.287, allocations: 0.5662 MB / 0.9615 GB, free: 33.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002234/3.289, allocations: 214.5 kB / 0.9617 GB, free: 33.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003078/3.292, allocations: 1.339 MB / 0.963 GB, free: 32.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.61e-07/3.292, allocations: 0.75 kB / 0.963 GB, free: 32.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01031/3.302, allocations: 2.237 MB / 0.9652 GB, free: 30.44 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.0558/3.358, allocations: 22.51 MB / 0.9872 GB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03489/3.393, allocations: 12.23 MB / 0.9992 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/3.393, allocations: 1.391 kB / 0.9992 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0223/3.416, allocations: 6.478 MB / 1.005 GB, free: 10.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007669/3.423, allocations: 0.6578 MB / 1.006 GB, free: 9.836 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3807/3.804, allocations: 20.42 MB / 1.026 GB, free: 78.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01433/3.818, allocations: 6.036 MB / 1.032 GB, free: 77.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00831/3.827, allocations: 2.946 MB / 1.035 GB, free: 77.97 MB / 458.7 MB Notification: Performance of SimCode: time 2.189e-05/3.827, allocations: 0 / 1.035 GB, free: 77.97 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.22/9.047, allocations: 338.7 MB / 1.366 GB, free: 77 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat