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.478/2.478, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.117e-05, allocations: 7.984 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3782, allocations: 54.86 MB / 362.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006714/0.379, allocations: 213.6 kB / 363.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.3814, allocations: 0.9633 MB / 364 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.3814, allocations: 0 / 364 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.3815, allocations: 4 kB / 364 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.3815, allocations: 0 / 364 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.3836, allocations: 0.5508 MB / 364.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.205e-05/0.3836, allocations: 0 / 364.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.3837, allocations: 0 / 364.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.3837, allocations: 1.469 kB / 364.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.3841, allocations: 108 kB / 364.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006135/0.3902, allocations: 2.625 MB / 367.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002618/0.3929, allocations: 168 kB / 367.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.393, allocations: 8 kB / 367.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.393, allocations: 0 / 367.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005728/0.3988, allocations: 2.534 MB / 370 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3988, allocations: 0 / 370 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.247e-06/0.3988, allocations: 3.938 kB / 370 MB, free: 6.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3989, allocations: 0 / 370 MB, free: 6.672 MB / 298.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.002471/0.4013, allocations: 396.1 kB / 370.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.4014, allocations: 8.031 kB / 370.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.4015, allocations: 4 kB / 370.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4016, allocations: 163.1 kB / 370.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4016, allocations: 4 kB / 370.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4016, allocations: 0 / 370.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.4018, allocations: 37.62 kB / 370.6 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4018, allocations: 7.953 kB / 370.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4018, allocations: 0 / 370.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4018, allocations: 0 / 370.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.4018, allocations: 0 / 370.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.402, allocations: 149.6 kB / 370.8 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.4021, allocations: 22.55 kB / 370.8 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.4021, allocations: 0 / 370.8 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/0.4022, allocations: 60.27 kB / 370.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.4022, allocations: 0 / 370.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002132/0.4024, allocations: 67.41 kB / 370.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.4025, allocations: 77.23 kB / 371 MB, free: 5.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.427e-05/0.4025, allocations: 92.94 kB / 371.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4026, allocations: 29.7 kB / 371.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.4026, allocations: 150.6 kB / 371.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.4027, allocations: 3.906 kB / 371.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.4027, allocations: 0 / 371.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4029, allocations: 314.8 kB / 371.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.4029, allocations: 3.984 kB / 371.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.4029, allocations: 4 kB / 371.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.403, allocations: 29.77 kB / 371.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.403, allocations: 0 / 371.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000108/0.4031, allocations: 59.41 kB / 371.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.4032, allocations: 29.7 kB / 371.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4032, allocations: 0 / 371.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4032, allocations: 3.984 kB / 371.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.4032, allocations: 0 / 371.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.4032, allocations: 4 kB / 371.7 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.4033, allocations: 3.953 kB / 371.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.4033, allocations: 0 / 371.7 MB, free: 4.734 MB / 298.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.0001153/0.4034, allocations: 143.5 kB / 371.8 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.4034, allocations: 4 kB / 371.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.4035, allocations: 3.125 kB / 371.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4035, allocations: 0 / 371.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4035, allocations: 0 / 371.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4035, allocations: 0 / 371.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.4036, allocations: 149.6 kB / 372 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4036, allocations: 4 kB / 372 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.4037, allocations: 0 / 372 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4037, allocations: 4 kB / 372 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4037, allocations: 0 / 372 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4037, allocations: 3.938 kB / 372 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4037, allocations: 3.938 kB / 372 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.4039, allocations: 94.78 kB / 372.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.4039, allocations: 81.09 kB / 372.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.4039, allocations: 0 / 372.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.404, allocations: 0 / 372.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.404, allocations: 8.031 kB / 372.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.404, allocations: 0 / 372.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.4041, allocations: 79.22 kB / 372.3 MB, free: 4.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4041, allocations: 0 / 372.3 MB, free: 4.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003233/0.4073, allocations: 283.9 kB / 372.5 MB, free: 3.785 MB / 298.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.008354/0.4157, allocations: 0.9226 MB / 373.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4159, allocations: 55.41 kB / 373.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.416, allocations: 0 / 373.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.416, allocations: 59.41 kB / 373.6 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.4161, allocations: 4.078 kB / 373.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.4164, allocations: 104.5 kB / 373.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4167, allocations: 0.6731 MB / 374.4 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.4167, allocations: 7.438 kB / 374.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.4168, allocations: 0 / 374.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of Templates: time 0.1255/0.5422, allocations: 54.13 MB / 428.5 MB, free: 11.69 MB / 362.7 MB