Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.646/2.646, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.199e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.143, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5064/0.6495, allocations: 90.36 MB / 0.489 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.6498, allocations: 59.97 kB / 0.489 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1569/0.8067, allocations: 30.4 MB / 0.5187 GB, free: 15.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.8067, allocations: 0 / 0.5187 GB, free: 15.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.8068, allocations: 4 kB / 0.5187 GB, free: 15.21 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.0008813/0.8077, allocations: 408.1 kB / 0.5191 GB, free: 14.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.8078, allocations: 8.031 kB / 0.5191 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.8078, allocations: 30.56 kB / 0.5192 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.8079, allocations: 4 kB / 0.5192 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.808, allocations: 159.1 kB / 0.5193 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.8081, allocations: 0 / 0.5193 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.8081, allocations: 3.953 kB / 0.5193 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.8083, allocations: 33.69 kB / 0.5194 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8083, allocations: 0 / 0.5194 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.8083, allocations: 0 / 0.5194 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.8083, allocations: 11.94 kB / 0.5194 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.8084, allocations: 3.938 kB / 0.5194 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.8086, allocations: 149.7 kB / 0.5195 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.503e-05/0.8087, allocations: 14.58 kB / 0.5195 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.8087, allocations: 4.859 kB / 0.5195 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.8088, allocations: 3.984 kB / 0.5195 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.917e-05/0.8089, allocations: 72.27 kB / 0.5196 GB, free: 14.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.775e-06/0.8089, allocations: 0 / 0.5196 GB, free: 14.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002264/0.8091, allocations: 67.25 kB / 0.5197 GB, free: 14.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.8092, allocations: 81.11 kB / 0.5197 GB, free: 13.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.8093, allocations: 85 kB / 0.5198 GB, free: 13.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.8094, allocations: 25.7 kB / 0.5198 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.8094, allocations: 80.14 kB / 0.5199 GB, free: 13.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.8095, allocations: 0 / 0.5199 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.8095, allocations: 0 / 0.5199 GB, free: 13.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.8097, allocations: 314.9 kB / 0.5202 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.8097, allocations: 7.984 kB / 0.5202 GB, free: 13.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.8097, allocations: 0 / 0.5202 GB, free: 13.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.8098, allocations: 25.7 kB / 0.5203 GB, free: 13.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8098, allocations: 0 / 0.5203 GB, free: 13.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001379/0.81, allocations: 63.41 kB / 0.5203 GB, free: 13.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.8101, allocations: 29.7 kB / 0.5203 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8101, allocations: 0 / 0.5203 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.8101, allocations: 3.953 kB / 0.5203 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-06/0.8102, allocations: 12.08 kB / 0.5204 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8102, allocations: 0 / 0.5204 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.8102, allocations: 3.938 kB / 0.5204 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.8103, allocations: 3.938 kB / 0.5204 GB, free: 13.27 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 0.000132/0.8104, allocations: 130.7 kB / 0.5205 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.8105, allocations: 0 / 0.5205 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.8105, allocations: 3.125 kB / 0.5205 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.8105, allocations: 3.953 kB / 0.5205 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8105, allocations: 0 / 0.5205 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.8106, allocations: 4 kB / 0.5205 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.8107, allocations: 149.7 kB / 0.5206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.8108, allocations: 0 / 0.5206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-06/0.8108, allocations: 3.938 kB / 0.5206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8108, allocations: 0 / 0.5206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8108, allocations: 0 / 0.5206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.8108, allocations: 0 / 0.5206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.8108, allocations: 3.953 kB / 0.5207 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.811, allocations: 94.83 kB / 0.5207 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.8111, allocations: 77.11 kB / 0.5208 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.8112, allocations: 0 / 0.5208 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.8112, allocations: 4 kB / 0.5208 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.8112, allocations: 0 / 0.5208 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.8113, allocations: 3.953 kB / 0.5208 GB, free: 12.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.8113, allocations: 79.22 kB / 0.5209 GB, free: 12.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.8114, allocations: 0 / 0.5209 GB, free: 12.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009124/0.8123, allocations: 75.91 kB / 0.521 GB, free: 12.55 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.005295/0.8176, allocations: 1.085 MB / 0.522 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.8178, allocations: 63.34 kB / 0.5221 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8179, allocations: 3.938 kB / 0.5221 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.818, allocations: 55.41 kB / 0.5221 GB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.8181, allocations: 7.875 kB / 0.5222 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/0.8189, allocations: 118.7 kB / 0.5223 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.8193, allocations: 0.6809 MB / 0.5229 GB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.617e-06/0.8193, allocations: 0 / 0.5229 GB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.8193, allocations: 11.44 kB / 0.5229 GB, free: 10.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.8194, allocations: 0 / 0.5229 GB, free: 10.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.8492, allocations: 2.751 MB / 0.5256 GB, free: 7.789 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003753/0.8496, allocations: 191.1 kB / 0.5258 GB, free: 7.559 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.382, allocations: 0 / 0.5258 GB, free: 7.559 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat