Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.807e-05, allocations: 4 kB / 255.5 MB, free: 3.066 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09019, allocations: 44.5 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.51, allocations: 94.52 MB / 394.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5104, allocations: 90.03 kB / 394.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527/2.037, allocations: 308.8 MB / 0.6869 GB, free: 54.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.617e-06/2.037, allocations: 1.031 kB / 0.6869 GB, free: 54.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006884/2.038, allocations: 192.6 kB / 0.687 GB, free: 54.57 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04504/2.083, allocations: 8.747 MB / 0.6956 GB, free: 52.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.813e-05/2.083, allocations: 6.781 kB / 0.6956 GB, free: 52.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006934/2.09, allocations: 1.503 MB / 0.6971 GB, free: 52.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03447/2.124, allocations: 4.189 MB / 0.7012 GB, free: 51.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/2.143, allocations: 5.809 MB / 0.7068 GB, free: 50.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009817/2.144, allocations: 0.6458 MB / 0.7075 GB, free: 50.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004/2.148, allocations: 0.8322 MB / 0.7083 GB, free: 50.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04425/2.192, allocations: 15.01 MB / 0.7229 GB, free: 49.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/2.193, allocations: 10.83 kB / 0.7229 GB, free: 49.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002729/2.195, allocations: 367.8 kB / 0.7233 GB, free: 49.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008305/2.196, allocations: 0.6034 MB / 0.7239 GB, free: 49.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03669/2.233, allocations: 13.27 MB / 0.7368 GB, free: 49.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/2.343, allocations: 44.92 MB / 0.7807 GB, free: 34.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/2.367, allocations: 12.11 MB / 0.7925 GB, free: 27.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0155/2.382, allocations: 7.108 MB / 0.7995 GB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/2.383, allocations: 270.8 kB / 0.7997 GB, free: 21.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.957e-05/2.384, allocations: 109.5 kB / 0.7998 GB, free: 21.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=817): time 1.289e-05/2.384, allocations: 0 / 0.7998 GB, free: 21.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=817): time 0.03557/2.419, allocations: 13.08 MB / 0.8126 GB, free: 10.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/2.419, allocations: 146.3 kB / 0.8127 GB, free: 10.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/2.424, allocations: 1.738 MB / 0.8144 GB, free: 8.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001885/2.425, allocations: 133.7 kB / 0.8146 GB, free: 8.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/2.428, allocations: 2.703 MB / 0.8172 GB, free: 6.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004861/2.433, allocations: 2.669 MB / 0.8198 GB, free: 3.617 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/2.434, allocations: 120 kB / 0.8199 GB, free: 3.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008474/2.435, allocations: 0.613 MB / 0.8205 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02238/2.457, allocations: 5.475 MB / 0.8259 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01578/2.473, allocations: 5.762 MB / 0.8315 GB, free: 10.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/2.489, allocations: 5.886 MB / 0.8373 GB, free: 5.742 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.076e-05/2.489, allocations: 5.969 kB / 0.8373 GB, free: 5.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.3642/2.854, allocations: 14.42 MB / 0.8513 GB, free: 64.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/2.854, allocations: 17.34 kB / 0.8514 GB, free: 64.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.493e-05/2.854, allocations: 16.16 kB / 0.8514 GB, free: 64.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/2.87, allocations: 4.342 MB / 0.8556 GB, free: 64.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009119/2.879, allocations: 1.047 MB / 0.8566 GB, free: 64.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/2.898, allocations: 10.51 MB / 0.8669 GB, free: 62.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007364/2.905, allocations: 0.7061 MB / 0.8676 GB, free: 62.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/2.907, allocations: 256.9 kB / 0.8678 GB, free: 62.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.001928/2.909, allocations: 411.8 kB / 0.8682 GB, free: 62.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/2.911, allocations: 397.7 kB / 0.8686 GB, free: 62.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03745/2.948, allocations: 14.67 MB / 0.8829 GB, free: 61.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03254/2.981, allocations: 13.1 MB / 0.8957 GB, free: 61.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-05/2.981, allocations: 0 / 0.8957 GB, free: 61.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000149/2.981, allocations: 35.86 kB / 0.8958 GB, free: 61.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06719/3.048, allocations: 26.82 MB / 0.9219 GB, free: 55.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/3.048, allocations: 3.719 kB / 0.922 GB, free: 55.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007934/3.056, allocations: 0.9028 MB / 0.9228 GB, free: 55.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01401/3.07, allocations: 4.309 MB / 0.927 GB, free: 54.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001967/3.072, allocations: 169.2 kB / 0.9272 GB, free: 54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/3.09, allocations: 10.47 MB / 0.9374 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/3.09, allocations: 3.844 kB / 0.9374 GB, free: 48.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05106/3.142, allocations: 21.61 MB / 0.9585 GB, free: 35.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005904/3.147, allocations: 1.685 MB / 0.9602 GB, free: 34.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/3.15, allocations: 112 kB / 0.9603 GB, free: 34.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006375/3.156, allocations: 340.9 kB / 0.9606 GB, free: 34.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002844/3.159, allocations: 0.5672 MB / 0.9612 GB, free: 33.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001488/3.161, allocations: 213.2 kB / 0.9614 GB, free: 33.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002791/3.163, allocations: 1.34 MB / 0.9627 GB, free: 32.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.164, allocations: 2.531 kB / 0.9627 GB, free: 32.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009948/3.173, allocations: 2.241 MB / 0.9649 GB, free: 30.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.0507/3.224, allocations: 22.51 MB / 0.9869 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03388/3.258, allocations: 12.1 MB / 0.9987 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/3.258, allocations: 0 / 0.9987 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02208/3.28, allocations: 6.444 MB / 1.005 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007543/3.288, allocations: 0.656 MB / 1.006 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4262/3.714, allocations: 20.41 MB / 1.026 GB, free: 78.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01377/3.728, allocations: 6.028 MB / 1.031 GB, free: 77.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008276/3.736, allocations: 2.948 MB / 1.034 GB, free: 77.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/3.736, allocations: 0 / 1.034 GB, free: 77.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.172/8.908, allocations: 338.1 MB / 1.364 GB, free: 76.1 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat