Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.774/2.774, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/3.004e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4351, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.6414, allocations: 83.03 MB / 437.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.6418, allocations: 59.91 kB / 437.5 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1474/0.7892, allocations: 25.54 MB / 463 MB, free: 2.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7893, allocations: 0 / 463 MB, free: 2.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.7893, allocations: 0 / 463 MB, free: 2.422 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.001078/0.7904, allocations: 432 kB / 463.5 MB, free: 1.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.7905, allocations: 8.031 kB / 463.5 MB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.7906, allocations: 30.56 kB / 463.5 MB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.7906, allocations: 4 kB / 463.5 MB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.7908, allocations: 174.9 kB / 463.7 MB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.7908, allocations: 0 / 463.7 MB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.7909, allocations: 3.938 kB / 463.7 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.506e-05/0.7909, allocations: 0 / 463.7 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.117e-05/0.791, allocations: 33.66 kB / 463.7 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7911, allocations: 0 / 463.7 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7911, allocations: 0 / 463.7 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7911, allocations: 0 / 463.7 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.7914, allocations: 122.2 kB / 463.8 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.146e-05/0.7915, allocations: 26.61 kB / 463.9 MB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.7915, allocations: 4.859 kB / 463.9 MB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.7916, allocations: 3.938 kB / 463.9 MB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.7917, allocations: 60.25 kB / 463.9 MB, free: 1.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 3.006e-06/0.7917, allocations: 0 / 463.9 MB, free: 1.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002578/0.792, allocations: 33.77 kB / 464 MB, free: 1.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.7921, allocations: 77.11 kB / 464 MB, free: 1.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.7922, allocations: 89.03 kB / 464.1 MB, free: 1.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.7922, allocations: 25.7 kB / 464.1 MB, free: 1.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.7923, allocations: 80.14 kB / 464.2 MB, free: 1.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.7923, allocations: 0 / 464.2 MB, free: 1.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.7923, allocations: 4 kB / 464.2 MB, free: 1.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.7926, allocations: 322.8 kB / 464.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.7926, allocations: 0 / 464.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.7927, allocations: 0 / 464.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.7928, allocations: 4.062 kB / 464.5 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7928, allocations: 4 kB / 464.5 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000176/0.793, allocations: 33.64 kB / 464.6 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.7931, allocations: 31.11 kB / 464.6 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7931, allocations: 4 kB / 464.6 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.7931, allocations: 7.984 kB / 464.6 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-06/0.7931, allocations: 3.984 kB / 464.6 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.7932, allocations: 0 / 464.6 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.7932, allocations: 0 / 464.6 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.7932, allocations: 0 / 464.6 MB, free: 0.6016 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.0001725/0.7934, allocations: 138.7 kB / 464.8 MB, free: 464 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.7935, allocations: 0 / 464.8 MB, free: 464 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.7935, allocations: 7.688 kB / 464.8 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7935, allocations: 0 / 464.8 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7935, allocations: 0 / 464.8 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7936, allocations: 0 / 464.8 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.7937, allocations: 138.2 kB / 464.9 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7938, allocations: 0 / 464.9 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.7938, allocations: 0 / 464.9 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7938, allocations: 0 / 464.9 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.7938, allocations: 7.938 kB / 464.9 MB, free: 276 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7938, allocations: 0 / 464.9 MB, free: 276 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7939, allocations: 0 / 464.9 MB, free: 276 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.7941, allocations: 69.02 kB / 465 MB, free: 188 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.7942, allocations: 81.11 kB / 465.1 MB, free: 88 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.7942, allocations: 0 / 465.1 MB, free: 88 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.7943, allocations: 0 / 465.1 MB, free: 88 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.7943, allocations: 8.031 kB / 465.1 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7943, allocations: 0 / 465.1 MB, free: 80 kB / 394.7 MB Notification: Performance of sorting global known variables: time 5.266e-05/0.7944, allocations: 75.28 kB / 465.1 MB, free: 4 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.7944, allocations: 0 / 465.1 MB, free: 4 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.3537/1.148, allocations: 154.9 kB / 465.3 MB, free: 102.6 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.00221/1.15, allocations: 0.8502 MB / 466.1 MB, free: 102.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/1.151, allocations: 64.55 kB / 466.2 MB, free: 102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.151, allocations: 0 / 466.2 MB, free: 102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/1.151, allocations: 59.39 kB / 466.3 MB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/1.151, allocations: 1.594 kB / 466.3 MB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/1.151, allocations: 138.1 kB / 466.4 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/1.152, allocations: 0.6733 MB / 467.1 MB, free: 101.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.818e-06/1.152, allocations: 1.547 kB / 467.1 MB, free: 101.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/1.152, allocations: 9.188 kB / 467.1 MB, free: 101.1 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/1.152, allocations: 3.562 kB / 467.1 MB, free: 101.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07773/1.229, allocations: 5.253 MB / 472.3 MB, free: 101 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003054/1.23, allocations: 170.6 kB / 472.5 MB, free: 100.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.02/4.25, allocations: 7.094 kB / 472.5 MB, free: 100.8 MB / 394.7 MB