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.372/2.372, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.905e-05, allocations: 0 / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3746, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.6095/0.9842, allocations: 143.5 MB / 0.4944 GB, free: 2.141 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006468/0.9907, allocations: 3.114 MB / 0.4975 GB, free: 2.102 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006184/0.9913, allocations: 13.81 kB / 0.4975 GB, free: 2.102 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.992, allocations: 150.8 kB / 0.4976 GB, free: 2.098 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.993, allocations: 200.8 kB / 0.4978 GB, free: 2.094 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006655/0.9997, allocations: 1.375 MB / 0.4992 GB, free: 2.047 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001248/1.001, allocations: 407.9 kB / 0.4996 GB, free: 2.043 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/1.002, allocations: 220.2 kB / 0.4998 GB, free: 2.035 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/1.006, allocations: 1.143 MB / 0.5009 GB, free: 2.008 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/1.006, allocations: 204.1 kB / 0.5011 GB, free: 2.008 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006829/1.013, allocations: 2.494 MB / 0.5035 GB, free: 1.988 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009021/1.014, allocations: 97.28 kB / 0.5036 GB, free: 1.988 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003291/1.015, allocations: 157.8 kB / 0.5038 GB, free: 1.988 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/1.015, allocations: 52.28 kB / 0.5038 GB, free: 1.988 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004011/1.019, allocations: 1.335 MB / 0.5051 GB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.019, allocations: 0 / 0.5051 GB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.019, allocations: 0 / 0.5051 GB, free: 1.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/1.019, allocations: 4 kB / 0.5051 GB, free: 1.879 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.00263/1.022, allocations: 0.928 MB / 0.506 GB, free: 17.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.022, allocations: 8.312 kB / 0.506 GB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/1.022, allocations: 61.62 kB / 0.5061 GB, free: 17.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008901/1.023, allocations: 381.8 kB / 0.5065 GB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/1.023, allocations: 29.92 kB / 0.5065 GB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/1.023, allocations: 38.98 kB / 0.5065 GB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.025, allocations: 0.5114 MB / 0.507 GB, free: 16.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.025, allocations: 2.656 kB / 0.507 GB, free: 16.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/1.025, allocations: 16.22 kB / 0.507 GB, free: 16.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.025, allocations: 15.08 kB / 0.5071 GB, free: 16.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/1.026, allocations: 0.489 MB / 0.5075 GB, free: 16.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/1.03, allocations: 2.073 MB / 0.5096 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009184/1.031, allocations: 380 kB / 0.5099 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/1.033, allocations: 0.9507 MB / 0.5109 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/1.033, allocations: 36.62 kB / 0.5109 GB, free: 14.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.086e-06/1.033, allocations: 0 / 0.5109 GB, free: 14.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001519/1.034, allocations: 400.9 kB / 0.5113 GB, free: 14.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.034, allocations: 105.8 kB / 0.5114 GB, free: 14.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/1.035, allocations: 274.7 kB / 0.5116 GB, free: 14.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/1.035, allocations: 31.92 kB / 0.5117 GB, free: 14.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.035, allocations: 302.6 kB / 0.5119 GB, free: 13.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/1.035, allocations: 101.9 kB / 0.512 GB, free: 13.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/1.035, allocations: 17.25 kB / 0.5121 GB, free: 13.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/1.035, allocations: 331.4 kB / 0.5124 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/1.036, allocations: 123.6 kB / 0.5125 GB, free: 13.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/1.037, allocations: 300.4 kB / 0.5128 GB, free: 13.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/1.037, allocations: 235.2 kB / 0.513 GB, free: 13.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.037, allocations: 3.094 kB / 0.513 GB, free: 13.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001477/1.039, allocations: 0.5308 MB / 0.5135 GB, free: 13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-05/1.039, allocations: 62.75 kB / 0.5136 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.039, allocations: 9.781 kB / 0.5136 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-05/1.039, allocations: 11.09 kB / 0.5136 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/1.039, allocations: 102.3 kB / 0.5137 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.04, allocations: 13.56 kB / 0.5137 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/1.04, allocations: 51.19 kB / 0.5138 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/1.04, allocations: 25.94 kB / 0.5138 GB, free: 12.91 MB / 442.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.0003377/1.041, allocations: 193.3 kB / 0.514 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.041, allocations: 41.84 kB / 0.514 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/1.042, allocations: 437 kB / 0.5144 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.042, allocations: 3.125 kB / 0.5144 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.042, allocations: 4 kB / 0.5144 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.042, allocations: 6.109 kB / 0.5144 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/1.044, allocations: 1.037 MB / 0.5155 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.044, allocations: 7.188 kB / 0.5155 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/1.045, allocations: 47.94 kB / 0.5155 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.045, allocations: 2.156 kB / 0.5155 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/1.045, allocations: 11.19 kB / 0.5155 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/1.045, allocations: 10.06 kB / 0.5155 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.045, allocations: 9.516 kB / 0.5155 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009853/1.046, allocations: 0.6335 MB / 0.5162 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/1.046, allocations: 135.2 kB / 0.5163 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.046, allocations: 13.39 kB / 0.5163 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/1.047, allocations: 21.95 kB / 0.5163 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/1.047, allocations: 20.48 kB / 0.5163 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/1.047, allocations: 9 kB / 0.5164 GB, free: 11.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004542/1.047, allocations: 262.2 kB / 0.5166 GB, free: 11.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.047, allocations: 0 / 0.5166 GB, free: 11.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001695/1.049, allocations: 366.4 kB / 0.517 GB, free: 11.28 MB / 442.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.002033/1.051, allocations: 0.5551 MB / 0.5175 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/1.052, allocations: 430.9 kB / 0.5179 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.052, allocations: 0 / 0.5179 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/1.053, allocations: 117 kB / 0.518 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/1.054, allocations: 167.4 kB / 0.5182 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/1.056, allocations: 0.9425 MB / 0.5191 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/1.057, allocations: 0.8515 MB / 0.5199 GB, free: 9.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.057, allocations: 40.53 kB / 0.52 GB, free: 9.688 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/1.057, allocations: 0 / 0.52 GB, free: 9.688 MB / 442.7 MB Notification: Performance of Templates: time 0.02618/1.083, allocations: 10.83 MB / 0.5305 GB, free: 5.684 MB / 442.7 MB