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 2.04/2.04, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.096e-05, allocations: 7.984 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3489, allocations: 48.69 MB / 324.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.243/0.592, allocations: 143.4 MB / 468.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.5987, allocations: 3.096 MB / 471.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.5992, allocations: 15.88 kB / 471.4 MB, free: 12.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.5999, allocations: 143.3 kB / 471.5 MB, free: 12.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008436/0.6008, allocations: 207.3 kB / 471.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005629/0.6064, allocations: 1.375 MB / 473.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.6075, allocations: 400.7 kB / 473.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.6081, allocations: 224.3 kB / 473.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.6123, allocations: 1.15 MB / 474.8 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/0.6129, allocations: 199.4 kB / 475 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006975/0.6199, allocations: 2.47 MB / 477.5 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008565/0.6209, allocations: 96 kB / 477.6 MB, free: 6.492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.6212, allocations: 159.5 kB / 477.7 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.6215, allocations: 52 kB / 477.8 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.6255, allocations: 1.333 MB / 479.1 MB, free: 4.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6255, allocations: 0 / 479.1 MB, free: 4.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6256, allocations: 4 kB / 479.1 MB, free: 4.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.6256, allocations: 0 / 479.1 MB, free: 4.945 MB / 410.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.002597/0.6282, allocations: 0.9277 MB / 480.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.6283, allocations: 8.031 kB / 480.1 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.6287, allocations: 63.42 kB / 480.1 MB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009223/0.6297, allocations: 382 kB / 480.5 MB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.6297, allocations: 33 kB / 480.5 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.6298, allocations: 32 kB / 480.6 MB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6313, allocations: 0.5081 MB / 481.1 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6313, allocations: 0 / 481.1 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.6314, allocations: 20 kB / 481.1 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.6314, allocations: 8 kB / 481.1 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.633, allocations: 0.4956 MB / 481.6 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.6374, allocations: 1.958 MB / 483.6 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.262/0.8994, allocations: 376.3 kB / 483.9 MB, free: 142.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.9005, allocations: 0.945 MB / 484.9 MB, free: 141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.9006, allocations: 44.2 kB / 484.9 MB, free: 141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.316e-06/0.9006, allocations: 0 / 484.9 MB, free: 141 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001554/0.9022, allocations: 394.5 kB / 485.3 MB, free: 141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.9023, allocations: 114.6 kB / 485.4 MB, free: 140.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.9028, allocations: 270.8 kB / 485.7 MB, free: 140.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.9028, allocations: 36.8 kB / 485.7 MB, free: 140.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.903, allocations: 304.8 kB / 486 MB, free: 140.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.9031, allocations: 98.77 kB / 486.1 MB, free: 140.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.9032, allocations: 10.56 kB / 486.1 MB, free: 140.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.9033, allocations: 332.2 kB / 486.4 MB, free: 140.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.9038, allocations: 125.2 kB / 486.6 MB, free: 140.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.9044, allocations: 305.3 kB / 486.9 MB, free: 139.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.905, allocations: 232 kB / 487.1 MB, free: 139.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.905, allocations: 2.406 kB / 487.1 MB, free: 139.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001543/0.9066, allocations: 0.5274 MB / 487.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.9067, allocations: 69.92 kB / 487.7 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.9067, allocations: 6.094 kB / 487.7 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.9068, allocations: 10.39 kB / 487.7 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.9075, allocations: 102.4 kB / 487.8 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.558e-05/0.9075, allocations: 17.05 kB / 487.8 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.9082, allocations: 63.09 kB / 487.9 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.9083, allocations: 25.09 kB / 487.9 MB, free: 139.3 MB / 410.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.0003139/0.9086, allocations: 191.4 kB / 488.1 MB, free: 139.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.9087, allocations: 32.81 kB / 488.1 MB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.9102, allocations: 433.8 kB / 488.5 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.9103, allocations: 3.438 kB / 488.5 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.9103, allocations: 1.953 kB / 488.5 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.9103, allocations: 6.031 kB / 488.6 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.9125, allocations: 1.04 MB / 489.6 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.9125, allocations: 2.25 kB / 489.6 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.913, allocations: 45.62 kB / 489.6 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.913, allocations: 7.203 kB / 489.6 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.913, allocations: 14.11 kB / 489.7 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.986e-06/0.9131, allocations: 6.641 kB / 489.7 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.9131, allocations: 2.344 kB / 489.7 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.9141, allocations: 0.6417 MB / 490.3 MB, free: 137.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.9143, allocations: 134.7 kB / 490.4 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/0.9144, allocations: 8.125 kB / 490.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.915, allocations: 18.66 kB / 490.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.9151, allocations: 20.05 kB / 490.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.9151, allocations: 14.84 kB / 490.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004502/0.9156, allocations: 261.2 kB / 490.8 MB, free: 137.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9156, allocations: 0 / 490.8 MB, free: 137.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001687/0.9173, allocations: 364.5 kB / 491.1 MB, free: 137.3 MB / 410.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.002049/0.9194, allocations: 0.5732 MB / 491.7 MB, free: 137.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.9208, allocations: 430.1 kB / 492.1 MB, free: 136.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.9208, allocations: 0 / 492.1 MB, free: 136.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.9212, allocations: 121.5 kB / 492.2 MB, free: 136.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.9227, allocations: 158.2 kB / 492.4 MB, free: 136.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.9247, allocations: 0.9398 MB / 493.3 MB, free: 136.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.9252, allocations: 0.844 MB / 494.2 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.9255, allocations: 40.02 kB / 494.2 MB, free: 135.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9255, allocations: 0 / 494.2 MB, free: 135.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02881/0.9543, allocations: 10.84 MB / 0.4932 GB, free: 131.5 MB / 410.7 MB