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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 2.55/2.55, allocations: 234.9 MB / 250.1 MB, free: 9.926 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.749e-05/4.717e-05, allocations: 4 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3939, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04381/0.4377, allocations: 24.5 MB / 387.4 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02778/0.4656, allocations: 14.06 MB / 401.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005149/0.4662, allocations: 11.94 kB / 401.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.4669, allocations: 163.1 kB / 401.6 MB, free: 7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007325/0.4676, allocations: 207.3 kB / 401.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01742/0.4851, allocations: 4.182 MB / 406 MB, free: 2.602 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.4862, allocations: 400.5 kB / 406.4 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.4866, allocations: 147.7 kB / 406.5 MB, free: 2.066 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02366/0.5103, allocations: 8.753 MB / 415.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.5108, allocations: 151.5 kB / 415.4 MB, free: 9.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/0.5282, allocations: 5.697 MB / 421.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002512/0.5307, allocations: 347.9 kB / 421.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.531, allocations: 59.81 kB / 421.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.5312, allocations: 40 kB / 421.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007214/0.5385, allocations: 2.386 MB / 423.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5385, allocations: 0 / 423.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5386, allocations: 0 / 423.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.5386, allocations: 0 / 423.9 MB, free: 0.6289 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.00338/0.542, allocations: 0.9436 MB / 424.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.542, allocations: 8.031 kB / 424.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.5444, allocations: 199.4 kB / 425.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/0.5452, allocations: 337.3 kB / 425.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.5453, allocations: 32.5 kB / 425.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.5454, allocations: 24 kB / 425.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.5474, allocations: 494.9 kB / 425.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5474, allocations: 7.938 kB / 426 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.5475, allocations: 19.95 kB / 426 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.5475, allocations: 4 kB / 426 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.5496, allocations: 437.2 kB / 426.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.5536, allocations: 2.325 MB / 428.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.5554, allocations: 330.2 kB / 429.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06638/0.6218, allocations: 15.86 MB / 444.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.6219, allocations: 42.56 kB / 445 MB, free: 9.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.106e-06/0.6219, allocations: 0 / 445 MB, free: 9.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002887/0.6248, allocations: 0.5165 MB / 445.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.6249, allocations: 110.8 kB / 445.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.6254, allocations: 242.6 kB / 445.8 MB, free: 8.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.6254, allocations: 29.7 kB / 445.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.6256, allocations: 281.8 kB / 446.1 MB, free: 8.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.6257, allocations: 55.2 kB / 446.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.6258, allocations: 4 kB / 446.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6259, allocations: 322.8 kB / 446.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.6264, allocations: 92.5 kB / 446.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.627, allocations: 241.1 kB / 446.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.6275, allocations: 126 kB / 446.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.6275, allocations: 4 kB / 447 MB, free: 7.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00125/0.6288, allocations: 349 kB / 447.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.6288, allocations: 8 kB / 447.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6288, allocations: 4 kB / 447.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.6289, allocations: 8 kB / 447.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.6294, allocations: 84.36 kB / 447.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.6294, allocations: 15.92 kB / 447.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.6299, allocations: 47.67 kB / 447.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.63, allocations: 16 kB / 447.5 MB, free: 7.082 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.000267/0.6302, allocations: 157.7 kB / 447.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.6303, allocations: 35.61 kB / 447.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.6325, allocations: 0.9676 MB / 448.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.6326, allocations: 11.98 kB / 448.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6326, allocations: 0 / 448.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6326, allocations: 0 / 448.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.6336, allocations: 0.57 MB / 449.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6336, allocations: 0 / 449.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.634, allocations: 59.89 kB / 449.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.634, allocations: 0 / 449.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.6341, allocations: 7.953 kB / 449.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.6341, allocations: 4 kB / 449.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6341, allocations: 0 / 449.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.6353, allocations: 0.5353 MB / 449.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.6355, allocations: 148.3 kB / 450 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.6356, allocations: 8 kB / 450 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.636, allocations: 27.94 kB / 450 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6361, allocations: 23.88 kB / 450 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.6361, allocations: 4 kB / 450 MB, free: 4.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003856/0.6365, allocations: 231.2 kB / 450.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6365, allocations: 0 / 450.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003059/0.6396, allocations: 0.7924 MB / 451 MB, free: 3.406 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.005887/0.6455, allocations: 0.9996 MB / 452 MB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.6468, allocations: 340.8 kB / 452.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6469, allocations: 0 / 452.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.6474, allocations: 212.4 kB / 452.6 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6487, allocations: 128.1 kB / 452.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.651, allocations: 1.158 MB / 453.9 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.6516, allocations: 0.8476 MB / 454.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.6518, allocations: 35.42 kB / 454.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6518, allocations: 0 / 454.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of Templates: time 0.05304/0.7048, allocations: 20.73 MB / 475.5 MB, free: 10.91 MB / 410.7 MB