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.895/1.895, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.094e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.0972, allocations: 44.52 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5254, allocations: 83.45 MB / 383.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5257, allocations: 83.23 kB / 383.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1827/0.7085, allocations: 53.84 MB / 437.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7085, allocations: 0 / 437.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000247/0.7088, allocations: 75.22 kB / 437.4 MB, free: 11.5 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.0119/0.7207, allocations: 2.755 MB / 440.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.7208, allocations: 8.031 kB / 440.1 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001521/0.7223, allocations: 432.9 kB / 440.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/0.7272, allocations: 0.5973 MB / 441.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.7334, allocations: 1.815 MB / 443 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.7336, allocations: 205.3 kB / 443.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008299/0.7345, allocations: 267.9 kB / 443.4 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009905/0.7444, allocations: 3.464 MB / 446.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.321e-05/0.7445, allocations: 0 / 446.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004649/0.745, allocations: 116 kB / 447 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.7452, allocations: 105.4 kB / 447.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008879/0.7541, allocations: 2.782 MB / 449.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/0.7831, allocations: 10.53 MB / 460.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008436/0.7916, allocations: 4.609 MB / 465 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/0.794, allocations: 0.8912 MB / 465.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006554/0.8006, allocations: 2.445 MB / 468.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.8006, allocations: 43.44 kB / 468.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.918e-06/0.8007, allocations: 4 kB / 468.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.004113/0.8048, allocations: 1.455 MB / 469.9 MB, free: 9.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.8049, allocations: 93.98 kB / 470 MB, free: 9.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.8075, allocations: 1.198 MB / 471.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.8077, allocations: 49.7 kB / 471.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009776/0.8087, allocations: 1.134 MB / 472.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.8092, allocations: 361.5 kB / 472.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.8093, allocations: 24 kB / 472.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8095, allocations: 358.8 kB / 473.1 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.811, allocations: 0.5413 MB / 473.6 MB, free: 5.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.8128, allocations: 0.7977 MB / 474.4 MB, free: 5.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.8145, allocations: 0.6778 MB / 475.1 MB, free: 4.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.8145, allocations: 4 kB / 475.1 MB, free: 4.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004938/0.8195, allocations: 1.813 MB / 476.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.8196, allocations: 12 kB / 476.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.8196, allocations: 8 kB / 476.9 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.8213, allocations: 391.6 kB / 477.3 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.8231, allocations: 219.7 kB / 477.5 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.8348, allocations: 6.059 MB / 483.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.8366, allocations: 142.8 kB / 483.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.8368, allocations: 47.98 kB / 483.8 MB, free: 11.42 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.0003549/0.8372, allocations: 172.7 kB / 484 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.8375, allocations: 142.3 kB / 484.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.8422, allocations: 1.601 MB / 485.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.8423, allocations: 8 kB / 485.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.8423, allocations: 8 kB / 485.7 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.8423, allocations: 3.984 kB / 485.7 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.8533, allocations: 3.912 MB / 489.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.8533, allocations: 4 kB / 489.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.8545, allocations: 136 kB / 489.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.8563, allocations: 399.8 kB / 490.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.8564, allocations: 35.94 kB / 490.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.8683, allocations: 6.041 MB / 496.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.8684, allocations: 7.969 kB / 496.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006341/0.8747, allocations: 2.494 MB / 498.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.8755, allocations: 243.3 kB / 499 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.8758, allocations: 27.98 kB / 499 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.8774, allocations: 99.91 kB / 499.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/0.8778, allocations: 100.6 kB / 499.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.8779, allocations: 35.98 kB / 499.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002202/0.8801, allocations: 0.9254 MB / 0.4884 GB, free: 10.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8801, allocations: 0 / 0.4884 GB, free: 10.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002888/0.883, allocations: 0.6766 MB / 0.4891 GB, free: 9.906 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.007156/0.8902, allocations: 3.592 MB / 0.4926 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.895, allocations: 1.718 MB / 0.4943 GB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.895, allocations: 0 / 0.4943 GB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.898, allocations: 1.083 MB / 0.4953 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.9006, allocations: 280.3 kB / 0.4956 GB, free: 3.105 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.9142, allocations: 4.398 MB / 0.4999 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/0.9174, allocations: 2.171 MB / 0.502 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/0.9196, allocations: 0.8781 MB / 0.5029 GB, free: 11.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.9196, allocations: 0 / 0.5029 GB, free: 11.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.327/4.246, allocations: 63.87 MB / 0.5652 GB, free: 95.68 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