Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.759e-05, allocations: 3.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1419, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.552/0.6939, allocations: 87.45 MB / 497.8 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.6942, allocations: 60.95 kB / 497.9 MB, free: 444 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.7076, allocations: 2.742 MB / 0.4889 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.7077, allocations: 0 / 0.4889 GB, free: 13.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.7077, allocations: 3.938 kB / 0.4889 GB, free: 13.7 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000431/0.7081, allocations: 388.1 kB / 0.4893 GB, free: 13.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.7082, allocations: 8.031 kB / 0.4893 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.7082, allocations: 34.56 kB / 0.4893 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.7083, allocations: 4 kB / 0.4893 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.7084, allocations: 163 kB / 0.4895 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.7084, allocations: 0 / 0.4895 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.7084, allocations: 0 / 0.4895 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/0.7085, allocations: 33.69 kB / 0.4895 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7086, allocations: 4 kB / 0.4895 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7086, allocations: 0 / 0.4895 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7086, allocations: 0 / 0.4895 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.7086, allocations: 3.938 kB / 0.4895 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.7088, allocations: 153.6 kB / 0.4896 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.717e-05/0.7088, allocations: 14.58 kB / 0.4897 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.7089, allocations: 12.95 kB / 0.4897 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.7089, allocations: 0 / 0.4897 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.7089, allocations: 60.27 kB / 0.4897 GB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.709, allocations: 0 / 0.4897 GB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.7091, allocations: 67.33 kB / 0.4898 GB, free: 12.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.7092, allocations: 81.05 kB / 0.4899 GB, free: 12.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.049e-05/0.7093, allocations: 85 kB / 0.49 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.7093, allocations: 25.7 kB / 0.49 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.7093, allocations: 80.14 kB / 0.4901 GB, free: 12.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.7094, allocations: 0 / 0.4901 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.7094, allocations: 4.031 kB / 0.4901 GB, free: 12.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7095, allocations: 318.8 kB / 0.4904 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.7095, allocations: 3.938 kB / 0.4904 GB, free: 11.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.7095, allocations: 0 / 0.4904 GB, free: 11.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.7096, allocations: 29.69 kB / 0.4904 GB, free: 11.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7096, allocations: 4 kB / 0.4904 GB, free: 11.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.511e-05/0.7097, allocations: 59.36 kB / 0.4905 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.7097, allocations: 33.7 kB / 0.4905 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7098, allocations: 5.156 kB / 0.4905 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7098, allocations: 0 / 0.4905 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.7098, allocations: 0 / 0.4905 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7098, allocations: 0 / 0.4905 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.7098, allocations: 0 / 0.4905 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.7099, allocations: 3.984 kB / 0.4905 GB, free: 11.79 MB / 410.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 9.102e-05/0.71, allocations: 134.6 kB / 0.4906 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.71, allocations: 3.953 kB / 0.4906 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.614e-05/0.71, allocations: 3.125 kB / 0.4906 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.71, allocations: 4 kB / 0.4906 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.71, allocations: 4 kB / 0.4906 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.71, allocations: 0.875 kB / 0.4906 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.7102, allocations: 149.7 kB / 0.4908 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7102, allocations: 0 / 0.4908 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-06/0.7102, allocations: 0 / 0.4908 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.7102, allocations: 3.953 kB / 0.4908 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.7102, allocations: 4 kB / 0.4908 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7102, allocations: 4 kB / 0.4908 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7102, allocations: 3.984 kB / 0.4908 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.7104, allocations: 90.83 kB / 0.4909 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.7104, allocations: 81.11 kB / 0.491 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.7104, allocations: 3.953 kB / 0.491 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.209e-05/0.7105, allocations: 0 / 0.491 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.7105, allocations: 0 / 0.491 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.7105, allocations: 0 / 0.491 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.99e-05/0.7105, allocations: 79.28 kB / 0.491 GB, free: 11.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.093e-06/0.7106, allocations: 0 / 0.491 GB, free: 11.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004937/0.7111, allocations: 91.83 kB / 0.4911 GB, free: 11.04 MB / 410.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.001025/0.7121, allocations: 0.7445 MB / 0.4919 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.7122, allocations: 55.41 kB / 0.4919 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7122, allocations: 0 / 0.4919 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.7123, allocations: 63.34 kB / 0.492 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.7124, allocations: 14.52 kB / 0.492 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.7128, allocations: 118.6 kB / 0.4921 GB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.7131, allocations: 0.6692 MB / 0.4928 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.724e-06/0.7131, allocations: 4 kB / 0.4928 GB, free: 9.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.7132, allocations: 7.438 kB / 0.4928 GB, free: 9.25 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7132, allocations: 4 kB / 0.4928 GB, free: 9.246 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.7347, allocations: 2.017 MB / 0.4947 GB, free: 7.305 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.735, allocations: 180.1 kB / 0.4949 GB, free: 7.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.373, allocations: 8 kB / 0.4949 GB, free: 7.074 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat