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.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.2 MB / 224.4 MB, free: 0.8516 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.503e-05, allocations: 4 kB / 276.2 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3456, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04103/0.3867, allocations: 24.34 MB / 349.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02576/0.4125, allocations: 13.94 MB / 363.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005179/0.4131, allocations: 15.84 kB / 363.1 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.4138, allocations: 164.1 kB / 363.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007037/0.4146, allocations: 197.7 kB / 363.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01776/0.4323, allocations: 4.134 MB / 367.6 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.4335, allocations: 388.6 kB / 368 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.4339, allocations: 147.9 kB / 368.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02232/0.4562, allocations: 8.655 MB / 376.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.4568, allocations: 143.5 kB / 376.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01664/0.4734, allocations: 5.634 MB / 382.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002443/0.4759, allocations: 336 kB / 382.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.4761, allocations: 67.73 kB / 383 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.4763, allocations: 36 kB / 383 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007191/0.4835, allocations: 2.357 MB / 385.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4836, allocations: 0 / 385.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4836, allocations: 0 / 385.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.4837, allocations: 0 / 385.4 MB, free: 2.98 MB / 314.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.002975/0.4866, allocations: 0.9513 MB / 386.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4867, allocations: 8.031 kB / 386.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.4889, allocations: 175.5 kB / 386.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.4896, allocations: 337.4 kB / 386.8 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.4897, allocations: 24.56 kB / 386.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.4897, allocations: 28 kB / 386.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.4917, allocations: 0.4949 MB / 387.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4917, allocations: 0 / 387.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.4918, allocations: 12 kB / 387.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4918, allocations: 8 kB / 387.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.4938, allocations: 433.2 kB / 387.8 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/0.4977, allocations: 2.329 MB / 390.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.4994, allocations: 330.2 kB / 390.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06507/0.5645, allocations: 15.85 MB / 406.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5646, allocations: 38.56 kB / 406.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.5646, allocations: 0 / 406.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002851/0.5674, allocations: 0.5282 MB / 406.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.5676, allocations: 106.8 kB / 407 MB, free: 11.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.568, allocations: 246.6 kB / 407.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.568, allocations: 29.7 kB / 407.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.5682, allocations: 281.8 kB / 407.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.5683, allocations: 51.23 kB / 407.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.5684, allocations: 8 kB / 407.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5685, allocations: 322.8 kB / 407.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.5689, allocations: 92.5 kB / 408 MB, free: 10.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.5695, allocations: 243.8 kB / 408.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.5701, allocations: 124.6 kB / 408.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5701, allocations: 0 / 408.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001217/0.5713, allocations: 349.7 kB / 408.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5713, allocations: 7.938 kB / 408.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5714, allocations: 7.984 kB / 408.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.5714, allocations: 8 kB / 408.7 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.5719, allocations: 76.41 kB / 408.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.572, allocations: 15.98 kB / 408.8 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.5724, allocations: 47.62 kB / 408.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.5725, allocations: 20 kB / 408.9 MB, free: 9.461 MB / 346.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.0002416/0.5727, allocations: 157.7 kB / 409 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.5728, allocations: 31.62 kB / 409.1 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.5749, allocations: 0.9599 MB / 410 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.5749, allocations: 11.98 kB / 410 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.575, allocations: 0 / 410 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.575, allocations: 0 / 410 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009235/0.5759, allocations: 0.5816 MB / 410.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.5759, allocations: 0 / 410.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.5763, allocations: 55.91 kB / 410.7 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.5763, allocations: 4 kB / 410.7 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.5764, allocations: 3.984 kB / 410.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5764, allocations: 0 / 410.7 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5764, allocations: 4 kB / 410.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.5776, allocations: 0.5414 MB / 411.2 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.5778, allocations: 164.2 kB / 411.4 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.5779, allocations: 7.984 kB / 411.4 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.5783, allocations: 31.92 kB / 411.4 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.5784, allocations: 23.91 kB / 411.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.5784, allocations: 0 / 411.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.5788, allocations: 235.1 kB / 411.7 MB, free: 6.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5788, allocations: 0 / 411.7 MB, free: 6.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002844/0.5816, allocations: 0.7885 MB / 412.5 MB, free: 5.766 MB / 346.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.005751/0.5874, allocations: 0.9934 MB / 413.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.5887, allocations: 340.7 kB / 413.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5887, allocations: 0 / 413.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.5892, allocations: 216.3 kB / 414 MB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5905, allocations: 128.2 kB / 414.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.5928, allocations: 1.155 MB / 415.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.5935, allocations: 0.8557 MB / 416.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.5937, allocations: 31.44 kB / 416.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of SimCode: time 3.106e-06/0.5937, allocations: 0 / 416.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Templates: time 0.04947/0.6432, allocations: 20.63 MB / 436.8 MB, free: 13.34 MB / 378.7 MB