Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.632e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006125/0.1328, allocations: 208.7 kB / 411.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1351, allocations: 0.9589 MB / 412.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.1352, allocations: 0 / 412.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.1352, allocations: 0 / 412.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.1352, allocations: 0 / 412.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.1372, allocations: 0.5574 MB / 412.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.364e-05/0.1372, allocations: 11.94 kB / 412.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1373, allocations: 3.984 kB / 412.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.492e-05/0.1373, allocations: 0 / 412.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.1377, allocations: 99.92 kB / 412.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/0.1431, allocations: 2.631 MB / 415.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002055/0.1452, allocations: 168 kB / 415.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1452, allocations: 0 / 415.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.1452, allocations: 4 kB / 415.6 MB, free: 8.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.1505, allocations: 2.534 MB / 418.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1506, allocations: 0 / 418.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1506, allocations: 0 / 418.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1506, allocations: 0 / 418.1 MB, free: 5.684 MB / 346.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.002305/0.1529, allocations: 389.1 kB / 418.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.153, allocations: 8.031 kB / 418.5 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.153, allocations: 4 kB / 418.5 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1531, allocations: 163.1 kB / 418.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1532, allocations: 0 / 418.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1532, allocations: 0 / 418.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1533, allocations: 37.59 kB / 418.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1533, allocations: 3.984 kB / 418.7 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1533, allocations: 7.875 kB / 418.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1533, allocations: 0 / 418.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.1534, allocations: 0 / 418.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1536, allocations: 153.6 kB / 418.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.14e-05/0.1536, allocations: 18.58 kB / 418.9 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-06/0.1536, allocations: 0 / 418.9 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.1537, allocations: 56.27 kB / 418.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.1537, allocations: 3.938 kB / 418.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001876/0.1539, allocations: 71.41 kB / 419 MB, free: 4.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.154, allocations: 77.11 kB / 419.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.154, allocations: 89.12 kB / 419.1 MB, free: 4.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1541, allocations: 29.7 kB / 419.2 MB, free: 4.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1541, allocations: 150.6 kB / 419.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1542, allocations: 288 / 419.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1542, allocations: 0 / 419.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1543, allocations: 310.8 kB / 419.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.1543, allocations: 0 / 419.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.1543, allocations: 7.984 kB / 419.6 MB, free: 3.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.1544, allocations: 29.7 kB / 419.7 MB, free: 3.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1544, allocations: 4.062 kB / 419.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.036e-05/0.1545, allocations: 63.34 kB / 419.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.1546, allocations: 32.52 kB / 419.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1546, allocations: 0 / 419.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1546, allocations: 0 / 419.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-06/0.1546, allocations: 7.953 kB / 419.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1546, allocations: 3.984 kB / 419.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.1547, allocations: 3.938 kB / 419.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1547, allocations: 0 / 419.8 MB, free: 3.746 MB / 346.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 9.706e-05/0.1548, allocations: 139.6 kB / 419.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.1548, allocations: 0 / 419.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.1548, allocations: 11.08 kB / 419.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1548, allocations: 0 / 419.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1548, allocations: 3.953 kB / 419.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1549, allocations: 0 / 419.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.155, allocations: 149.7 kB / 420.1 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.155, allocations: 0 / 420.1 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.155, allocations: 3.938 kB / 420.1 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.155, allocations: 0 / 420.1 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.155, allocations: 0 / 420.1 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.155, allocations: 8 kB / 420.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1551, allocations: 0 / 420.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1552, allocations: 98.72 kB / 420.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.1552, allocations: 81.05 kB / 420.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1553, allocations: 0 / 420.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.1553, allocations: 7.984 kB / 420.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.1553, allocations: 0 / 420.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1553, allocations: 4.031 kB / 420.3 MB, free: 3.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.919e-05/0.1554, allocations: 75.28 kB / 420.3 MB, free: 3.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1554, allocations: 0 / 420.3 MB, free: 3.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00324/0.1586, allocations: 283.9 kB / 420.6 MB, free: 2.789 MB / 346.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.007632/0.1663, allocations: 0.9294 MB / 421.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1665, allocations: 63.34 kB / 421.6 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1665, allocations: 0 / 421.6 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/0.1666, allocations: 55.41 kB / 421.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.1667, allocations: 4 kB / 421.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.1669, allocations: 108.4 kB / 421.8 MB, free: 1.621 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1672, allocations: 0.6731 MB / 422.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.1672, allocations: 7.438 kB / 422.5 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1672, allocations: 0 / 422.5 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of Templates: time 0.473/0.6402, allocations: 54.14 MB / 476.6 MB, free: 4.855 MB / 378.7 MB