Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.3/2.3, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.542e-05, allocations: 1.812 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.5743, allocations: 82.79 MB / 377.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.5747, allocations: 77.77 kB / 377.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2343/0.809, allocations: 53.2 MB / 430.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.809, allocations: 0 / 430.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002674/0.8093, allocations: 67.94 kB / 430.4 MB, free: 7.613 MB / 330.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.01309/0.8224, allocations: 2.745 MB / 433.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.8225, allocations: 8.031 kB / 433.2 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005886/0.8284, allocations: 0.5976 MB / 433.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007101/0.8355, allocations: 1.825 MB / 435.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.8358, allocations: 88 kB / 435.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000939/0.8367, allocations: 152 kB / 435.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009737/0.8465, allocations: 2.626 MB / 438.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.8586, allocations: 3.083 MB / 441.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.8587, allocations: 0 / 441.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007063/0.8595, allocations: 4 kB / 441.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.8597, allocations: 101.4 kB / 441.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03447/0.8942, allocations: 10.01 MB / 451.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009942/0.9042, allocations: 4.562 MB / 456.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/0.9069, allocations: 0.8481 MB / 457.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007931/0.9149, allocations: 2.407 MB / 459.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.915, allocations: 47.42 kB / 459.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 5.3e-06/0.915, allocations: 0 / 459.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.005965/0.921, allocations: 1.51 MB / 461 MB, free: 7.809 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.9211, allocations: 97.98 kB / 461.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.9241, allocations: 1.101 MB / 462.2 MB, free: 6.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.9244, allocations: 29.7 kB / 462.3 MB, free: 6.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.9259, allocations: 1.16 MB / 463.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006075/0.9265, allocations: 339 kB / 463.7 MB, free: 5.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.9266, allocations: 0 / 463.7 MB, free: 5.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.9269, allocations: 349.9 kB / 464.1 MB, free: 4.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.9284, allocations: 0.5101 MB / 464.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.9302, allocations: 0.7795 MB / 465.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/0.9332, allocations: 0.7848 MB / 466.2 MB, free: 2.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.9333, allocations: 4 kB / 466.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007027/0.9403, allocations: 1.902 MB / 468.1 MB, free: 0.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.9404, allocations: 12.06 kB / 468.1 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.9405, allocations: 8 kB / 468.1 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.9425, allocations: 391.4 kB / 468.5 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.9446, allocations: 215.7 kB / 468.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.9586, allocations: 5.861 MB / 474.5 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.9607, allocations: 122.9 kB / 474.7 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/0.9611, allocations: 48 kB / 474.7 MB, free: 9.711 MB / 378.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.0004365/0.9616, allocations: 132.7 kB / 474.8 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006223/0.9678, allocations: 1.517 MB / 476.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/0.9687, allocations: 142.4 kB / 476.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006891/0.9756, allocations: 1.631 MB / 478.1 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/0.9757, allocations: 12 kB / 478.1 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/0.9757, allocations: 8 kB / 478.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/0.9758, allocations: 7.969 kB / 478.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.9891, allocations: 3.583 MB / 481.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.9892, allocations: 0 / 481.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.9907, allocations: 139.9 kB / 481.9 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/0.9927, allocations: 385.6 kB / 482.2 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.993, allocations: 31.94 kB / 482.3 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/1.006, allocations: 5.848 MB / 488.1 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/1.006, allocations: 7.953 kB / 488.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007682/1.014, allocations: 2.554 MB / 490.7 MB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007116/1.015, allocations: 231.3 kB / 490.9 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/1.015, allocations: 19.98 kB / 490.9 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.017, allocations: 87.91 kB / 491 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000446/1.018, allocations: 88.73 kB / 491.1 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.018, allocations: 31.98 kB / 491.1 MB, free: 8.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002256/1.02, allocations: 0.8412 MB / 492 MB, free: 8.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.02, allocations: 0 / 492 MB, free: 8.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00327/1.023, allocations: 0.6296 MB / 492.6 MB, free: 7.387 MB / 394.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.008709/1.032, allocations: 3.64 MB / 496.2 MB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004974/1.037, allocations: 1.626 MB / 497.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.037, allocations: 0 / 497.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003383/1.041, allocations: 1.047 MB / 498.9 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/1.043, allocations: 236.6 kB / 499.2 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.058, allocations: 4.376 MB / 0.4917 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003726/1.062, allocations: 2.23 MB / 0.4939 GB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002147/1.064, allocations: 326.4 kB / 0.4942 GB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.066, allocations: 0.8703 MB / 0.4951 GB, free: 8.797 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.066, allocations: 0 / 0.4951 GB, free: 8.797 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4442/1.51, allocations: 33.09 MB / 0.5274 GB, free: 109 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002675/1.511, allocations: 172.4 kB / 0.5275 GB, free: 108.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.093/5.603, allocations: 0 / 0.5275 GB, free: 108.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat