Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.852e-05, allocations: 7.234 kB / 348.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1677, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6071/0.7749, allocations: 91.75 MB / 0.4903 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.7752, allocations: 75.95 kB / 0.4904 GB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04184/0.8171, allocations: 9.227 MB / 0.4994 GB, free: 2.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8171, allocations: 4 kB / 0.4994 GB, free: 2.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.8171, allocations: 12 kB / 0.4994 GB, free: 2.91 MB / 410.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.001657/0.8188, allocations: 0.6472 MB / 0.5001 GB, free: 2.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.8189, allocations: 12.02 kB / 0.5001 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.819, allocations: 82.53 kB / 0.5002 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.8192, allocations: 51.44 kB / 0.5002 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.8198, allocations: 312.2 kB / 0.5005 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.8199, allocations: 41 kB / 0.5005 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.82, allocations: 44 kB / 0.5006 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.8212, allocations: 425.1 kB / 0.501 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.8212, allocations: 3.938 kB / 0.501 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.8213, allocations: 20 kB / 0.501 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.8213, allocations: 15.94 kB / 0.501 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008311/0.8222, allocations: 274 kB / 0.5013 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.8263, allocations: 1.713 MB / 0.503 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.8269, allocations: 221 kB / 0.5032 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.8273, allocations: 117.7 kB / 0.5033 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.8274, allocations: 4 kB / 0.5033 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.8274, allocations: 34.56 kB / 0.5033 GB, free: 14.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.136e-06/0.8274, allocations: 0 / 0.5033 GB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.003487/0.8309, allocations: 1.116 MB / 0.5044 GB, free: 13.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.831, allocations: 81.11 kB / 0.5045 GB, free: 13.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.8314, allocations: 230.8 kB / 0.5047 GB, free: 13.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.8315, allocations: 33.7 kB / 0.5047 GB, free: 13.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.8317, allocations: 267.4 kB / 0.505 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.8319, allocations: 118.3 kB / 0.5051 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.8319, allocations: 8 kB / 0.5051 GB, free: 12.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8321, allocations: 338.8 kB / 0.5054 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.8324, allocations: 84.88 kB / 0.5055 GB, free: 12.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.8328, allocations: 187.3 kB / 0.5057 GB, free: 12.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.8332, allocations: 119.8 kB / 0.5058 GB, free: 11.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8332, allocations: 0 / 0.5058 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001057/0.8342, allocations: 379.8 kB / 0.5062 GB, free: 11.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.8343, allocations: 11.73 kB / 0.5062 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8343, allocations: 4 kB / 0.5062 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.8345, allocations: 28.84 kB / 0.5062 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.8355, allocations: 115.9 kB / 0.5063 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.837, allocations: 1.331 MB / 0.5076 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.8376, allocations: 19.98 kB / 0.5077 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.8376, allocations: 16.06 kB / 0.5077 GB, free: 9.895 MB / 426.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.0001692/0.8378, allocations: 132.8 kB / 0.5078 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.8379, allocations: 31.62 kB / 0.5078 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.8381, allocations: 37.95 kB / 0.5079 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.8381, allocations: 4.141 kB / 0.5079 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8381, allocations: 4 kB / 0.5079 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.8381, allocations: 3.984 kB / 0.5079 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.8398, allocations: 0.7044 MB / 0.5086 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.8398, allocations: 3.938 kB / 0.5086 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.8407, allocations: 99.86 kB / 0.5087 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.8408, allocations: 24.92 kB / 0.5087 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.8409, allocations: 11.98 kB / 0.5087 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.8422, allocations: 1.328 MB / 0.51 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8423, allocations: 4.031 kB / 0.51 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.8434, allocations: 0.585 MB / 0.5106 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.8437, allocations: 124.8 kB / 0.5107 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.8438, allocations: 8 kB / 0.5107 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.8443, allocations: 23.92 kB / 0.5107 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.8444, allocations: 31.91 kB / 0.5107 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.8444, allocations: 12 kB / 0.5108 GB, free: 6.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.8447, allocations: 179.1 kB / 0.5109 GB, free: 6.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.8447, allocations: 0 / 0.5109 GB, free: 6.281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006751/0.8454, allocations: 96.25 kB / 0.511 GB, free: 6.188 MB / 426.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.001645/0.8471, allocations: 1.348 MB / 0.5123 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009747/0.8481, allocations: 358.6 kB / 0.5127 GB, free: 4.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.8481, allocations: 0 / 0.5127 GB, free: 4.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000457/0.8486, allocations: 229.5 kB / 0.5129 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.8492, allocations: 32.88 kB / 0.5129 GB, free: 4.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.8516, allocations: 0.7482 MB / 0.5137 GB, free: 3.375 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.8522, allocations: 0.8152 MB / 0.5145 GB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.8525, allocations: 34.95 kB / 0.5145 GB, free: 2.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.8528, allocations: 139.4 kB / 0.5146 GB, free: 2.355 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8528, allocations: 0 / 0.5146 GB, free: 2.355 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/0.958, allocations: 5.864 MB / 0.5203 GB, free: 12.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/0.9584, allocations: 183.8 kB / 0.5205 GB, free: 12.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.545, allocations: 0 / 0.5205 GB, free: 12.36 MB / 442.7 MB