Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 270 MB / 282.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.658e-05/4.657e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4295, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.6216, allocations: 91.77 MB / 0.489 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.6219, allocations: 71.97 kB / 0.489 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05231/0.6742, allocations: 9.222 MB / 0.498 GB, free: 5.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6743, allocations: 0 / 0.498 GB, free: 5.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.644e-05/0.6743, allocations: 8 kB / 0.498 GB, free: 5.508 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.002252/0.6766, allocations: 0.6511 MB / 0.4987 GB, free: 4.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.6767, allocations: 8.031 kB / 0.4987 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.6769, allocations: 86.52 kB / 0.4988 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.6772, allocations: 59.44 kB / 0.4988 GB, free: 4.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.678, allocations: 308.2 kB / 0.4991 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.6782, allocations: 36.98 kB / 0.4991 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.6783, allocations: 48 kB / 0.4992 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.68, allocations: 425 kB / 0.4996 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.6801, allocations: 0 / 0.4996 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6802, allocations: 20 kB / 0.4996 GB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.6803, allocations: 12 kB / 0.4996 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.6815, allocations: 278 kB / 0.4999 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005532/0.6871, allocations: 1.709 MB / 0.5016 GB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.688, allocations: 217 kB / 0.5018 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.6885, allocations: 117.7 kB / 0.5019 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.6885, allocations: 4 kB / 0.5019 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.6886, allocations: 38.56 kB / 0.5019 GB, free: 1.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 4.378e-06/0.6886, allocations: 4 kB / 0.5019 GB, free: 1.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.003989/0.6926, allocations: 1.112 MB / 0.503 GB, free: 44 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.6927, allocations: 81.11 kB / 0.5031 GB, free: 15.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.6932, allocations: 234.9 kB / 0.5033 GB, free: 15.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.6933, allocations: 33.69 kB / 0.5033 GB, free: 15.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.6935, allocations: 313.9 kB / 0.5036 GB, free: 15.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.6937, allocations: 122.3 kB / 0.5038 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.6937, allocations: 8 kB / 0.5038 GB, free: 15.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6939, allocations: 326.8 kB / 0.5041 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.6942, allocations: 84.88 kB / 0.5042 GB, free: 14.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.6946, allocations: 186.8 kB / 0.5043 GB, free: 14.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.695, allocations: 124.4 kB / 0.5045 GB, free: 14.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.695, allocations: 0 / 0.5045 GB, free: 14.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001142/0.6962, allocations: 363.9 kB / 0.5048 GB, free: 14.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.6963, allocations: 10.75 kB / 0.5048 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6963, allocations: 4 kB / 0.5048 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.6965, allocations: 28.84 kB / 0.5048 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/0.6975, allocations: 124.1 kB / 0.505 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.6991, allocations: 1.332 MB / 0.5063 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.6997, allocations: 28.05 kB / 0.5063 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.6997, allocations: 16 kB / 0.5063 GB, free: 12.45 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.0001649/0.6999, allocations: 128.8 kB / 0.5064 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.7001, allocations: 31.62 kB / 0.5065 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.7002, allocations: 37.95 kB / 0.5065 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.7002, allocations: 4 kB / 0.5065 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.7002, allocations: 4 kB / 0.5065 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7002, allocations: 7.984 kB / 0.5065 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.702, allocations: 0.6998 MB / 0.5072 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.702, allocations: 0 / 0.5072 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.7031, allocations: 99.94 kB / 0.5073 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.7033, allocations: 28.84 kB / 0.5073 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.7034, allocations: 4 kB / 0.5073 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.7051, allocations: 1.332 MB / 0.5086 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7051, allocations: 0 / 0.5086 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.7067, allocations: 0.58 MB / 0.5092 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.707, allocations: 128.7 kB / 0.5093 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.7071, allocations: 11.98 kB / 0.5093 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.7078, allocations: 19.98 kB / 0.5093 GB, free: 9.062 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7079, allocations: 31.92 kB / 0.5094 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.708, allocations: 12 kB / 0.5094 GB, free: 9.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004096/0.7084, allocations: 179.1 kB / 0.5096 GB, free: 8.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7084, allocations: 0 / 0.5096 GB, free: 8.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001085/0.7095, allocations: 96.25 kB / 0.5096 GB, free: 8.75 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.002122/0.7117, allocations: 1.341 MB / 0.511 GB, free: 7.363 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.713, allocations: 362 kB / 0.5113 GB, free: 7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.713, allocations: 0 / 0.5113 GB, free: 7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.7136, allocations: 225.6 kB / 0.5115 GB, free: 6.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.7145, allocations: 41.3 kB / 0.5116 GB, free: 6.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.7179, allocations: 0.7694 MB / 0.5123 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.7186, allocations: 0.8191 MB / 0.5131 GB, free: 5.062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/0.7191, allocations: 143.4 kB / 0.5132 GB, free: 4.922 MB / 442.7 MB Notification: Performance of SimCode: time 3.947e-06/0.7191, allocations: 4 kB / 0.5133 GB, free: 4.918 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.97/3.689, allocations: 7.546 MB / 0.5206 GB, free: 13.38 MB / 458.7 MB