Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.941e-05, allocations: 0 / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.816/6.139, allocations: 2.587 GB / 2.938 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/6.139, allocations: 83.92 kB / 2.939 GB, free: 14.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365/7.504, allocations: 290.2 MB / 3.222 GB, free: 74.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.763e-06/7.504, allocations: 3.938 kB / 3.222 GB, free: 74.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.105e-05/7.504, allocations: 11.7 kB / 3.222 GB, free: 74.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003498/7.508, allocations: 1.198 MB / 3.223 GB, free: 73.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/7.508, allocations: 11.91 kB / 3.223 GB, free: 73.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/7.509, allocations: 119.2 kB / 3.223 GB, free: 73.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/7.51, allocations: 352 kB / 3.224 GB, free: 73.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/7.51, allocations: 20.28 kB / 3.224 GB, free: 73.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/7.51, allocations: 27.8 kB / 3.224 GB, free: 73.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/7.511, allocations: 442.7 kB / 3.224 GB, free: 72.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/7.511, allocations: 0 / 3.224 GB, free: 72.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/7.511, allocations: 11.97 kB / 3.224 GB, free: 72.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.633e-06/7.511, allocations: 10.34 kB / 3.224 GB, free: 72.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/7.512, allocations: 333.5 kB / 3.224 GB, free: 72.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/7.514, allocations: 2.238 MB / 3.227 GB, free: 70.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/7.515, allocations: 221.5 kB / 3.227 GB, free: 70.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/7.515, allocations: 50.44 kB / 3.227 GB, free: 70.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/7.516, allocations: 488 kB / 3.227 GB, free: 70.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/7.516, allocations: 34.5 kB / 3.227 GB, free: 70.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.443e-06/7.516, allocations: 0 / 3.227 GB, free: 70.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.001305/7.517, allocations: 336.4 kB / 3.228 GB, free: 70.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/7.517, allocations: 106.8 kB / 3.228 GB, free: 69.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/7.517, allocations: 239.2 kB / 3.228 GB, free: 69.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/7.517, allocations: 29.7 kB / 3.228 GB, free: 69.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/7.518, allocations: 274.1 kB / 3.228 GB, free: 69.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/7.518, allocations: 42.81 kB / 3.228 GB, free: 69.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/7.518, allocations: 7.469 kB / 3.228 GB, free: 69.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/7.518, allocations: 326.1 kB / 3.229 GB, free: 69.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/7.518, allocations: 48.05 kB / 3.229 GB, free: 69.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/7.518, allocations: 181.2 kB / 3.229 GB, free: 68.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/7.518, allocations: 81.69 kB / 3.229 GB, free: 68.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/7.518, allocations: 0 / 3.229 GB, free: 68.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004925/7.519, allocations: 235.9 kB / 3.229 GB, free: 68.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/7.519, allocations: 7.719 kB / 3.229 GB, free: 68.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.348e-06/7.519, allocations: 6.891 kB / 3.229 GB, free: 68.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/7.519, allocations: 7.031 kB / 3.229 GB, free: 68.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/7.519, allocations: 75.73 kB / 3.229 GB, free: 68.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/7.519, allocations: 11.53 kB / 3.229 GB, free: 68.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/7.519, allocations: 49.3 kB / 3.229 GB, free: 68.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/7.52, allocations: 22.97 kB / 3.229 GB, free: 68.78 MB / 490.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 (31): * Single equations (assignments): 31 * 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 8.32e-05/7.52, allocations: 120.8 kB / 3.229 GB, free: 68.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/7.52, allocations: 23.38 kB / 3.23 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/7.521, allocations: 0.6307 MB / 3.23 GB, free: 68.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/7.521, allocations: 10.91 kB / 3.23 GB, free: 68.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.284e-06/7.521, allocations: 3.719 kB / 3.23 GB, free: 68.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.154e-06/7.521, allocations: 0 / 3.23 GB, free: 68.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/7.521, allocations: 474.7 kB / 3.231 GB, free: 67.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/7.521, allocations: 3.703 kB / 3.231 GB, free: 67.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/7.521, allocations: 49.06 kB / 3.231 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4e-06/7.521, allocations: 3.656 kB / 3.231 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/7.521, allocations: 0 / 3.231 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.169e-06/7.521, allocations: 7.047 kB / 3.231 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.661e-06/7.521, allocations: 0 / 3.231 GB, free: 67.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/7.522, allocations: 391.2 kB / 3.231 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-05/7.522, allocations: 138.9 kB / 3.231 GB, free: 67.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/7.522, allocations: 4.219 kB / 3.231 GB, free: 67.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/7.522, allocations: 32.77 kB / 3.231 GB, free: 67.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/7.522, allocations: 18.73 kB / 3.231 GB, free: 67.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/7.522, allocations: 0 / 3.231 GB, free: 67.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002518/7.523, allocations: 228.5 kB / 3.231 GB, free: 67.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.13e-07/7.523, allocations: 0 / 3.231 GB, free: 67.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003358/7.526, allocations: 0.8556 MB / 3.232 GB, free: 67.28 MB / 490.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004639/7.531, allocations: 1.295 MB / 3.234 GB, free: 67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003969/7.531, allocations: 202.2 kB / 3.234 GB, free: 66.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.435e-06/7.531, allocations: 0 / 3.234 GB, free: 66.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/7.531, allocations: 125.6 kB / 3.234 GB, free: 66.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/7.532, allocations: 129.8 kB / 3.234 GB, free: 66.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1385/7.671, allocations: 54.73 MB / 3.287 GB, free: 52.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/7.671, allocations: 0.832 MB / 3.288 GB, free: 51.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/7.671, allocations: 35.28 kB / 3.288 GB, free: 51.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.273e-06/7.671, allocations: 0 / 3.288 GB, free: 51.93 MB / 490.7 MB Notification: Performance of Templates: time 0.03318/7.704, allocations: 21.87 MB / 3.31 GB, free: 33.2 MB / 490.7 MB