Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.821e-05, allocations: 7.938 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.41 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.6062, allocations: 101 MB / 443.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/0.6067, allocations: 81.7 kB / 443.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.849/2.455, allocations: 310.8 MB / 0.7368 GB, free: 66.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.755e-06/2.455, allocations: 4 kB / 0.7368 GB, free: 66.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008053/2.456, allocations: 192.2 kB / 0.737 GB, free: 66.86 MB / 458.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.0459/2.502, allocations: 8.741 MB / 0.7455 GB, free: 64.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/2.502, allocations: 7.344 kB / 0.7456 GB, free: 64.42 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008334/2.511, allocations: 1.5 MB / 0.747 GB, free: 64.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03599/2.547, allocations: 4.197 MB / 0.7511 GB, free: 63.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02239/2.569, allocations: 6.022 MB / 0.757 GB, free: 63.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/2.57, allocations: 0.632 MB / 0.7576 GB, free: 63.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004439/2.575, allocations: 0.8417 MB / 0.7584 GB, free: 63.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0482/2.623, allocations: 14.28 MB / 0.7724 GB, free: 62.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004873/2.623, allocations: 6.75 kB / 0.7724 GB, free: 62.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003754/2.627, allocations: 368.2 kB / 0.7727 GB, free: 62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001141/2.628, allocations: 0.6892 MB / 0.7734 GB, free: 61.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03944/2.668, allocations: 12.17 MB / 0.7853 GB, free: 59.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1157/2.784, allocations: 44.33 MB / 0.8286 GB, free: 27.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/2.803, allocations: 11.57 MB / 0.8399 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008889/2.812, allocations: 3.127 MB / 0.8429 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008482/2.813, allocations: 173.1 kB / 0.8431 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/2.813, allocations: 89.52 kB / 0.8432 GB, free: 12.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 8.476e-06/2.813, allocations: 0 / 0.8432 GB, free: 12.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.02167/2.835, allocations: 5.858 MB / 0.8489 GB, free: 7.305 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/2.835, allocations: 121.1 kB / 0.849 GB, free: 7.168 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009128/2.844, allocations: 2.782 MB / 0.8517 GB, free: 4.727 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00103/2.845, allocations: 89.7 kB / 0.8518 GB, free: 4.633 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003908/2.849, allocations: 3.616 MB / 0.8553 GB, free: 1.406 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002802/2.852, allocations: 1.428 MB / 0.8567 GB, free: 124 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/2.853, allocations: 117.1 kB / 0.8569 GB, free: 8 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.3663/3.22, allocations: 0.5489 MB / 0.8574 GB, free: 63.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009375/3.229, allocations: 2.813 MB / 0.8601 GB, free: 63.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/3.241, allocations: 4.818 MB / 0.8648 GB, free: 61.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/3.253, allocations: 3.958 MB / 0.8687 GB, free: 61.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/3.253, allocations: 18.5 kB / 0.8687 GB, free: 61.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02964/3.282, allocations: 8.727 MB / 0.8772 GB, free: 61.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/3.283, allocations: 33.56 kB / 0.8773 GB, free: 61.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/3.283, allocations: 68.88 kB / 0.8773 GB, free: 61.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005928/3.289, allocations: 1.109 MB / 0.8784 GB, free: 61.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009807/3.298, allocations: 1.289 MB / 0.8797 GB, free: 61.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/3.321, allocations: 9.832 MB / 0.8893 GB, free: 58.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007628/3.329, allocations: 0.7342 MB / 0.89 GB, free: 58.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/3.331, allocations: 275.1 kB / 0.8903 GB, free: 58.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003061/3.334, allocations: 481.8 kB / 0.8907 GB, free: 58.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/3.336, allocations: 350.9 kB / 0.8911 GB, free: 57.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02316/3.359, allocations: 6.915 MB / 0.8978 GB, free: 57.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01773/3.377, allocations: 5.719 MB / 0.9034 GB, free: 57.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-05/3.377, allocations: 11.53 kB / 0.9034 GB, free: 57.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001639/3.377, allocations: 28.23 kB / 0.9034 GB, free: 57.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05239/3.43, allocations: 15.41 MB / 0.9185 GB, free: 56.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-05/3.43, allocations: 12.81 kB / 0.9185 GB, free: 56.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006601/3.436, allocations: 0.7851 MB / 0.9193 GB, free: 56.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005504/3.442, allocations: 1.023 MB / 0.9203 GB, free: 55.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/3.443, allocations: 108.8 kB / 0.9204 GB, free: 55.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02159/3.465, allocations: 9.646 MB / 0.9298 GB, free: 51.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-05/3.465, allocations: 18.22 kB / 0.9298 GB, free: 51.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03005/3.495, allocations: 11.92 MB / 0.9414 GB, free: 45.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003903/3.499, allocations: 1.019 MB / 0.9424 GB, free: 44.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/3.501, allocations: 96.92 kB / 0.9425 GB, free: 44.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005411/3.506, allocations: 279 kB / 0.9428 GB, free: 44.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001608/3.508, allocations: 343.8 kB / 0.9431 GB, free: 44.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001194/3.509, allocations: 142.2 kB / 0.9433 GB, free: 44.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005607/3.515, allocations: 2.062 MB / 0.9453 GB, free: 43.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.32e-07/3.515, allocations: 0 / 0.9453 GB, free: 43.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01081/3.526, allocations: 2.242 MB / 0.9475 GB, free: 43.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03253/3.558, allocations: 16.15 MB / 0.9632 GB, free: 33.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02021/3.578, allocations: 7.225 MB / 0.9703 GB, free: 27.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-05/3.579, allocations: 5 kB / 0.9703 GB, free: 27.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01091/3.589, allocations: 3.59 MB / 0.9738 GB, free: 23.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006896/3.596, allocations: 0.6999 MB / 0.9745 GB, free: 23.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05465/3.651, allocations: 15.81 MB / 0.9899 GB, free: 9.391 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01347/3.665, allocations: 5.904 MB / 0.9957 GB, free: 4.859 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008829/3.674, allocations: 2.955 MB / 0.9986 GB, free: 2.113 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/3.674, allocations: 0 / 0.9986 GB, free: 2.113 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.148/8.822, allocations: 230 MB / 1.223 GB, free: 95.37 MB / 0.5105 GB