Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.852/1.852, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.261e-05, allocations: 7.984 kB / 255.5 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.0919, allocations: 44.5 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5236, allocations: 83.46 MB / 383.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.524, allocations: 83.53 kB / 383.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1797/0.7037, allocations: 53.85 MB / 437.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7038, allocations: 0 / 437.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001927/0.704, allocations: 67.94 kB / 437.4 MB, free: 11.34 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.01038/0.7144, allocations: 2.751 MB / 440.2 MB, free: 8.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.7144, allocations: 8.031 kB / 440.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/0.7157, allocations: 436.9 kB / 440.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/0.7201, allocations: 0.5937 MB / 441.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/0.7256, allocations: 1.821 MB / 443 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.7259, allocations: 201.4 kB / 443.2 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006734/0.7266, allocations: 259.9 kB / 443.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008797/0.7354, allocations: 3.443 MB / 446.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/0.7355, allocations: 4 kB / 446.9 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004343/0.7359, allocations: 119.6 kB / 447 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.7361, allocations: 101.4 kB / 447.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007615/0.7437, allocations: 2.752 MB / 449.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02672/0.7705, allocations: 10.53 MB / 460.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008121/0.7786, allocations: 4.604 MB / 465 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.7808, allocations: 0.8795 MB / 465.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006141/0.787, allocations: 2.45 MB / 468.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.787, allocations: 47.44 kB / 468.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.346e-06/0.787, allocations: 3.938 kB / 468.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.003944/0.791, allocations: 1.455 MB / 469.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.7911, allocations: 93.97 kB / 469.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.7937, allocations: 1.198 MB / 471.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.7938, allocations: 45.7 kB / 471.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009533/0.7948, allocations: 1.138 MB / 472.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/0.7952, allocations: 358.1 kB / 472.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.7953, allocations: 20 kB / 472.7 MB, free: 6.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7955, allocations: 358.8 kB / 473 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.7969, allocations: 0.5374 MB / 473.6 MB, free: 5.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.7984, allocations: 0.795 MB / 474.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.8, allocations: 0.6817 MB / 475.1 MB, free: 4.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.8, allocations: 4 kB / 475.1 MB, free: 4.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004863/0.8049, allocations: 1.792 MB / 476.8 MB, free: 2.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.805, allocations: 11.98 kB / 476.9 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.805, allocations: 8 kB / 476.9 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.8067, allocations: 393 kB / 477.3 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.8084, allocations: 223.6 kB / 477.5 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.8197, allocations: 6.059 MB / 483.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.8215, allocations: 146.7 kB / 483.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.8217, allocations: 48 kB / 483.7 MB, free: 11.37 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.0003389/0.822, allocations: 172.7 kB / 483.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.8224, allocations: 138.4 kB / 484 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.8269, allocations: 1.597 MB / 485.6 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.827, allocations: 8 kB / 485.6 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.827, allocations: 8 kB / 485.6 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.827, allocations: 11.91 kB / 485.6 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.838, allocations: 3.911 MB / 489.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.8381, allocations: 192 / 489.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.8393, allocations: 139.8 kB / 489.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.841, allocations: 396.5 kB / 490.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/0.8412, allocations: 43.92 kB / 490.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.8524, allocations: 6.027 MB / 496.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8525, allocations: 4.031 kB / 496.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006693/0.8592, allocations: 2.494 MB / 498.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007121/0.8599, allocations: 243.2 kB / 498.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/0.8604, allocations: 31.98 kB / 498.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.8619, allocations: 103.9 kB / 499 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/0.8622, allocations: 100.6 kB / 499.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.8624, allocations: 31.98 kB / 499.1 MB, free: 11.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002073/0.8645, allocations: 0.9254 MB / 0.4884 GB, free: 10.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.8645, allocations: 0 / 0.4884 GB, free: 10.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002649/0.8671, allocations: 0.6766 MB / 0.489 GB, free: 9.859 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.006949/0.8741, allocations: 3.598 MB / 0.4925 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004714/0.8789, allocations: 1.671 MB / 0.4942 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.8789, allocations: 7.938 kB / 0.4942 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.8819, allocations: 1.051 MB / 0.4952 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.8842, allocations: 283.2 kB / 0.4955 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8955, allocations: 4.387 MB / 0.4997 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/0.8984, allocations: 2.159 MB / 0.5019 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/0.9003, allocations: 0.8781 MB / 0.5027 GB, free: 11.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.9004, allocations: 0 / 0.5027 GB, free: 11.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.391/4.292, allocations: 63.71 MB / 0.5649 GB, free: 95.41 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat