Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.497/2.497, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.867e-05, allocations: 4 kB / 347.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3975, allocations: 61.87 MB / 408.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.5543, allocations: 86.81 MB / 495.7 MB, free: 3.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5547, allocations: 71.95 kB / 495.8 MB, free: 3.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007397/0.5621, allocations: 1.75 MB / 497.6 MB, free: 2.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5622, allocations: 3.938 kB / 497.6 MB, free: 2.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.5622, allocations: 3.828 kB / 497.6 MB, free: 2.039 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007404/0.5629, allocations: 410.2 kB / 498 MB, free: 1.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.563, allocations: 8.031 kB / 498 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.5631, allocations: 46.55 kB / 498 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.5631, allocations: 7.906 kB / 498 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.5633, allocations: 171 kB / 498.2 MB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.5633, allocations: 7.953 kB / 498.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.5634, allocations: 19.94 kB / 498.2 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.5636, allocations: 89.67 kB / 498.3 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5637, allocations: 4 kB / 498.3 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.5637, allocations: 4 kB / 498.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5637, allocations: 0 / 498.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.5639, allocations: 63.86 kB / 498.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.5651, allocations: 483.3 kB / 498.9 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.5653, allocations: 58.52 kB / 498.9 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5654, allocations: 44.98 kB / 499 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.5655, allocations: 3.953 kB / 499 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.5655, allocations: 30.56 kB / 499 MB, free: 452 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/0.5655, allocations: 0 / 499 MB, free: 452 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003811/0.5659, allocations: 98.44 kB / 499.1 MB, free: 344 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.566, allocations: 55.34 kB / 499.1 MB, free: 276 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.5661, allocations: 105 kB / 499.2 MB, free: 164 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.5661, allocations: 37.69 kB / 499.3 MB, free: 120 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5663, allocations: 170.5 kB / 499.4 MB, free: 15.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.5663, allocations: 27.64 kB / 499.5 MB, free: 15.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/0.5663, allocations: 0 / 499.5 MB, free: 15.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5665, allocations: 310.8 kB / 499.8 MB, free: 15.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.5665, allocations: 16 kB / 499.8 MB, free: 15.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.5666, allocations: 25.72 kB / 499.8 MB, free: 15.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.5667, allocations: 23.98 kB / 499.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.5667, allocations: 3.953 kB / 499.8 MB, free: 15.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000297/0.567, allocations: 90.48 kB / 499.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5671, allocations: 7.938 kB / 499.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5671, allocations: 0 / 499.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.5673, allocations: 28.83 kB / 500 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.5675, allocations: 24.02 kB / 500 MB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.5689, allocations: 1.307 MB / 0.4895 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.5692, allocations: 28.02 kB / 0.4896 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.5692, allocations: 7.953 kB / 0.4896 GB, free: 13.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 9.508e-05/0.5693, allocations: 101 kB / 0.4897 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.5694, allocations: 7.906 kB / 0.4897 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.5694, allocations: 12.62 kB / 0.4897 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5694, allocations: 4 kB / 0.4897 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5695, allocations: 7.984 kB / 0.4897 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5695, allocations: 0 / 0.4897 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.5702, allocations: 376.2 kB / 0.4901 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5702, allocations: 192 / 0.4901 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.5704, allocations: 27.92 kB / 0.4901 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.5705, allocations: 28.88 kB / 0.4901 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.5705, allocations: 7.953 kB / 0.4901 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.5717, allocations: 1.296 MB / 0.4914 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5718, allocations: 4.031 kB / 0.4914 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.5721, allocations: 206.8 kB / 0.4916 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.5722, allocations: 81.02 kB / 0.4917 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.5722, allocations: 4 kB / 0.4917 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.5725, allocations: 24.05 kB / 0.4917 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.5725, allocations: 7.984 kB / 0.4917 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.5726, allocations: 0 / 0.4917 GB, free: 11.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.5726, allocations: 95.7 kB / 0.4918 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5727, allocations: 0 / 0.4918 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.5731, allocations: 27.94 kB / 0.4918 GB, free: 11.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0006774/0.5738, allocations: 0.8046 MB / 0.4926 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.5741, allocations: 145.8 kB / 0.4927 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5742, allocations: 11.94 kB / 0.4928 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.5744, allocations: 129.7 kB / 0.4929 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5746, allocations: 7.953 kB / 0.4929 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.5752, allocations: 194.6 kB / 0.4931 GB, free: 9.953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5755, allocations: 0.7005 MB / 0.4938 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.5756, allocations: 27.42 kB / 0.4938 GB, free: 9.199 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5757, allocations: 0 / 0.4938 GB, free: 9.199 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.721/3.297, allocations: 1.998 MB / 0.4957 GB, free: 7.199 MB / 426.7 MB