Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 270 MB / 283.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.739e-05, allocations: 4 kB / 348.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4173, allocations: 61.87 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.5956, allocations: 91.76 MB / 0.4904 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/0.596, allocations: 71.95 kB / 0.4904 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04903/0.6451, allocations: 9.227 MB / 0.4994 GB, free: 5.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6451, allocations: 0 / 0.4994 GB, free: 5.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.6451, allocations: 8 kB / 0.4994 GB, free: 5.406 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001623/0.6468, allocations: 0.6511 MB / 0.5001 GB, free: 4.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6468, allocations: 8.031 kB / 0.5001 GB, free: 4.703 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.647, allocations: 86.52 kB / 0.5002 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.6471, allocations: 51.44 kB / 0.5002 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.6477, allocations: 308.2 kB / 0.5005 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.6478, allocations: 37 kB / 0.5005 GB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.6479, allocations: 44 kB / 0.5006 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.6491, allocations: 433 kB / 0.501 GB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.6491, allocations: 0 / 0.501 GB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.6492, allocations: 20 kB / 0.501 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6492, allocations: 12 kB / 0.501 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/0.65, allocations: 274 kB / 0.5013 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.654, allocations: 1.717 MB / 0.503 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.6546, allocations: 213 kB / 0.5032 GB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.6549, allocations: 121.7 kB / 0.5033 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.655, allocations: 8 kB / 0.5033 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.655, allocations: 38.56 kB / 0.5033 GB, free: 1.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.975e-06/0.655, allocations: 0 / 0.5033 GB, free: 1.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.003336/0.6584, allocations: 1.111 MB / 0.5044 GB, free: 15.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.6585, allocations: 81.11 kB / 0.5045 GB, free: 15.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.6589, allocations: 234.8 kB / 0.5047 GB, free: 15.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.6589, allocations: 29.7 kB / 0.5047 GB, free: 15.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.6591, allocations: 255.4 kB / 0.505 GB, free: 15.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.6593, allocations: 122.3 kB / 0.5051 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.6593, allocations: 4 kB / 0.5051 GB, free: 15.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6595, allocations: 346.8 kB / 0.5054 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.6598, allocations: 92.88 kB / 0.5055 GB, free: 14.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.6601, allocations: 174.8 kB / 0.5057 GB, free: 14.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.6605, allocations: 120.7 kB / 0.5058 GB, free: 14.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6605, allocations: 4 kB / 0.5058 GB, free: 14.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009741/0.6615, allocations: 375.3 kB / 0.5062 GB, free: 14.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.6616, allocations: 8 kB / 0.5062 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6616, allocations: 0 / 0.5062 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.6618, allocations: 29.19 kB / 0.5062 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.6627, allocations: 131.9 kB / 0.5063 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.6641, allocations: 1.331 MB / 0.5076 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.6647, allocations: 20 kB / 0.5077 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.6647, allocations: 16 kB / 0.5077 GB, free: 12.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.6649, allocations: 132.8 kB / 0.5078 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.665, allocations: 35.66 kB / 0.5078 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/0.6651, allocations: 38.03 kB / 0.5079 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6652, allocations: 7.984 kB / 0.5079 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6652, allocations: 0 / 0.5079 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6652, allocations: 0 / 0.5079 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.6667, allocations: 0.7055 MB / 0.5086 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6668, allocations: 4.062 kB / 0.5086 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.6676, allocations: 91.88 kB / 0.5087 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.6678, allocations: 28.84 kB / 0.5087 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.6678, allocations: 11.94 kB / 0.5087 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.6691, allocations: 1.328 MB / 0.51 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6691, allocations: 0 / 0.51 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6702, allocations: 0.5879 MB / 0.5106 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.6704, allocations: 124.7 kB / 0.5107 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/0.6705, allocations: 12 kB / 0.5107 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.671, allocations: 27.92 kB / 0.5107 GB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.6711, allocations: 27.92 kB / 0.5107 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.6711, allocations: 8 kB / 0.5108 GB, free: 8.953 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.6714, allocations: 183.1 kB / 0.5109 GB, free: 8.773 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6714, allocations: 0 / 0.5109 GB, free: 8.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000684/0.6721, allocations: 100.2 kB / 0.511 GB, free: 8.676 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/0.6737, allocations: 1.341 MB / 0.5123 GB, free: 7.289 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009142/0.6746, allocations: 358.1 kB / 0.5127 GB, free: 6.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6746, allocations: 0 / 0.5127 GB, free: 6.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.6751, allocations: 230.4 kB / 0.5129 GB, free: 6.695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.6756, allocations: 44.67 kB / 0.5129 GB, free: 6.652 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6779, allocations: 0.7363 MB / 0.5137 GB, free: 5.871 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.6784, allocations: 0.823 MB / 0.5145 GB, free: 5.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002835/0.6787, allocations: 34.97 kB / 0.5145 GB, free: 4.984 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.679, allocations: 143.4 kB / 0.5146 GB, free: 4.844 MB / 442.7 MB Notification: Performance of SimCode: time 1.143e-06/0.679, allocations: 0 / 0.5146 GB, free: 4.844 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.7201, allocations: 5.854 MB / 0.5203 GB, free: 15.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/0.7205, allocations: 192.6 kB / 0.5205 GB, free: 14.86 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.519, allocations: 3.938 kB / 0.5205 GB, free: 14.85 MB / 458.7 MB