Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.305e-05/4.297e-05, allocations: 8 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3904, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04338/0.4338, allocations: 24.51 MB / 387.4 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02796/0.4618, allocations: 14.06 MB / 401.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.4624, allocations: 15.88 kB / 401.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.4632, allocations: 167.1 kB / 401.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009068/0.4641, allocations: 199.3 kB / 401.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.4812, allocations: 4.182 MB / 406 MB, free: 2.535 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.4824, allocations: 400.5 kB / 406.4 MB, free: 2.145 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.4829, allocations: 147.7 kB / 406.5 MB, free: 2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0236/0.5065, allocations: 8.745 MB / 415.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.507, allocations: 151.5 kB / 415.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01668/0.5237, allocations: 5.693 MB / 421.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002783/0.5265, allocations: 344 kB / 421.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.5268, allocations: 67.8 kB / 421.5 MB, free: 3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.527, allocations: 36 kB / 421.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007392/0.5344, allocations: 2.382 MB / 423.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5345, allocations: 0 / 423.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-06/0.5345, allocations: 4 kB / 423.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.5345, allocations: 0 / 423.9 MB, free: 0.5742 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003038/0.5376, allocations: 0.9397 MB / 424.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.5376, allocations: 16.02 kB / 424.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.5399, allocations: 199.4 kB / 425.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006939/0.5406, allocations: 333.4 kB / 425.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.5407, allocations: 24.56 kB / 425.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.5408, allocations: 27.94 kB / 425.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.5428, allocations: 0.4949 MB / 426 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.5428, allocations: 3.938 kB / 426 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.5429, allocations: 19.95 kB / 426 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.5429, allocations: 8 kB / 426 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.545, allocations: 429.3 kB / 426.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.549, allocations: 2.318 MB / 428.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.5507, allocations: 338.1 kB / 429.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0646/0.6153, allocations: 15.86 MB / 444.9 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.6154, allocations: 38.56 kB / 445 MB, free: 9.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.215e-06/0.6154, allocations: 0 / 445 MB, free: 9.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002865/0.6183, allocations: 0.5197 MB / 445.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.6184, allocations: 114.8 kB / 445.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.6188, allocations: 238.7 kB / 445.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.6188, allocations: 33.7 kB / 445.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.619, allocations: 219.3 kB / 446.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.6191, allocations: 51.2 kB / 446.1 MB, free: 8.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.6191, allocations: 12 kB / 446.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6193, allocations: 342.8 kB / 446.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.6198, allocations: 92.5 kB / 446.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.6203, allocations: 237.3 kB / 446.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.6208, allocations: 127.9 kB / 446.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6209, allocations: 0 / 446.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001217/0.6221, allocations: 369 kB / 447.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6221, allocations: 8 kB / 447.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6221, allocations: 4 kB / 447.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.6222, allocations: 4 kB / 447.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.6227, allocations: 83.83 kB / 447.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.6227, allocations: 8.312 kB / 447.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.6231, allocations: 59.66 kB / 447.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.6232, allocations: 16 kB / 447.5 MB, free: 7.047 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 prepare postOptimizeDAE: time 0.0002218/0.6234, allocations: 153.8 kB / 447.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.6235, allocations: 31.61 kB / 447.6 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6256, allocations: 0.9714 MB / 448.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6256, allocations: 11.98 kB / 448.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6256, allocations: 4 kB / 448.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6257, allocations: 3.984 kB / 448.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.6265, allocations: 0.57 MB / 449.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6265, allocations: 0 / 449.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.6269, allocations: 51.95 kB / 449.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.627, allocations: 0 / 449.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.627, allocations: 11.95 kB / 449.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.627, allocations: 7.938 kB / 449.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.627, allocations: 0 / 449.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.6282, allocations: 0.5339 MB / 449.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.6283, allocations: 148.3 kB / 450 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.6284, allocations: 8 kB / 450 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.6288, allocations: 27.94 kB / 450 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.6289, allocations: 23.88 kB / 450 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.6289, allocations: 4 kB / 450 MB, free: 4.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003454/0.6292, allocations: 227.2 kB / 450.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6293, allocations: 0 / 450.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002829/0.6321, allocations: 0.7924 MB / 451 MB, free: 3.371 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005162/0.6373, allocations: 1.012 MB / 452 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.6387, allocations: 338.5 kB / 452.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.6387, allocations: 0 / 452.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6398, allocations: 212.4 kB / 452.6 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.6416, allocations: 124 kB / 452.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.644, allocations: 1.122 MB / 453.8 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.6447, allocations: 0.8515 MB / 454.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006664/0.6454, allocations: 183.5 kB / 454.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.6455, allocations: 27.44 kB / 454.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6455, allocations: 0 / 454.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of Templates: time 0.05569/0.7012, allocations: 23.56 MB / 478.4 MB, free: 7.922 MB / 410.7 MB