Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.3 MB / 221.4 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.327e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.48/11.6, allocations: 3.623 GB / 3.938 GB, free: 64.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/11.6, allocations: 81.7 kB / 3.938 GB, free: 64.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.78/13.38, allocations: 302.4 MB / 4.233 GB, free: 63.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/13.38, allocations: 0 / 4.233 GB, free: 63.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.006e-05/13.38, allocations: 11.5 kB / 4.233 GB, free: 63.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005915/13.38, allocations: 1.595 MB / 4.234 GB, free: 61.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/13.38, allocations: 7.375 kB / 4.234 GB, free: 61.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/13.38, allocations: 73.88 kB / 4.235 GB, free: 61.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/13.38, allocations: 64.58 kB / 4.235 GB, free: 61.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/13.38, allocations: 407.5 kB / 4.235 GB, free: 61.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/13.38, allocations: 28.31 kB / 4.235 GB, free: 61.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/13.38, allocations: 38.31 kB / 4.235 GB, free: 61.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/13.39, allocations: 494.3 kB / 4.236 GB, free: 61.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/13.39, allocations: 3.938 kB / 4.236 GB, free: 61.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/13.39, allocations: 14.25 kB / 4.236 GB, free: 61.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/13.39, allocations: 7.562 kB / 4.236 GB, free: 61.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/13.39, allocations: 452.9 kB / 4.236 GB, free: 61.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/13.39, allocations: 1.944 MB / 4.238 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/13.39, allocations: 358.6 kB / 4.238 GB, free: 60.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/13.39, allocations: 131.7 kB / 4.238 GB, free: 60.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/13.39, allocations: 0.9595 MB / 4.239 GB, free: 59.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/13.39, allocations: 37.81 kB / 4.239 GB, free: 59.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.797e-06/13.39, allocations: 0 / 4.239 GB, free: 59.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009471/13.39, allocations: 264.5 kB / 4.24 GB, free: 59.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/13.39, allocations: 114.2 kB / 4.24 GB, free: 58.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/13.39, allocations: 267.3 kB / 4.24 GB, free: 58.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/13.39, allocations: 35.61 kB / 4.24 GB, free: 58.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/13.39, allocations: 248.7 kB / 4.24 GB, free: 58.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/13.4, allocations: 103.5 kB / 4.24 GB, free: 58.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/13.4, allocations: 6.938 kB / 4.24 GB, free: 58.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/13.4, allocations: 348.2 kB / 4.241 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/13.4, allocations: 102.2 kB / 4.241 GB, free: 58.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/13.4, allocations: 285.8 kB / 4.241 GB, free: 58.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/13.4, allocations: 206.9 kB / 4.241 GB, free: 58.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/13.4, allocations: 0 / 4.241 GB, free: 58.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001227/13.4, allocations: 0.5148 MB / 4.242 GB, free: 57.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/13.4, allocations: 70.5 kB / 4.242 GB, free: 57.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/13.4, allocations: 3.906 kB / 4.242 GB, free: 57.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/13.4, allocations: 15.72 kB / 4.242 GB, free: 57.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/13.4, allocations: 98.94 kB / 4.242 GB, free: 57.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/13.4, allocations: 14.84 kB / 4.242 GB, free: 57.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/13.4, allocations: 63.78 kB / 4.242 GB, free: 57.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/13.4, allocations: 26.41 kB / 4.242 GB, free: 57.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002098/13.4, allocations: 134.9 kB / 4.242 GB, free: 57.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/13.4, allocations: 31.19 kB / 4.242 GB, free: 57.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/13.4, allocations: 395.5 kB / 4.243 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/13.4, allocations: 3.906 kB / 4.243 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/13.4, allocations: 0 / 4.243 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/13.4, allocations: 7.562 kB / 4.243 GB, free: 57.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/13.4, allocations: 1.003 MB / 4.244 GB, free: 56.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/13.4, allocations: 7.172 kB / 4.244 GB, free: 56.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/13.4, allocations: 58.38 kB / 4.244 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/13.4, allocations: 7.406 kB / 4.244 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/13.4, allocations: 8.344 kB / 4.244 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/13.4, allocations: 2.219 kB / 4.244 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/13.4, allocations: 3.688 kB / 4.244 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/13.4, allocations: 0.6004 MB / 4.244 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/13.41, allocations: 128.5 kB / 4.244 GB, free: 56.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/13.41, allocations: 7.094 kB / 4.244 GB, free: 56.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/13.41, allocations: 22.25 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/13.41, allocations: 37.28 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/13.41, allocations: 9.25 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004199/13.41, allocations: 257.5 kB / 4.245 GB, free: 56.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/13.41, allocations: 0 / 4.245 GB, free: 56.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002441/13.41, allocations: 464.9 kB / 4.245 GB, free: 56.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.004622/13.41, allocations: 2.834 MB / 4.248 GB, free: 54.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009869/13.41, allocations: 393.9 kB / 4.248 GB, free: 54.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/13.41, allocations: 0 / 4.248 GB, free: 54.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/13.41, allocations: 101 kB / 4.248 GB, free: 54.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/13.42, allocations: 156.7 kB / 4.248 GB, free: 54.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/13.42, allocations: 0.9048 MB / 4.249 GB, free: 53.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/13.42, allocations: 0.8383 MB / 4.25 GB, free: 53.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000787/13.42, allocations: 98.25 kB / 4.25 GB, free: 53.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/13.42, allocations: 141.8 kB / 4.25 GB, free: 53.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/13.42, allocations: 0 / 4.25 GB, free: 53.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/13.52, allocations: 30.04 MB / 4.28 GB, free: 35.61 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/13.52, allocations: 208.4 kB / 4.28 GB, free: 35.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.891/17.42, allocations: 3.906 kB / 4.28 GB, free: 35.38 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat