Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.3e-05, allocations: 8 kB / 347 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3308, allocations: 61.86 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.226/8.556, allocations: 3.41 GB / 3.809 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/8.557, allocations: 85.02 kB / 3.809 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.248/9.805, allocations: 297.8 MB / 4.1 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.296e-06/9.805, allocations: 0 / 4.1 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.949e-05/9.805, allocations: 19.98 kB / 4.1 GB, free: 68.64 MB / 0.5261 GB 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.004196/9.809, allocations: 1.551 MB / 4.101 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/9.809, allocations: 8.031 kB / 4.101 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/9.809, allocations: 59.42 kB / 4.102 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/9.81, allocations: 367.6 kB / 4.102 GB, free: 66.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/9.81, allocations: 28.78 kB / 4.102 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/9.81, allocations: 39.95 kB / 4.102 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/9.811, allocations: 488 kB / 4.102 GB, free: 66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/9.811, allocations: 0 / 4.102 GB, free: 66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/9.811, allocations: 20 kB / 4.102 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/9.811, allocations: 11.94 kB / 4.102 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008874/9.812, allocations: 443.7 kB / 4.103 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/9.815, allocations: 1.975 MB / 4.105 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/9.816, allocations: 428.8 kB / 4.105 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/9.816, allocations: 166.6 kB / 4.105 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/9.817, allocations: 0.9538 MB / 4.106 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/9.817, allocations: 42.5 kB / 4.106 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.875e-06/9.817, allocations: 0 / 4.106 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0009041/9.818, allocations: 341 kB / 4.107 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/9.818, allocations: 114.8 kB / 4.107 GB, free: 61.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/9.819, allocations: 351.5 kB / 4.107 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/9.819, allocations: 33.7 kB / 4.107 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/9.819, allocations: 258.4 kB / 4.107 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/9.819, allocations: 110.5 kB / 4.108 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/9.819, allocations: 8 kB / 4.108 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.405e-05/9.819, allocations: 322.8 kB / 4.108 GB, free: 60 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/9.819, allocations: 136.7 kB / 4.108 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/9.82, allocations: 237.9 kB / 4.108 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/9.82, allocations: 227.5 kB / 4.108 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/9.82, allocations: 4 kB / 4.108 GB, free: 59.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000999/9.821, allocations: 496.5 kB / 4.109 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/9.821, allocations: 63.39 kB / 4.109 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/9.821, allocations: 4 kB / 4.109 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/9.821, allocations: 11.94 kB / 4.109 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/9.822, allocations: 88.27 kB / 4.109 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/9.822, allocations: 11.89 kB / 4.109 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/9.822, allocations: 59.45 kB / 4.109 GB, free: 58.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/9.822, allocations: 23.98 kB / 4.109 GB, free: 58.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (45): * Single equations (assignments): 43 * 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.0001477/9.823, allocations: 128.4 kB / 4.109 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/9.823, allocations: 43.53 kB / 4.109 GB, free: 58.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/9.824, allocations: 474.6 kB / 4.11 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.689e-06/9.824, allocations: 4 kB / 4.11 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.805e-06/9.824, allocations: 4 kB / 4.11 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.735e-06/9.824, allocations: 3.953 kB / 4.11 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/9.827, allocations: 2.418 MB / 4.112 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.171e-06/9.827, allocations: 8.062 kB / 4.112 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/9.828, allocations: 71.84 kB / 4.112 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/9.828, allocations: 4 kB / 4.112 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/9.828, allocations: 8 kB / 4.112 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.699e-06/9.828, allocations: 4 kB / 4.112 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.13e-06/9.828, allocations: 4 kB / 4.112 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/9.828, allocations: 0.7002 MB / 4.113 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/9.829, allocations: 144.4 kB / 4.113 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.821e-05/9.829, allocations: 8 kB / 4.113 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/9.829, allocations: 27.98 kB / 4.113 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/9.829, allocations: 31.86 kB / 4.113 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/9.829, allocations: 19.98 kB / 4.113 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004713/9.83, allocations: 349.2 kB / 4.113 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.39e-07/9.83, allocations: 0 / 4.113 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001742/9.832, allocations: 427.5 kB / 4.114 GB, free: 53.26 MB / 0.5261 GB 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 (32): * Single equations (assignments): 32 * 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.002171/9.834, allocations: 1.13 MB / 4.115 GB, free: 52.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008507/9.835, allocations: 435.1 kB / 4.115 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.712e-06/9.835, allocations: 4.125 kB / 4.115 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/9.835, allocations: 151.7 kB / 4.116 GB, free: 51.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/9.837, allocations: 243.8 kB / 4.116 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/9.838, allocations: 0.5859 MB / 4.116 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/9.838, allocations: 0.8434 MB / 4.117 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/9.839, allocations: 51.42 kB / 4.117 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of SimCode: time 1.981e-06/9.839, allocations: 4 kB / 4.117 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.02215/9.861, allocations: 14.91 MB / 4.132 GB, free: 35 MB / 0.5261 GB