Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.785e-05, allocations: 4 kB / 299.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3973, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5941, allocations: 83.01 MB / 437.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.5944, allocations: 67.92 kB / 437.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1351/0.7296, allocations: 25.24 MB / 462.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7296, allocations: 0 / 462.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.7296, allocations: 3.938 kB / 462.7 MB, free: 5.859 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000773/0.7304, allocations: 436.1 kB / 463.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7305, allocations: 8.031 kB / 463.1 MB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.7305, allocations: 7.984 kB / 463.1 MB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.7306, allocations: 159.1 kB / 463.3 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.7307, allocations: 3.984 kB / 463.3 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.7307, allocations: 3.938 kB / 463.3 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.605e-05/0.7307, allocations: 3.938 kB / 463.3 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.769e-05/0.7308, allocations: 29.7 kB / 463.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7308, allocations: 7.953 kB / 463.3 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.7309, allocations: 0 / 463.3 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7309, allocations: 0 / 463.3 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.731, allocations: 126.2 kB / 463.4 MB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.7311, allocations: 18.61 kB / 463.4 MB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.7311, allocations: 4.859 kB / 463.4 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.7311, allocations: 0 / 463.4 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.7312, allocations: 64.27 kB / 463.5 MB, free: 4.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 3.928e-06/0.7312, allocations: 0 / 463.5 MB, free: 4.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001973/0.7314, allocations: 37.7 kB / 463.5 MB, free: 4.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.7315, allocations: 77.11 kB / 463.6 MB, free: 4.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.7315, allocations: 88.98 kB / 463.7 MB, free: 4.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.7316, allocations: 25.7 kB / 463.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.7316, allocations: 80.14 kB / 463.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.7316, allocations: 0 / 463.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.7317, allocations: 0 / 463.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.7318, allocations: 322.8 kB / 464.1 MB, free: 4.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.7318, allocations: 4 kB / 464.1 MB, free: 4.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.7318, allocations: 0 / 464.1 MB, free: 4.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.7319, allocations: 0 / 464.1 MB, free: 4.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7319, allocations: 0 / 464.1 MB, free: 4.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.11e-05/0.732, allocations: 37.64 kB / 464.2 MB, free: 4.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.7321, allocations: 33.69 kB / 464.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7321, allocations: 0 / 464.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.7321, allocations: 4.094 kB / 464.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.7321, allocations: 4 kB / 464.2 MB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.7321, allocations: 0 / 464.2 MB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.7322, allocations: 0 / 464.2 MB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.7322, allocations: 0 / 464.2 MB, free: 4.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.7323, allocations: 138.6 kB / 464.3 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.033e-05/0.7324, allocations: 41.69 kB / 464.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.7324, allocations: 0 / 464.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.7324, allocations: 3.75 kB / 464.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7324, allocations: 11.91 kB / 464.4 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7325, allocations: 0 / 464.4 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7325, allocations: 7.953 kB / 464.4 MB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.7326, allocations: 126.2 kB / 464.5 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7326, allocations: 0 / 464.5 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-06/0.7326, allocations: 0 / 464.5 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7326, allocations: 0 / 464.5 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.7326, allocations: 4 kB / 464.5 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.7327, allocations: 3.984 kB / 464.5 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7327, allocations: 7.938 kB / 464.5 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.7328, allocations: 69.08 kB / 464.6 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.7329, allocations: 77.11 kB / 464.7 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.7329, allocations: 0 / 464.7 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.7329, allocations: 4 kB / 464.7 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.733, allocations: 0 / 464.7 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.733, allocations: 0 / 464.7 MB, free: 3.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.733, allocations: 75.28 kB / 464.8 MB, free: 3.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.733, allocations: 0 / 464.8 MB, free: 3.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00102/0.7341, allocations: 207.8 kB / 465 MB, free: 3.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001875/0.736, allocations: 0.8699 MB / 465.8 MB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.7361, allocations: 59.41 kB / 465.9 MB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7361, allocations: 0 / 465.9 MB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.7362, allocations: 59.41 kB / 466 MB, free: 2.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.7363, allocations: 8.047 kB / 466 MB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.7369, allocations: 153.5 kB / 466.1 MB, free: 2.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.7372, allocations: 0.6767 MB / 466.8 MB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.7372, allocations: 0 / 466.8 MB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.7373, allocations: 11.44 kB / 466.8 MB, free: 1.297 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7373, allocations: 0 / 466.8 MB, free: 1.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07748/0.8148, allocations: 5.429 MB / 472.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.8151, allocations: 154.3 kB / 472.4 MB, free: 11.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.503, allocations: 0 / 472.4 MB, free: 11.67 MB / 410.7 MB