Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.679e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4879, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.7074, allocations: 86.25 MB / 468.5 MB, free: 6.168 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.7077, allocations: 63.97 kB / 468.6 MB, free: 6.105 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.7203, allocations: 2.7 MB / 471.3 MB, free: 3.402 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7204, allocations: 0 / 471.3 MB, free: 3.402 MB / 394.8 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.7204, allocations: 0 / 471.3 MB, free: 3.402 MB / 394.8 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.0003994/0.7208, allocations: 380.1 kB / 471.7 MB, free: 2.98 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.7209, allocations: 12.03 kB / 471.7 MB, free: 2.969 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.7209, allocations: 38.5 kB / 471.7 MB, free: 2.922 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.721, allocations: 7.953 kB / 471.7 MB, free: 2.914 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.7211, allocations: 163.1 kB / 471.9 MB, free: 2.715 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.7211, allocations: 4 kB / 471.9 MB, free: 2.711 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.7211, allocations: 0 / 471.9 MB, free: 2.711 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.489e-05/0.7212, allocations: 29.7 kB / 471.9 MB, free: 2.676 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7212, allocations: 0 / 471.9 MB, free: 2.676 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.7213, allocations: 0 / 471.9 MB, free: 2.676 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7213, allocations: 3.953 kB / 471.9 MB, free: 2.672 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.7213, allocations: 7.938 kB / 471.9 MB, free: 2.664 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.7215, allocations: 149.7 kB / 472.1 MB, free: 2.469 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.7215, allocations: 14.58 kB / 472.1 MB, free: 2.445 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.7215, allocations: 8.953 kB / 472.1 MB, free: 2.434 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.7216, allocations: 0 / 472.1 MB, free: 2.434 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.7216, allocations: 60.27 kB / 472.2 MB, free: 2.359 MB / 394.8 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.7216, allocations: 0 / 472.2 MB, free: 2.359 MB / 394.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.7218, allocations: 59.41 kB / 472.2 MB, free: 2.289 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.7219, allocations: 85.12 kB / 472.3 MB, free: 2.188 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.306e-05/0.7219, allocations: 88.94 kB / 472.4 MB, free: 2.094 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.722, allocations: 25.7 kB / 472.4 MB, free: 2.062 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.722, allocations: 80.14 kB / 472.5 MB, free: 1.98 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.722, allocations: 0 / 472.5 MB, free: 1.98 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.722, allocations: 0 / 472.5 MB, free: 1.98 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7222, allocations: 322.8 kB / 472.8 MB, free: 1.656 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.7222, allocations: 0 / 472.8 MB, free: 1.656 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.7222, allocations: 0 / 472.8 MB, free: 1.656 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.7223, allocations: 33.77 kB / 472.8 MB, free: 1.617 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7223, allocations: 0 / 472.8 MB, free: 1.617 MB / 394.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.033e-05/0.7224, allocations: 59.39 kB / 472.9 MB, free: 1.547 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.7224, allocations: 37.64 kB / 472.9 MB, free: 1.504 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.7224, allocations: 0 / 472.9 MB, free: 1.504 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7225, allocations: 0 / 472.9 MB, free: 1.504 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.7225, allocations: 0 / 472.9 MB, free: 1.504 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7225, allocations: 0 / 472.9 MB, free: 1.504 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.7225, allocations: 0 / 472.9 MB, free: 1.504 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.7225, allocations: 8.031 kB / 472.9 MB, free: 1.496 MB / 394.8 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.079e-05/0.7226, allocations: 134.6 kB / 473.1 MB, free: 1.352 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.7227, allocations: 0 / 473.1 MB, free: 1.352 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.7227, allocations: 3.125 kB / 473.1 MB, free: 1.344 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.7227, allocations: 11.92 kB / 473.1 MB, free: 1.332 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7227, allocations: 0 / 473.1 MB, free: 1.332 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7227, allocations: 0 / 473.1 MB, free: 1.332 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.7228, allocations: 149.6 kB / 473.2 MB, free: 1.137 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7229, allocations: 3.984 kB / 473.2 MB, free: 1.133 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.7229, allocations: 0 / 473.2 MB, free: 1.133 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.7229, allocations: 4 kB / 473.2 MB, free: 1.129 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.7229, allocations: 4 kB / 473.2 MB, free: 1.125 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7229, allocations: 0 / 473.2 MB, free: 1.125 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7229, allocations: 0 / 473.2 MB, free: 1.125 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.723, allocations: 98.77 kB / 473.3 MB, free: 1.004 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.7231, allocations: 77.11 kB / 473.4 MB, free: 0.9102 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7231, allocations: 0 / 473.4 MB, free: 0.9102 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.7232, allocations: 12.02 kB / 473.4 MB, free: 0.8984 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.7232, allocations: 0 / 473.4 MB, free: 0.8984 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.7232, allocations: 4 kB / 473.4 MB, free: 0.8945 MB / 394.8 MB Notification: Performance of sorting global known variables: time 4.118e-05/0.7233, allocations: 75.28 kB / 473.5 MB, free: 0.8203 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7233, allocations: 0 / 473.5 MB, free: 0.8203 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0004599/0.7238, allocations: 79.86 kB / 473.6 MB, free: 0.7422 MB / 394.8 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.0009413/0.7247, allocations: 0.7349 MB / 474.3 MB, free: 15.98 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.7248, allocations: 59.41 kB / 474.4 MB, free: 15.91 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7248, allocations: 0 / 474.4 MB, free: 15.91 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.7249, allocations: 55.41 kB / 474.4 MB, free: 15.84 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.725, allocations: 4 kB / 474.4 MB, free: 15.84 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.7254, allocations: 118.5 kB / 474.6 MB, free: 15.69 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7256, allocations: 0.6731 MB / 475.2 MB, free: 14.99 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.16e-06/0.7257, allocations: 0 / 475.2 MB, free: 14.99 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.7257, allocations: 19.5 kB / 475.2 MB, free: 14.97 MB / 410.8 MB Notification: Performance of SimCode: time 6.81e-07/0.7257, allocations: 0 / 475.2 MB, free: 14.97 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.7475, allocations: 2.008 MB / 477.3 MB, free: 13.02 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.7479, allocations: 183.6 kB / 477.4 MB, free: 12.79 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.184, allocations: 4.062 kB / 477.4 MB, free: 12.79 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat