Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.562/2.562, allocations: 270 MB / 282.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.439e-05, allocations: 4 kB / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4034, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.5814, allocations: 90.36 MB / 499.3 MB, free: 284 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.5818, allocations: 59.97 kB / 499.3 MB, free: 224 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.16/0.7418, allocations: 30.39 MB / 0.5173 GB, free: 1.781 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.7418, allocations: 0 / 0.5173 GB, free: 1.781 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.7419, allocations: 3.938 kB / 0.5173 GB, free: 1.777 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.0007694/0.7426, allocations: 404.2 kB / 0.5177 GB, free: 1.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.7427, allocations: 8.031 kB / 0.5177 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.7428, allocations: 30.56 kB / 0.5177 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.7428, allocations: 0 / 0.5177 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.7429, allocations: 167 kB / 0.5179 GB, free: 1.082 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.743, allocations: 7.984 kB / 0.5179 GB, free: 1.074 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.743, allocations: 3.953 kB / 0.5179 GB, free: 1.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.7431, allocations: 25.7 kB / 0.5179 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7431, allocations: 4 kB / 0.5179 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.7431, allocations: 0 / 0.5179 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.7432, allocations: 0 / 0.5179 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.7432, allocations: 3.938 kB / 0.5179 GB, free: 1.031 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.7434, allocations: 149.7 kB / 0.5181 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.7434, allocations: 18.61 kB / 0.5181 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.7434, allocations: 8.844 kB / 0.5181 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.7435, allocations: 3.938 kB / 0.5181 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.7435, allocations: 64.28 kB / 0.5182 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.904e-06/0.7435, allocations: 0 / 0.5182 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000197/0.7438, allocations: 63.31 kB / 0.5182 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.7438, allocations: 81.14 kB / 0.5183 GB, free: 0.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.7439, allocations: 85 kB / 0.5184 GB, free: 464 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.7439, allocations: 29.7 kB / 0.5184 GB, free: 428 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.744, allocations: 150.6 kB / 0.5186 GB, free: 276 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.744, allocations: 0 / 0.5186 GB, free: 276 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.744, allocations: 0 / 0.5186 GB, free: 276 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.3636/1.108, allocations: 314.8 kB / 0.5189 GB, free: 114.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/1.108, allocations: 0 / 0.5189 GB, free: 114.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/1.108, allocations: 0.5938 kB / 0.5189 GB, free: 114.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/1.108, allocations: 30.02 kB / 0.5189 GB, free: 114.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.108, allocations: 0 / 0.5189 GB, free: 114.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000124/1.108, allocations: 61.53 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/1.108, allocations: 30.8 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.108, allocations: 0.75 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/1.108, allocations: 6.375 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/1.108, allocations: 0.6562 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.108, allocations: 0.7188 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/1.108, allocations: 1.594 kB / 0.519 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.108, allocations: 3.141 kB / 0.519 GB, free: 114.8 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 6.938e-05/1.108, allocations: 133.2 kB / 0.5191 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/1.108, allocations: 6.641 kB / 0.5191 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/1.108, allocations: 9.188 kB / 0.5191 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.108, allocations: 0 / 0.5191 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.108, allocations: 0.9062 kB / 0.5191 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.108, allocations: 0.6562 kB / 0.5191 GB, free: 114.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/1.108, allocations: 146.2 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.108, allocations: 0.6094 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-06/1.108, allocations: 0.75 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.108, allocations: 1.312 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.108, allocations: 1.312 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.109, allocations: 8.516 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.109, allocations: 0.5625 kB / 0.5193 GB, free: 114.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/1.109, allocations: 90.03 kB / 0.5194 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/1.109, allocations: 82.34 kB / 0.5195 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/1.109, allocations: 1.234 kB / 0.5195 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/1.109, allocations: 0.6875 kB / 0.5195 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/1.109, allocations: 6.281 kB / 0.5195 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/1.109, allocations: 5.531 kB / 0.5195 GB, free: 114.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.964e-05/1.109, allocations: 75.28 kB / 0.5195 GB, free: 114.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.503e-06/1.109, allocations: 0.75 kB / 0.5195 GB, free: 114.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006509/1.109, allocations: 72.41 kB / 0.5196 GB, free: 114.2 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.003354/1.113, allocations: 1.1 MB / 0.5207 GB, free: 113.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/1.113, allocations: 58.52 kB / 0.5207 GB, free: 113.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.113, allocations: 4.469 kB / 0.5207 GB, free: 113.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/1.113, allocations: 56.09 kB / 0.5208 GB, free: 113.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/1.113, allocations: 4.984 kB / 0.5208 GB, free: 113.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/1.114, allocations: 143.5 kB / 0.5209 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/1.114, allocations: 0.6734 MB / 0.5216 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/1.114, allocations: 9.094 kB / 0.5216 GB, free: 112.6 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/1.114, allocations: 0.5312 kB / 0.5216 GB, free: 112.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.625/3.739, allocations: 2.807 MB / 0.5243 GB, free: 112.4 MB / 442.7 MB