Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 239.3 MB, free: 1.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.916e-05, allocations: 4 kB / 292.8 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 50.4 MB / 343.2 MB, free: 9 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5322/0.6348, allocations: 88.88 MB / 432 MB, free: 7.125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.6352, allocations: 80.89 kB / 432.1 MB, free: 7.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2161/0.8513, allocations: 54.77 MB / 486.9 MB, free: 1.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.8514, allocations: 0 / 486.9 MB, free: 1.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002468/0.8516, allocations: 63.94 kB / 486.9 MB, free: 1.496 MB / 362.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.01216/0.8638, allocations: 2.772 MB / 489.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.8639, allocations: 8.031 kB / 489.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002691/0.8666, allocations: 428.9 kB / 490.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006987/0.8737, allocations: 0.5937 MB / 490.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006432/0.8802, allocations: 1.818 MB / 492.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.8805, allocations: 201.4 kB / 492.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.8816, allocations: 256 kB / 493 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.8928, allocations: 3.439 MB / 496.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.345e-05/0.8929, allocations: 0 / 496.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004496/0.8933, allocations: 123.9 kB / 496.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.8935, allocations: 101.4 kB / 496.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008246/0.9018, allocations: 2.748 MB / 499.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.93, allocations: 10.53 MB / 0.498 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008467/0.9386, allocations: 4.6 MB / 0.5025 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.9409, allocations: 0.8836 MB / 0.5033 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006576/0.9474, allocations: 2.46 MB / 0.5057 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.9475, allocations: 43.44 kB / 0.5058 GB, free: 1.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 4.037e-06/0.9476, allocations: 0 / 0.5058 GB, free: 1.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.00428/0.9518, allocations: 1.455 MB / 0.5072 GB, free: 15.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.9519, allocations: 85.98 kB / 0.5073 GB, free: 15.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.9549, allocations: 1.21 MB / 0.5085 GB, free: 14.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/0.9552, allocations: 45.7 kB / 0.5085 GB, free: 14.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.9565, allocations: 1.156 MB / 0.5096 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.9571, allocations: 358.8 kB / 0.51 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.9572, allocations: 24 kB / 0.51 GB, free: 12.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.9574, allocations: 353.9 kB / 0.5103 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.9589, allocations: 0.5374 MB / 0.5109 GB, free: 11.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.9606, allocations: 0.7912 MB / 0.5116 GB, free: 10.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.9623, allocations: 0.6778 MB / 0.5123 GB, free: 10.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.9624, allocations: 8 kB / 0.5123 GB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00531/0.9677, allocations: 1.864 MB / 0.5141 GB, free: 8.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.9678, allocations: 14.64 kB / 0.5141 GB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.9678, allocations: 11.94 kB / 0.5142 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.9695, allocations: 395.5 kB / 0.5145 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.9713, allocations: 223.7 kB / 0.5147 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.9828, allocations: 6.043 MB / 0.5206 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.9846, allocations: 146.7 kB / 0.5208 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.9849, allocations: 55.94 kB / 0.5208 GB, free: 1.262 MB / 410.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.0003464/0.9852, allocations: 168.7 kB / 0.521 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.9857, allocations: 138.3 kB / 0.5211 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005017/0.9907, allocations: 1.605 MB / 0.5227 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-05/0.9909, allocations: 15.95 kB / 0.5227 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.839e-05/0.9909, allocations: 11.94 kB / 0.5227 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/0.991, allocations: 3.984 kB / 0.5227 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/1.002, allocations: 3.91 MB / 0.5266 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.002, allocations: 8.125 kB / 0.5266 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.003, allocations: 135.8 kB / 0.5267 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/1.005, allocations: 391.4 kB / 0.5271 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.005, allocations: 35.98 kB / 0.5271 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.016, allocations: 6.042 MB / 0.533 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.016, allocations: 0 / 0.533 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/1.022, allocations: 2.49 MB / 0.5354 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/1.023, allocations: 247.2 kB / 0.5357 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/1.023, allocations: 32.08 kB / 0.5357 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.025, allocations: 99.86 kB / 0.5358 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/1.025, allocations: 104.7 kB / 0.5359 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/1.025, allocations: 31.98 kB / 0.5359 GB, free: 1.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002122/1.028, allocations: 0.9332 MB / 0.5368 GB, free: 412 kB / 426.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.028, allocations: 0 / 0.5368 GB, free: 412 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002826/1.03, allocations: 0.6806 MB / 0.5375 GB, free: 15.71 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.007143/1.038, allocations: 3.591 MB / 0.541 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004501/1.042, allocations: 1.665 MB / 0.5426 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.042, allocations: 0 / 0.5426 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/1.045, allocations: 1.075 MB / 0.5437 GB, free: 9.266 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.047, allocations: 292.3 kB / 0.544 GB, free: 8.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.06, allocations: 4.475 MB / 0.5483 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/1.063, allocations: 2.226 MB / 0.5505 GB, free: 2.152 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001865/1.065, allocations: 334.7 kB / 0.5508 GB, free: 1.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.067, allocations: 0.8664 MB / 0.5517 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/1.067, allocations: 0 / 0.5517 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4086/1.476, allocations: 35.96 MB / 0.5868 GB, free: 109.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.476, allocations: 194 kB / 0.587 GB, free: 108.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.462/4.938, allocations: 0 / 0.587 GB, free: 108.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat