Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.646e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4034, allocations: 54.85 MB / 359.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.5835, allocations: 84.33 MB / 444.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5839, allocations: 57.3 kB / 444.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1437/0.7275, allocations: 30.29 MB / 474.6 MB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7276, allocations: 0 / 474.6 MB, free: 14.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.7276, allocations: 0 / 474.6 MB, free: 14.22 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.0006923/0.7283, allocations: 416 kB / 475 MB, free: 13.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.7284, allocations: 8.031 kB / 475 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.7284, allocations: 30.56 kB / 475 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.7285, allocations: 3.953 kB / 475 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.7286, allocations: 163.1 kB / 475.2 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.7286, allocations: 4 kB / 475.2 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.7286, allocations: 3.938 kB / 475.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.7287, allocations: 25.7 kB / 475.2 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.7288, allocations: 4 kB / 475.2 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7288, allocations: 3.984 kB / 475.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7288, allocations: 3.953 kB / 475.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.7288, allocations: 1.406 kB / 475.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.729, allocations: 145.7 kB / 475.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.729, allocations: 22.61 kB / 475.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.7291, allocations: 4.859 kB / 475.4 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-06/0.7291, allocations: 0 / 475.4 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.7292, allocations: 64.27 kB / 475.4 MB, free: 13.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.492e-06/0.7292, allocations: 0 / 475.4 MB, free: 13.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001697/0.7294, allocations: 59.39 kB / 475.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.7294, allocations: 77.11 kB / 475.6 MB, free: 12.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.7295, allocations: 97.03 kB / 475.7 MB, free: 12.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.7295, allocations: 25.7 kB / 475.7 MB, free: 12.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.7296, allocations: 80.14 kB / 475.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.7296, allocations: 0 / 475.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.7296, allocations: 0 / 475.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7297, allocations: 314.8 kB / 476.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.7298, allocations: 3.938 kB / 476.1 MB, free: 12.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.7298, allocations: 4 kB / 476.1 MB, free: 12.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.7298, allocations: 33.75 kB / 476.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7298, allocations: 0 / 476.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.111e-05/0.7299, allocations: 63.34 kB / 476.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.73, allocations: 31.42 kB / 476.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.73, allocations: 3.938 kB / 476.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7301, allocations: 0 / 476.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.7301, allocations: 0 / 476.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7301, allocations: 4 kB / 476.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.7301, allocations: 0 / 476.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.7301, allocations: 0 / 476.2 MB, free: 12.29 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 0.000107/0.7302, allocations: 146.7 kB / 476.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.7303, allocations: 0 / 476.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.7303, allocations: 3.125 kB / 476.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7303, allocations: 4 kB / 476.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7303, allocations: 0 / 476.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7303, allocations: 0 / 476.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.7305, allocations: 153.6 kB / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7305, allocations: 0 / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.7305, allocations: 0 / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7305, allocations: 0 / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.7305, allocations: 4 kB / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7305, allocations: 0 / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7305, allocations: 0 / 476.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.7307, allocations: 98.72 kB / 476.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.7307, allocations: 81.09 kB / 476.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.7308, allocations: 0 / 476.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.7308, allocations: 4 kB / 476.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.7308, allocations: 4.031 kB / 476.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.7308, allocations: 3.984 kB / 476.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.7309, allocations: 75.28 kB / 476.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7309, allocations: 0 / 476.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.7316, allocations: 67.86 kB / 476.9 MB, free: 11.55 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.003191/0.7348, allocations: 1.089 MB / 477.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.735, allocations: 55.41 kB / 478 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.735, allocations: 0 / 478 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.735, allocations: 55.41 kB / 478.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.7351, allocations: 128 / 478.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.7357, allocations: 122.5 kB / 478.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.736, allocations: 0.677 MB / 478.9 MB, free: 9.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.271e-06/0.736, allocations: 0 / 478.9 MB, free: 9.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.7361, allocations: 7.438 kB / 478.9 MB, free: 9.492 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.7361, allocations: 0 / 478.9 MB, free: 9.492 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.7652, allocations: 2.765 MB / 481.6 MB, free: 6.766 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/0.7657, allocations: 186.7 kB / 481.8 MB, free: 6.535 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.085, allocations: 0 / 481.8 MB, free: 6.535 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat