Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.178e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4458/0.5538, allocations: 89.13 MB / 431.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5541, allocations: 81.2 kB / 431.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2104/0.7646, allocations: 54.76 MB / 486.6 MB, free: 2.105 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7646, allocations: 0 / 486.6 MB, free: 2.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002734/0.7649, allocations: 59.94 kB / 486.7 MB, free: 2.047 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01241/0.7774, allocations: 2.765 MB / 489.5 MB, free: 15.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.7774, allocations: 12.03 kB / 489.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002002/0.7794, allocations: 432.8 kB / 489.9 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/0.7848, allocations: 0.5976 MB / 490.5 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006543/0.7914, allocations: 1.818 MB / 492.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.7918, allocations: 197.4 kB / 492.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.793, allocations: 263.9 kB / 492.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.8051, allocations: 3.435 MB / 496.2 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.279e-05/0.8053, allocations: 0 / 496.2 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007219/0.806, allocations: 112 kB / 496.3 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.8062, allocations: 113.4 kB / 496.4 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009694/0.8159, allocations: 2.752 MB / 499.2 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03628/0.8522, allocations: 10.53 MB / 0.4977 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008747/0.861, allocations: 4.607 MB / 0.5022 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.8636, allocations: 0.8799 MB / 0.5031 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007229/0.8709, allocations: 2.449 MB / 0.5055 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/0.871, allocations: 47.44 kB / 0.5055 GB, free: 1.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 5.791e-06/0.871, allocations: 3.984 kB / 0.5055 GB, free: 1.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.004374/0.8754, allocations: 1.451 MB / 0.507 GB, free: 240 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.8755, allocations: 85.98 kB / 0.507 GB, free: 136 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.8785, allocations: 1.21 MB / 0.5082 GB, free: 14.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.8788, allocations: 45.7 kB / 0.5083 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.88, allocations: 1.16 MB / 0.5094 GB, free: 13.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/0.8806, allocations: 358.8 kB / 0.5097 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.8807, allocations: 24 kB / 0.5098 GB, free: 13.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.8809, allocations: 357.9 kB / 0.5101 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.8825, allocations: 0.5335 MB / 0.5106 GB, free: 12.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.8845, allocations: 0.7951 MB / 0.5114 GB, free: 11.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.8864, allocations: 0.6778 MB / 0.5121 GB, free: 10.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.8865, allocations: 4 kB / 0.5121 GB, free: 10.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005092/0.8916, allocations: 1.867 MB / 0.5139 GB, free: 8.949 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.8916, allocations: 11.98 kB / 0.5139 GB, free: 8.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.8917, allocations: 8 kB / 0.5139 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.8933, allocations: 404.1 kB / 0.5143 GB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.895, allocations: 211.7 kB / 0.5145 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.9064, allocations: 6.05 MB / 0.5204 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.9082, allocations: 154.8 kB / 0.5205 GB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.9084, allocations: 51.94 kB / 0.5206 GB, free: 1.805 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.9088, allocations: 168.7 kB / 0.5208 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.9091, allocations: 138.3 kB / 0.5209 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2962/1.205, allocations: 1.6 MB / 0.5225 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/1.205, allocations: 10.62 kB / 0.5225 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/1.205, allocations: 6.719 kB / 0.5225 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-05/1.205, allocations: 6.297 kB / 0.5225 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.217, allocations: 3.907 MB / 0.5263 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.217, allocations: 1.625 kB / 0.5263 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.219, allocations: 136.9 kB / 0.5264 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/1.22, allocations: 392.6 kB / 0.5268 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/1.221, allocations: 36.91 kB / 0.5268 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.232, allocations: 6.039 MB / 0.5327 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/1.232, allocations: 7.281 kB / 0.5327 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006236/1.238, allocations: 2.489 MB / 0.5352 GB, free: 108.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/1.239, allocations: 235.5 kB / 0.5354 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000574/1.24, allocations: 33.36 kB / 0.5354 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.241, allocations: 106.1 kB / 0.5355 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005152/1.242, allocations: 98.31 kB / 0.5356 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.242, allocations: 31.83 kB / 0.5357 GB, free: 108.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002357/1.245, allocations: 0.9301 MB / 0.5366 GB, free: 108.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.245, allocations: 0 / 0.5366 GB, free: 108.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003247/1.248, allocations: 0.6811 MB / 0.5372 GB, free: 108.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006953/1.255, allocations: 3.609 MB / 0.5407 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004473/1.259, allocations: 1.664 MB / 0.5424 GB, free: 106.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.259, allocations: 3.188 kB / 0.5424 GB, free: 106.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/1.262, allocations: 1.064 MB / 0.5434 GB, free: 106.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/1.265, allocations: 282.6 kB / 0.5437 GB, free: 106.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.278, allocations: 4.479 MB / 0.5481 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003313/1.282, allocations: 2.23 MB / 0.5502 GB, free: 104.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001814/1.283, allocations: 337.7 kB / 0.5506 GB, free: 104.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/1.285, allocations: 0.8685 MB / 0.5514 GB, free: 104.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.512e-06/1.285, allocations: 0 / 0.5514 GB, free: 104.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/1.429, allocations: 35.96 MB / 0.5865 GB, free: 98.63 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/1.43, allocations: 202.1 kB / 0.5867 GB, free: 98.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/4.939, allocations: 0 / 0.5867 GB, free: 98.4 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat