Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.656/2.656, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.389e-05, allocations: 0 / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.439, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.611, allocations: 80.67 MB / 435.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6113, allocations: 63.97 kB / 435.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.6269, allocations: 2.694 MB / 437.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.6269, allocations: 0 / 437.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.6269, allocations: 0 / 437.8 MB, free: 11.64 MB / 378.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.0004639/0.6274, allocations: 376.1 kB / 438.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.6275, allocations: 16.03 kB / 438.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.6275, allocations: 30.56 kB / 438.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.6276, allocations: 0 / 438.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.6277, allocations: 163.1 kB / 438.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.6277, allocations: 0 / 438.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6278, allocations: 0 / 438.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.028e-05/0.6278, allocations: 11.94 kB / 438.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.405e-05/0.6279, allocations: 33.58 kB / 438.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.6279, allocations: 0 / 438.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.6279, allocations: 0 / 438.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.628, allocations: 4 kB / 438.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.6281, allocations: 126.2 kB / 438.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.213e-05/0.6282, allocations: 14.58 kB / 438.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.6282, allocations: 4.859 kB / 438.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.6282, allocations: 0 / 438.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.6283, allocations: 68.34 kB / 438.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 4.278e-06/0.6283, allocations: 4 kB / 438.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000201/0.6285, allocations: 37.59 kB / 438.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.6286, allocations: 77.11 kB / 438.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/0.6286, allocations: 85 kB / 438.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.6287, allocations: 29.7 kB / 438.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.6287, allocations: 80.14 kB / 439 MB, free: 10.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.6288, allocations: 0 / 439 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.6288, allocations: 0 / 439 MB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6289, allocations: 310.8 kB / 439.3 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.6289, allocations: 4.031 kB / 439.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.6289, allocations: 0 / 439.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.629, allocations: 7.984 kB / 439.3 MB, free: 9.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.629, allocations: 0 / 439.3 MB, free: 9.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001057/0.6291, allocations: 33.7 kB / 439.3 MB, free: 9.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.6292, allocations: 33.7 kB / 439.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6292, allocations: 0 / 439.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6292, allocations: 0 / 439.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.6293, allocations: 0 / 439.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6293, allocations: 4.094 kB / 439.4 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.6293, allocations: 7.891 kB / 439.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.6293, allocations: 7.984 kB / 439.4 MB, free: 9.875 MB / 378.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.0001192/0.6295, allocations: 130.6 kB / 439.5 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.6295, allocations: 0 / 439.5 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.6295, allocations: 3.75 kB / 439.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6295, allocations: 4 kB / 439.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6296, allocations: 0 / 439.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.6296, allocations: 0 / 439.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.6297, allocations: 138.1 kB / 439.6 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6297, allocations: 0 / 439.6 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-06/0.6297, allocations: 3.984 kB / 439.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.6297, allocations: 0 / 439.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6298, allocations: 8 kB / 439.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.6298, allocations: 3.984 kB / 439.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6298, allocations: 0 / 439.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.63, allocations: 61.09 kB / 439.7 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.63, allocations: 85.12 kB / 439.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.6301, allocations: 4 kB / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.6301, allocations: 0 / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.6301, allocations: 0 / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.6301, allocations: 0 / 439.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.896e-05/0.6302, allocations: 79.22 kB / 439.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6302, allocations: 0 / 439.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.6308, allocations: 83.92 kB / 440 MB, free: 9.195 MB / 378.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.001156/0.632, allocations: 0.7197 MB / 440.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.6321, allocations: 55.41 kB / 440.7 MB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6321, allocations: 0 / 440.7 MB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.6322, allocations: 59.34 kB / 440.8 MB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.6323, allocations: 0 / 440.8 MB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.6328, allocations: 117.2 kB / 440.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.6331, allocations: 0.6768 MB / 441.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.545e-06/0.6331, allocations: 0 / 441.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.6332, allocations: 7.438 kB / 441.6 MB, free: 7.461 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6332, allocations: 0 / 441.6 MB, free: 7.461 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05215/0.6853, allocations: 1.809 MB / 443.4 MB, free: 5.664 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00039/0.6858, allocations: 156.4 kB / 443.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.843/3.528, allocations: 7.969 kB / 443.6 MB, free: 5.465 MB / 378.7 MB