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.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.2/2.2, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.988e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 54.86 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.886/8.209, allocations: 3.63 GB / 3.981 GB, free: 46.67 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/8.209, allocations: 85.2 kB / 3.981 GB, free: 46.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493/9.702, allocations: 304.1 MB / 4.278 GB, free: 89.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.017e-06/9.702, allocations: 0 / 4.278 GB, free: 89.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.98e-05/9.702, allocations: 7.719 kB / 4.278 GB, free: 89.87 MB / 490.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.004434/9.706, allocations: 1.596 MB / 4.28 GB, free: 88.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/9.706, allocations: 10.06 kB / 4.28 GB, free: 88.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/9.707, allocations: 54.53 kB / 4.28 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/9.707, allocations: 404.8 kB / 4.28 GB, free: 88.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/9.708, allocations: 34.41 kB / 4.28 GB, free: 88.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/9.708, allocations: 36.31 kB / 4.28 GB, free: 88.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/9.709, allocations: 483.6 kB / 4.281 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/9.709, allocations: 0 / 4.281 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/9.709, allocations: 13.19 kB / 4.281 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/9.709, allocations: 12.38 kB / 4.281 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/9.71, allocations: 446.1 kB / 4.281 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/9.713, allocations: 2.031 MB / 4.283 GB, free: 87.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/9.714, allocations: 360.8 kB / 4.284 GB, free: 87.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/9.714, allocations: 131.6 kB / 4.284 GB, free: 87.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008528/9.715, allocations: 0.9519 MB / 4.285 GB, free: 86.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/9.715, allocations: 48.84 kB / 4.285 GB, free: 86.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.663e-06/9.715, allocations: 0 / 4.285 GB, free: 86.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007427/9.715, allocations: 255.5 kB / 4.285 GB, free: 86.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/9.716, allocations: 108 kB / 4.285 GB, free: 85.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/9.716, allocations: 271.3 kB / 4.285 GB, free: 85.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/9.716, allocations: 32.3 kB / 4.285 GB, free: 85.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/9.716, allocations: 312.1 kB / 4.286 GB, free: 85.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/9.716, allocations: 98.88 kB / 4.286 GB, free: 85.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/9.716, allocations: 6.438 kB / 4.286 GB, free: 85.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/9.716, allocations: 329.9 kB / 4.286 GB, free: 85.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/9.717, allocations: 105.5 kB / 4.286 GB, free: 85.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/9.717, allocations: 282.5 kB / 4.286 GB, free: 84.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/9.717, allocations: 222 kB / 4.287 GB, free: 84.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.505e-06/9.717, allocations: 3.844 kB / 4.287 GB, free: 84.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009865/9.718, allocations: 480.4 kB / 4.287 GB, free: 84.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/9.719, allocations: 65 kB / 4.287 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/9.719, allocations: 17.42 kB / 4.287 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/9.719, allocations: 7.688 kB / 4.287 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/9.719, allocations: 106.4 kB / 4.287 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/9.719, allocations: 15.42 kB / 4.287 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/9.72, allocations: 64.67 kB / 4.287 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/9.72, allocations: 22.84 kB / 4.287 GB, free: 84.69 MB / 490.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.0001214/9.72, allocations: 137 kB / 4.288 GB, free: 84.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/9.72, allocations: 34.53 kB / 4.288 GB, free: 84.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000952/9.721, allocations: 400.1 kB / 4.288 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.079e-06/9.721, allocations: 7.344 kB / 4.288 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-06/9.721, allocations: 0 / 4.288 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-06/9.721, allocations: 3.938 kB / 4.288 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/9.722, allocations: 1.004 MB / 4.289 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/9.722, allocations: 2.656 kB / 4.289 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/9.723, allocations: 47.38 kB / 4.289 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.562e-06/9.723, allocations: 10.3 kB / 4.289 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/9.723, allocations: 6.5 kB / 4.289 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.996e-06/9.723, allocations: 10.8 kB / 4.289 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.064e-06/9.723, allocations: 2.75 kB / 4.289 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/9.723, allocations: 0.607 MB / 4.29 GB, free: 83.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/9.723, allocations: 120.2 kB / 4.29 GB, free: 83.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/9.724, allocations: 13.31 kB / 4.29 GB, free: 83.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/9.724, allocations: 22.03 kB / 4.29 GB, free: 83.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/9.724, allocations: 21.81 kB / 4.29 GB, free: 83.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/9.724, allocations: 16.22 kB / 4.29 GB, free: 83.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00031/9.724, allocations: 256.4 kB / 4.29 GB, free: 83.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.586e-06/9.724, allocations: 0 / 4.29 GB, free: 83.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00177/9.726, allocations: 468.5 kB / 4.291 GB, free: 83.08 MB / 490.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.002375/9.729, allocations: 1.258 MB / 4.292 GB, free: 82.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006692/9.729, allocations: 377.7 kB / 4.292 GB, free: 82.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.249e-06/9.729, allocations: 0 / 4.292 GB, free: 82.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/9.73, allocations: 96.05 kB / 4.292 GB, free: 82.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/9.731, allocations: 157.7 kB / 4.292 GB, free: 82.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/9.732, allocations: 0.6832 MB / 4.293 GB, free: 82.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/9.733, allocations: 0.8434 MB / 4.294 GB, free: 81.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/9.733, allocations: 40.77 kB / 4.294 GB, free: 81.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.527e-06/9.733, allocations: 3.906 kB / 4.294 GB, free: 81.68 MB / 490.7 MB Notification: Performance of Templates: time 0.02178/9.755, allocations: 14.24 MB / 4.308 GB, free: 80.45 MB / 490.7 MB