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_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 1.717/1.717, allocations: 209.3 MB / 216.3 MB, free: 6.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.412e-06/9.589e-06, allocations: 0 / 267.3 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09015, allocations: 48.69 MB / 316 MB, free: 4.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.947/7.037, allocations: 3.623 GB / 3.931 GB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/7.038, allocations: 83.44 kB / 3.931 GB, free: 10.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383/8.42, allocations: 302 MB / 4.226 GB, free: 44.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.407e-05/8.421, allocations: 12 kB / 4.226 GB, free: 44.08 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.004829/8.425, allocations: 1.606 MB / 4.228 GB, free: 42.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/8.425, allocations: 8.031 kB / 4.228 GB, free: 42.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005091/8.426, allocations: 51.44 kB / 4.228 GB, free: 42.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/8.427, allocations: 411 kB / 4.228 GB, free: 41.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/8.427, allocations: 12 kB / 4.228 GB, free: 41.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/8.427, allocations: 26.16 kB / 4.228 GB, free: 41.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009863/8.428, allocations: 433.4 kB / 4.229 GB, free: 41.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/8.429, allocations: 443.9 kB / 4.229 GB, free: 41.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/8.429, allocations: 0 / 4.229 GB, free: 41.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/8.429, allocations: 3.906 kB / 4.229 GB, free: 41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/8.429, allocations: 12 kB / 4.229 GB, free: 40.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/8.433, allocations: 2.731 MB / 4.232 GB, free: 37.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/8.434, allocations: 325 kB / 4.232 GB, free: 37.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/8.435, allocations: 94.66 kB / 4.232 GB, free: 37.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/8.435, allocations: 93.08 kB / 4.232 GB, free: 37.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/8.435, allocations: 34.56 kB / 4.232 GB, free: 37.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 4.149e-06/8.435, allocations: 0 / 4.232 GB, free: 37.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007793/8.436, allocations: 237.5 kB / 4.233 GB, free: 37.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/8.436, allocations: 114.8 kB / 4.233 GB, free: 36.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/8.436, allocations: 290 kB / 4.233 GB, free: 36.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/8.436, allocations: 29.7 kB / 4.233 GB, free: 36.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/8.436, allocations: 243 kB / 4.233 GB, free: 36.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/8.436, allocations: 70.94 kB / 4.233 GB, free: 36.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/8.436, allocations: 7.938 kB / 4.233 GB, free: 36.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/8.436, allocations: 346.8 kB / 4.234 GB, free: 35.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/8.437, allocations: 92.86 kB / 4.234 GB, free: 35.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/8.437, allocations: 275.3 kB / 4.234 GB, free: 35.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/8.438, allocations: 239.6 kB / 4.234 GB, free: 35.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.996e-06/8.438, allocations: 0 / 4.234 GB, free: 35.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001505/8.44, allocations: 492.9 kB / 4.235 GB, free: 34.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/8.44, allocations: 7.984 kB / 4.235 GB, free: 34.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/8.44, allocations: 4 kB / 4.235 GB, free: 34.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/8.44, allocations: 12 kB / 4.235 GB, free: 34.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/8.44, allocations: 99.83 kB / 4.235 GB, free: 34.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/8.44, allocations: 12.27 kB / 4.235 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/8.441, allocations: 59.52 kB / 4.235 GB, free: 34.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/8.441, allocations: 24 kB / 4.235 GB, free: 34.58 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.0001293/8.441, allocations: 120.7 kB / 4.235 GB, free: 34.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/8.441, allocations: 35.62 kB / 4.235 GB, free: 34.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009145/8.442, allocations: 305.9 kB / 4.235 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.25e-06/8.442, allocations: 4 kB / 4.235 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.118e-06/8.442, allocations: 0 / 4.235 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.346e-06/8.442, allocations: 4 kB / 4.235 GB, free: 34.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/8.444, allocations: 1.008 MB / 4.236 GB, free: 33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.566e-06/8.444, allocations: 7.906 kB / 4.236 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/8.444, allocations: 44.34 kB / 4.236 GB, free: 32.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/8.444, allocations: 12 kB / 4.236 GB, free: 32.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/8.444, allocations: 4 kB / 4.236 GB, free: 32.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/8.444, allocations: 7.938 kB / 4.236 GB, free: 32.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.375e-06/8.444, allocations: 4 kB / 4.236 GB, free: 32.92 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006718/8.445, allocations: 0.5763 MB / 4.237 GB, free: 32.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/8.445, allocations: 120.7 kB / 4.237 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/8.445, allocations: 4 kB / 4.237 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/8.446, allocations: 19.98 kB / 4.237 GB, free: 32.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/8.446, allocations: 23.83 kB / 4.237 GB, free: 32.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/8.446, allocations: 8 kB / 4.237 GB, free: 32.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003116/8.446, allocations: 220.6 kB / 4.237 GB, free: 31.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002015/8.448, allocations: 447.2 kB / 4.238 GB, free: 31.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.003291/8.452, allocations: 1.397 MB / 4.239 GB, free: 29.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007391/8.452, allocations: 299.9 kB / 4.239 GB, free: 29.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.281e-06/8.453, allocations: 0 / 4.239 GB, free: 29.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/8.453, allocations: 83.8 kB / 4.24 GB, free: 29.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/8.454, allocations: 146.7 kB / 4.24 GB, free: 29.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/8.455, allocations: 0.5708 MB / 4.24 GB, free: 28.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/8.456, allocations: 0.8814 MB / 4.241 GB, free: 27.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.77e-06/8.456, allocations: 0 / 4.241 GB, free: 27.88 MB / 426.7 MB Notification: Performance of Templates: time 0.03334/8.489, allocations: 15.07 MB / 4.256 GB, free: 12.82 MB / 426.7 MB