Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.354e-05/6.382e-05, allocations: 4.938 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3669, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.4974, allocations: 84.33 MB / 444.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4976, allocations: 63.97 kB / 444.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1276/0.6252, allocations: 30.29 MB / 474.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.538e-06/0.6253, allocations: 0 / 474.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.018e-06/0.6253, allocations: 0 / 474.4 MB, free: 14.32 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.0006158/0.6259, allocations: 408.1 kB / 474.8 MB, free: 13.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.626, allocations: 15.97 kB / 474.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.626, allocations: 3.953 kB / 474.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.6261, allocations: 163.1 kB / 475 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.6261, allocations: 0 / 475 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-06/0.6262, allocations: 0 / 475 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.354e-05/0.6263, allocations: 29.7 kB / 475 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6263, allocations: 0 / 475 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-06/0.6263, allocations: 1.406 kB / 475 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.6263, allocations: 4 kB / 475 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.855e-05/0.6263, allocations: 3.953 kB / 475 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.6265, allocations: 153.7 kB / 475.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.561e-05/0.6266, allocations: 18.52 kB / 475.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.6266, allocations: 8.938 kB / 475.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-06/0.6266, allocations: 4 kB / 475.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.6267, allocations: 56.27 kB / 475.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.125e-06/0.6267, allocations: 4 kB / 475.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.6269, allocations: 59.41 kB / 475.3 MB, free: 13.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.627, allocations: 85.09 kB / 475.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.078e-05/0.627, allocations: 85 kB / 475.5 MB, free: 13.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.627, allocations: 25.7 kB / 475.5 MB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.6271, allocations: 150.6 kB / 475.7 MB, free: 12.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.6272, allocations: 0 / 475.7 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-06/0.6272, allocations: 3.938 kB / 475.7 MB, free: 12.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6273, allocations: 319.8 kB / 476 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.6274, allocations: 4 kB / 476 MB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-06/0.6274, allocations: 3.938 kB / 476 MB, free: 12.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.6274, allocations: 25.7 kB / 476 MB, free: 12.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-06/0.6274, allocations: 0 / 476 MB, free: 12.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.74e-05/0.6275, allocations: 63.39 kB / 476.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.6276, allocations: 33.7 kB / 476.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.374e-06/0.6276, allocations: 8.875 kB / 476.1 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6276, allocations: 0 / 476.1 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.6277, allocations: 4.094 kB / 476.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.614e-06/0.6277, allocations: 0 / 476.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.6277, allocations: 4 kB / 476.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-06/0.6277, allocations: 0 / 476.1 MB, free: 12.36 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.00011/0.6278, allocations: 134.6 kB / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-06/0.6279, allocations: 0 / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.6279, allocations: 3.125 kB / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-06/0.6279, allocations: 3.984 kB / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-06/0.6279, allocations: 0 / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-06/0.6279, allocations: 4 kB / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.6281, allocations: 149.6 kB / 476.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-06/0.6281, allocations: 0 / 476.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-06/0.6281, allocations: 0 / 476.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.357e-06/0.6281, allocations: 0 / 476.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-06/0.6281, allocations: 0 / 476.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.319e-06/0.6281, allocations: 0 / 476.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-06/0.6281, allocations: 7.938 kB / 476.4 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.6283, allocations: 98.77 kB / 476.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.6283, allocations: 77.11 kB / 476.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.6284, allocations: 4 kB / 476.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.664e-05/0.6284, allocations: 3.984 kB / 476.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.6284, allocations: 0 / 476.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-06/0.6284, allocations: 0 / 476.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.6285, allocations: 75.28 kB / 476.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.45e-07/0.6285, allocations: 0 / 476.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005103/0.629, allocations: 71.86 kB / 476.8 MB, free: 11.63 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.002948/0.632, allocations: 0.5507 MB / 477.3 MB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.6321, allocations: 63.39 kB / 477.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.767e-06/0.6321, allocations: 0 / 477.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/0.6322, allocations: 55.41 kB / 477.4 MB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.6323, allocations: 12.02 kB / 477.4 MB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.6325, allocations: 70.77 kB / 477.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6328, allocations: 0.677 MB / 478.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.6329, allocations: 7.438 kB / 478.2 MB, free: 10.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.517e-06/0.6329, allocations: 0 / 478.2 MB, free: 10.17 MB / 410.7 MB Notification: Performance of Templates: time 0.006336/0.6392, allocations: 2.649 MB / 480.8 MB, free: 7.52 MB / 410.7 MB