Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.143e-05, allocations: 0 / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09527, allocations: 48.7 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.526/8.621, allocations: 3.623 GB / 3.937 GB, free: 10.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/8.621, allocations: 83.95 kB / 3.937 GB, free: 10.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.471/10.09, allocations: 302.4 MB / 4.233 GB, free: 36.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.851e-06/10.09, allocations: 0 / 4.233 GB, free: 36.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.015e-05/10.09, allocations: 8 kB / 4.233 GB, free: 36.57 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.004444/10.1, allocations: 1.594 MB / 4.234 GB, free: 34.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/10.1, allocations: 8.031 kB / 4.234 GB, free: 34.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/10.1, allocations: 59.47 kB / 4.234 GB, free: 34.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/10.1, allocations: 414.6 kB / 4.235 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/10.1, allocations: 24.78 kB / 4.235 GB, free: 34.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.269e-05/10.1, allocations: 40 kB / 4.235 GB, free: 34.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/10.1, allocations: 486.5 kB / 4.235 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/10.1, allocations: 4 kB / 4.235 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/10.1, allocations: 12 kB / 4.235 GB, free: 33.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/10.1, allocations: 8 kB / 4.235 GB, free: 33.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/10.1, allocations: 443.7 kB / 4.236 GB, free: 33.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/10.1, allocations: 1.946 MB / 4.238 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/10.1, allocations: 356.8 kB / 4.238 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/10.1, allocations: 126.6 kB / 4.238 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008005/10.11, allocations: 0.9532 MB / 4.239 GB, free: 29.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/10.11, allocations: 38.56 kB / 4.239 GB, free: 29.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.564e-06/10.11, allocations: 3.938 kB / 4.239 GB, free: 29.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007407/10.11, allocations: 261.5 kB / 4.239 GB, free: 29.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/10.11, allocations: 110.8 kB / 4.24 GB, free: 29.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/10.11, allocations: 262.6 kB / 4.24 GB, free: 28.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/10.11, allocations: 33.7 kB / 4.24 GB, free: 28.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/10.11, allocations: 313.9 kB / 4.24 GB, free: 28.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/10.11, allocations: 98.58 kB / 4.24 GB, free: 28.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/10.11, allocations: 12 kB / 4.24 GB, free: 28.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.249e-05/10.11, allocations: 330.8 kB / 4.241 GB, free: 28.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/10.11, allocations: 104.8 kB / 4.241 GB, free: 28.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/10.11, allocations: 279.3 kB / 4.241 GB, free: 27.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/10.11, allocations: 215.2 kB / 4.241 GB, free: 27.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/10.11, allocations: 0 / 4.241 GB, free: 27.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001009/10.11, allocations: 484.6 kB / 4.242 GB, free: 26.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/10.11, allocations: 73.27 kB / 4.242 GB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/10.11, allocations: 4 kB / 4.242 GB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/10.11, allocations: 12 kB / 4.242 GB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/10.11, allocations: 99.83 kB / 4.242 GB, free: 26.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/10.11, allocations: 15.92 kB / 4.242 GB, free: 26.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/10.11, allocations: 59.86 kB / 4.242 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/10.11, allocations: 24 kB / 4.242 GB, free: 26.66 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.0001304/10.11, allocations: 136.8 kB / 4.242 GB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/10.11, allocations: 43.58 kB / 4.242 GB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/10.11, allocations: 397.4 kB / 4.242 GB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.807e-06/10.11, allocations: 4 kB / 4.242 GB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/10.11, allocations: 3.984 kB / 4.242 GB, free: 26.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-06/10.11, allocations: 3.938 kB / 4.242 GB, free: 26.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/10.11, allocations: 1.001 MB / 4.243 GB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.099e-06/10.11, allocations: 4 kB / 4.243 GB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/10.11, allocations: 47.91 kB / 4.243 GB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-06/10.11, allocations: 4 kB / 4.243 GB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/10.11, allocations: 8.188 kB / 4.243 GB, free: 24.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/10.11, allocations: 8 kB / 4.243 GB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.647e-06/10.11, allocations: 7.953 kB / 4.243 GB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/10.11, allocations: 0.6134 MB / 4.244 GB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/10.11, allocations: 124.6 kB / 4.244 GB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/10.11, allocations: 8 kB / 4.244 GB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/10.12, allocations: 23.89 kB / 4.244 GB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/10.12, allocations: 15.97 kB / 4.244 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/10.12, allocations: 20 kB / 4.244 GB, free: 23.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003406/10.12, allocations: 254.1 kB / 4.244 GB, free: 23.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.834e-06/10.12, allocations: 0 / 4.244 GB, free: 23.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001967/10.12, allocations: 463.3 kB / 4.245 GB, free: 23.28 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.002754/10.12, allocations: 1.266 MB / 4.246 GB, free: 22.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008561/10.12, allocations: 375.5 kB / 4.247 GB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/10.12, allocations: 0 / 4.247 GB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/10.12, allocations: 96.3 kB / 4.247 GB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/10.12, allocations: 161 kB / 4.247 GB, free: 21.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/10.13, allocations: 0.6796 MB / 4.247 GB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/10.13, allocations: 0.8431 MB / 4.248 GB, free: 19.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/10.13, allocations: 39.44 kB / 4.248 GB, free: 19.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.805e-06/10.13, allocations: 0 / 4.248 GB, free: 19.75 MB / 426.7 MB Notification: Performance of Templates: time 0.0223/10.15, allocations: 14.25 MB / 4.262 GB, free: 5.516 MB / 426.7 MB