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") Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.023e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3505, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2468/0.5973, allocations: 143.4 MB / 468.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006419/0.6038, allocations: 3.096 MB / 471.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004368/0.6043, allocations: 15.88 kB / 471.4 MB, free: 12.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.605, allocations: 143.3 kB / 471.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007108/0.6057, allocations: 207.3 kB / 471.7 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006142/0.6119, allocations: 1.375 MB / 473.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.613, allocations: 400.7 kB / 473.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.6135, allocations: 228.3 kB / 473.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.6177, allocations: 1.138 MB / 474.8 MB, free: 9.172 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.6182, allocations: 203.4 kB / 475 MB, free: 8.973 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006835/0.6251, allocations: 2.473 MB / 477.5 MB, free: 6.496 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007917/0.6259, allocations: 96 kB / 477.6 MB, free: 6.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.6262, allocations: 155.6 kB / 477.8 MB, free: 6.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.6265, allocations: 52 kB / 477.8 MB, free: 6.199 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.6301, allocations: 1.333 MB / 479.2 MB, free: 4.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6301, allocations: 4 kB / 479.2 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6302, allocations: 4 kB / 479.2 MB, free: 4.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6302, allocations: 0 / 479.2 MB, free: 4.855 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.002671/0.6329, allocations: 0.9316 MB / 480.1 MB, free: 3.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6329, allocations: 8.031 kB / 480.1 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.6333, allocations: 55.44 kB / 480.2 MB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/0.6342, allocations: 390 kB / 480.5 MB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.6342, allocations: 25 kB / 480.6 MB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.6344, allocations: 36 kB / 480.6 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6358, allocations: 0.5081 MB / 481.1 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.6358, allocations: 0 / 481.1 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.6359, allocations: 23.98 kB / 481.1 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.6359, allocations: 8 kB / 481.1 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.6375, allocations: 0.4956 MB / 481.6 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.6419, allocations: 1.962 MB / 483.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2685/0.9104, allocations: 370.4 kB / 484 MB, free: 142.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009233/0.9114, allocations: 0.9518 MB / 484.9 MB, free: 141.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.9115, allocations: 39.95 kB / 484.9 MB, free: 141.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.015e-06/0.9115, allocations: 1.188 kB / 484.9 MB, free: 141.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001513/0.913, allocations: 397.7 kB / 485.3 MB, free: 141.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.913, allocations: 106.5 kB / 485.4 MB, free: 141.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.9135, allocations: 275.2 kB / 485.7 MB, free: 141.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.9135, allocations: 35.08 kB / 485.7 MB, free: 141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.9137, allocations: 249.4 kB / 486 MB, free: 140.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.9138, allocations: 97.62 kB / 486.1 MB, free: 140.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.9139, allocations: 11.56 kB / 486.1 MB, free: 140.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.914, allocations: 346.7 kB / 486.4 MB, free: 140.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.9145, allocations: 126.8 kB / 486.6 MB, free: 140.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.915, allocations: 307.3 kB / 486.9 MB, free: 140.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.9156, allocations: 227.2 kB / 487.1 MB, free: 140 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.9157, allocations: 2.344 kB / 487.1 MB, free: 140 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001554/0.9172, allocations: 0.5469 MB / 487.6 MB, free: 139.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.9173, allocations: 63.69 kB / 487.7 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.9173, allocations: 6.891 kB / 487.7 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/0.9174, allocations: 10.19 kB / 487.7 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.9181, allocations: 102.3 kB / 487.8 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.9181, allocations: 14.47 kB / 487.8 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.9187, allocations: 61.84 kB / 487.9 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.9188, allocations: 23.05 kB / 487.9 MB, free: 139.7 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.0002952/0.9191, allocations: 198.4 kB / 488.1 MB, free: 139.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.9192, allocations: 32.66 kB / 488.1 MB, free: 139.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.9207, allocations: 430.2 kB / 488.5 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.9207, allocations: 7.469 kB / 488.6 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.9207, allocations: 2.75 kB / 488.6 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9207, allocations: 2.688 kB / 488.6 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.9227, allocations: 1.046 MB / 489.6 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.9227, allocations: 2.812 kB / 489.6 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.9231, allocations: 49.31 kB / 489.7 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.9232, allocations: 10.89 kB / 489.7 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.9232, allocations: 8.094 kB / 489.7 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.9232, allocations: 4.078 kB / 489.7 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.9232, allocations: 3.297 kB / 489.7 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.9242, allocations: 0.6428 MB / 490.3 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9243, allocations: 130.5 kB / 490.4 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.9245, allocations: 9.406 kB / 490.5 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.925, allocations: 18.78 kB / 490.5 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.9251, allocations: 22.36 kB / 490.5 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.9251, allocations: 18.08 kB / 490.5 MB, free: 137.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004178/0.9256, allocations: 260.5 kB / 490.8 MB, free: 137.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9256, allocations: 0 / 490.8 MB, free: 137.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00147/0.9271, allocations: 366.3 kB / 491.1 MB, free: 137.6 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.001888/0.929, allocations: 0.5595 MB / 491.7 MB, free: 137.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.9302, allocations: 424.4 kB / 492.1 MB, free: 137.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.9303, allocations: 0.5938 kB / 492.1 MB, free: 137.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.9307, allocations: 120.8 kB / 492.2 MB, free: 137.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.9322, allocations: 172.8 kB / 492.4 MB, free: 137.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.934, allocations: 0.9056 MB / 493.3 MB, free: 136.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.9345, allocations: 0.8403 MB / 494.1 MB, free: 135.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00077/0.9353, allocations: 96.92 kB / 494.2 MB, free: 135.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.9355, allocations: 41.69 kB / 494.3 MB, free: 135.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.9355, allocations: 0 / 494.3 MB, free: 135.9 MB / 410.7 MB Notification: Performance of Templates: time 0.03188/0.9674, allocations: 11.64 MB / 0.494 GB, free: 131.3 MB / 410.7 MB