Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 270 MB / 282.7 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.421e-05, allocations: 7.938 kB / 347 MB, free: 3.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3313, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.469, allocations: 90.36 MB / 499.2 MB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4692, allocations: 59.97 kB / 499.3 MB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1603/0.6295, allocations: 30.38 MB / 0.5172 GB, free: 1.836 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.087e-06/0.6296, allocations: 0 / 0.5172 GB, free: 1.836 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.842e-06/0.6296, allocations: 0 / 0.5172 GB, free: 1.836 MB / 442.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.001071/0.6307, allocations: 404.1 kB / 0.5176 GB, free: 1.391 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.118e-05/0.6308, allocations: 8.031 kB / 0.5176 GB, free: 1.383 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.6309, allocations: 0 / 0.5176 GB, free: 1.383 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.6311, allocations: 171.1 kB / 0.5178 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.6312, allocations: 0 / 0.5178 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.6312, allocations: 0 / 0.5178 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.6314, allocations: 37.59 kB / 0.5178 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6314, allocations: 0 / 0.5178 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.6314, allocations: 0 / 0.5178 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.6315, allocations: 0 / 0.5178 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.6315, allocations: 11.94 kB / 0.5178 GB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.6318, allocations: 141.7 kB / 0.518 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.85e-05/0.6319, allocations: 22.56 kB / 0.518 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.632, allocations: 8.953 kB / 0.518 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.632, allocations: 4 kB / 0.518 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.978e-05/0.6321, allocations: 60.22 kB / 0.5181 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 3.801e-06/0.6322, allocations: 0 / 0.5181 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002774/0.6325, allocations: 63.34 kB / 0.5181 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.6326, allocations: 77.11 kB / 0.5182 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/0.6327, allocations: 89.03 kB / 0.5183 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.6328, allocations: 25.7 kB / 0.5183 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.6329, allocations: 154.5 kB / 0.5184 GB, free: 376 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.633, allocations: 3.906 kB / 0.5184 GB, free: 372 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-06/0.633, allocations: 4 kB / 0.5185 GB, free: 368 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.6333, allocations: 314.8 kB / 0.5188 GB, free: 44 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.6333, allocations: 0 / 0.5188 GB, free: 44 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.6333, allocations: 0 / 0.5188 GB, free: 44 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/0.6334, allocations: 33.77 kB / 0.5188 GB, free: 4 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-06/0.6335, allocations: 0 / 0.5188 GB, free: 4 kB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.273/0.9065, allocations: 55.5 kB / 0.5188 GB, free: 115 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.9066, allocations: 32.44 kB / 0.5189 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.781e-06/0.9066, allocations: 0.5625 kB / 0.5189 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.9066, allocations: 5.406 kB / 0.5189 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.9066, allocations: 0.5 kB / 0.5189 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.821e-06/0.9067, allocations: 1.141 kB / 0.5189 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.9067, allocations: 0.625 kB / 0.5189 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.9067, allocations: 3.859 kB / 0.5189 GB, free: 115 MB / 442.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 5.95e-05/0.9068, allocations: 135.4 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.9068, allocations: 3.219 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.9068, allocations: 3.969 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-06/0.9068, allocations: 0.6562 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.063e-06/0.9069, allocations: 3.188 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-06/0.9069, allocations: 2.047 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.492e-05/0.9069, allocations: 150 kB / 0.5192 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-06/0.907, allocations: 0.5 kB / 0.5192 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-06/0.907, allocations: 0.6562 kB / 0.5192 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-06/0.907, allocations: 2.031 kB / 0.5192 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-06/0.907, allocations: 1.281 kB / 0.5192 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-06/0.907, allocations: 1.578 kB / 0.5192 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.907, allocations: 2.969 kB / 0.5192 GB, free: 114.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.9071, allocations: 93.94 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.9072, allocations: 79.03 kB / 0.5193 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.9072, allocations: 1.469 kB / 0.5193 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.9072, allocations: 4.438 kB / 0.5193 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.9072, allocations: 2.125 kB / 0.5193 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-06/0.9073, allocations: 4.406 kB / 0.5194 GB, free: 114.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.681e-05/0.9073, allocations: 76.73 kB / 0.5194 GB, free: 114.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.349e-06/0.9073, allocations: 0 / 0.5194 GB, free: 114.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005238/0.9078, allocations: 71.97 kB / 0.5195 GB, free: 114.4 MB / 442.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.002909/0.9107, allocations: 0.5684 MB / 0.52 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.9109, allocations: 58.67 kB / 0.5201 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.67e-06/0.9109, allocations: 2.906 kB / 0.5201 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.9109, allocations: 59.75 kB / 0.5202 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.911, allocations: 5.844 kB / 0.5202 GB, free: 114.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001327/0.9112, allocations: 73.72 kB / 0.5202 GB, free: 114 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.9113, allocations: 0.6745 MB / 0.5209 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.9113, allocations: 9.25 kB / 0.5209 GB, free: 113.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.297e-06/0.9113, allocations: 2.875 kB / 0.5209 GB, free: 113.3 MB / 442.7 MB Notification: Performance of Templates: time 0.006356/0.9177, allocations: 2.661 MB / 0.5235 GB, free: 113.2 MB / 442.7 MB