Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.62e-05, allocations: 0 / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4325, allocations: 54.86 MB / 359.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.5915, allocations: 84.33 MB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5919, allocations: 59.97 kB / 444.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1979/0.7897, allocations: 30.28 MB / 474.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.7898, allocations: 0 / 474.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.7898, allocations: 4 kB / 474.5 MB, free: 14.2 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.0009117/0.7908, allocations: 412 kB / 474.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.7908, allocations: 8.031 kB / 474.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.7909, allocations: 34.56 kB / 475 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.7909, allocations: 7.953 kB / 475 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.7911, allocations: 163.1 kB / 475.1 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.7911, allocations: 4 kB / 475.1 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.7911, allocations: 0 / 475.1 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7913, allocations: 33.64 kB / 475.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.7913, allocations: 0 / 475.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.7913, allocations: 0 / 475.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7913, allocations: 3.953 kB / 475.2 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.7914, allocations: 7.938 kB / 475.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.7916, allocations: 145.7 kB / 475.3 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.7917, allocations: 22.55 kB / 475.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.7917, allocations: 5.859 kB / 475.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.7918, allocations: 96 / 475.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.951e-05/0.7919, allocations: 64.27 kB / 475.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.736e-06/0.7919, allocations: 0 / 475.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002392/0.7922, allocations: 59.41 kB / 475.5 MB, free: 13.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.7923, allocations: 85.05 kB / 475.6 MB, free: 12.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.7923, allocations: 85 kB / 475.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.7924, allocations: 25.7 kB / 475.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.7925, allocations: 154.5 kB / 475.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.7925, allocations: 0 / 475.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.7926, allocations: 0 / 475.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7928, allocations: 318.8 kB / 476.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.7928, allocations: 8.031 kB / 476.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.7928, allocations: 0 / 476.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.7929, allocations: 25.7 kB / 476.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7929, allocations: 0 / 476.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001469/0.7931, allocations: 59.41 kB / 476.2 MB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.7932, allocations: 35.41 kB / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7932, allocations: 3.938 kB / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7932, allocations: 4 kB / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-06/0.7932, allocations: 0 / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.7933, allocations: 4.094 kB / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.7933, allocations: 0 / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.7933, allocations: 0 / 476.3 MB, free: 12.2 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.0001302/0.7935, allocations: 138.6 kB / 476.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.7935, allocations: 0 / 476.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.7935, allocations: 7.062 kB / 476.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.7936, allocations: 0 / 476.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.7936, allocations: 4 kB / 476.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.7936, allocations: 3.984 kB / 476.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.7938, allocations: 153.6 kB / 476.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7938, allocations: 4 kB / 476.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.7938, allocations: 0 / 476.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7939, allocations: 0 / 476.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.7939, allocations: 0 / 476.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.7939, allocations: 3.938 kB / 476.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7939, allocations: 0 / 476.6 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.7941, allocations: 94.78 kB / 476.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.7942, allocations: 81.14 kB / 476.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.7942, allocations: 4 kB / 476.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.7942, allocations: 0 / 476.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.7943, allocations: 3.984 kB / 476.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.7943, allocations: 0 / 476.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.7944, allocations: 75.28 kB / 476.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7944, allocations: 0 / 476.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009237/0.7953, allocations: 71.8 kB / 476.9 MB, free: 11.46 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.004375/0.7997, allocations: 1.073 MB / 478 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.7999, allocations: 63.34 kB / 478 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7999, allocations: 4.062 kB / 478 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.8, allocations: 55.41 kB / 478.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.8002, allocations: 4 kB / 478.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.8009, allocations: 136.3 kB / 478.2 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.8012, allocations: 0.6731 MB / 478.9 MB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.8012, allocations: 7.438 kB / 478.9 MB, free: 9.383 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8013, allocations: 0 / 478.9 MB, free: 9.383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.63/3.431, allocations: 2.807 MB / 481.7 MB, free: 6.574 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat