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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/2.978e-05, allocations: 3.984 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3659/0.4941, allocations: 24.59 MB / 435.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02465/0.5188, allocations: 12.45 MB / 448 MB, free: 9.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006061/0.5194, allocations: 11.09 kB / 448 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008421/0.5203, allocations: 166.6 kB / 448.2 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009661/0.5213, allocations: 202.6 kB / 448.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01666/0.538, allocations: 3.885 MB / 452.2 MB, free: 6.664 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.5392, allocations: 392.6 kB / 452.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.5397, allocations: 154.2 kB / 452.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02351/0.5633, allocations: 8.771 MB / 461.5 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005102/0.5638, allocations: 144.2 kB / 461.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01687/0.5807, allocations: 5.464 MB / 467.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002409/0.5832, allocations: 340 kB / 467.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5835, allocations: 59.81 kB / 467.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.5837, allocations: 44 kB / 467.6 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006835/0.5906, allocations: 2.276 MB / 469.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5906, allocations: 0 / 469.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5907, allocations: 0 / 469.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5907, allocations: 0 / 469.9 MB, free: 12.71 MB / 378.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.002908/0.5936, allocations: 0.8969 MB / 470.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5937, allocations: 8.031 kB / 470.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.595, allocations: 115.5 kB / 470.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.5956, allocations: 321.3 kB / 471.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.5957, allocations: 32.5 kB / 471.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.5958, allocations: 27.98 kB / 471.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.5975, allocations: 462.9 kB / 471.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5975, allocations: 7.891 kB / 471.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.5976, allocations: 12 kB / 471.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.5976, allocations: 8 kB / 471.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.5996, allocations: 389.3 kB / 472.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.6047, allocations: 2.399 MB / 474.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.6066, allocations: 306.3 kB / 474.8 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006547/0.6073, allocations: 485.4 kB / 475.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.6073, allocations: 30.56 kB / 475.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.816e-06/0.6073, allocations: 0 / 475.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.00295/0.6103, allocations: 0.4936 MB / 475.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.6104, allocations: 106.8 kB / 475.9 MB, free: 6.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.6109, allocations: 283.6 kB / 476.2 MB, free: 5.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.611, allocations: 29.7 kB / 476.2 MB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.6112, allocations: 266 kB / 476.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.6113, allocations: 35.45 kB / 476.5 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.6113, allocations: 8 kB / 476.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6114, allocations: 318.8 kB / 476.8 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.612, allocations: 99.88 kB / 476.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.6126, allocations: 211.3 kB / 477.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.6132, allocations: 112 kB / 477.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.6132, allocations: 4 kB / 477.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001291/0.6145, allocations: 325.3 kB / 477.6 MB, free: 4.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.6145, allocations: 8 kB / 477.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.6146, allocations: 4 kB / 477.6 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6146, allocations: 4 kB / 477.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.6151, allocations: 71.89 kB / 477.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.6151, allocations: 4 kB / 477.6 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.6156, allocations: 51.77 kB / 477.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.6157, allocations: 19.98 kB / 477.7 MB, free: 4.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (27): * Single equations (assignments): 27 * 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.0002409/0.616, allocations: 149.7 kB / 477.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/0.6161, allocations: 35.58 kB / 477.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.618, allocations: 0.7989 MB / 478.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.6181, allocations: 7.984 kB / 478.7 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6181, allocations: 4 kB / 478.7 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6181, allocations: 0 / 478.7 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.619, allocations: 0.5259 MB / 479.2 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.619, allocations: 0 / 479.2 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.6195, allocations: 59.91 kB / 479.3 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.6195, allocations: 4 kB / 479.3 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.6195, allocations: 4 kB / 479.3 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.6196, allocations: 3.938 kB / 479.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6196, allocations: 0 / 479.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.6208, allocations: 477.7 kB / 479.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.621, allocations: 184.1 kB / 480 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.6212, allocations: 4 kB / 480 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.6216, allocations: 27.97 kB / 480 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.6217, allocations: 23.97 kB / 480 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6217, allocations: 0 / 480 MB, free: 1.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006017/0.6224, allocations: 338.9 kB / 480.3 MB, free: 1.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6224, allocations: 0 / 480.3 MB, free: 1.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00307/0.6254, allocations: 0.7963 MB / 481.1 MB, free: 0.7539 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: 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.006198/0.6317, allocations: 0.9828 MB / 482.1 MB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.6331, allocations: 288.6 kB / 482.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6331, allocations: 0 / 482.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005513/0.6337, allocations: 179.9 kB / 482.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.6353, allocations: 177.2 kB / 482.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.6376, allocations: 1.066 MB / 483.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.6382, allocations: 0.8542 MB / 484.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.6383, allocations: 31.42 kB / 484.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6383, allocations: 0 / 484.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of Templates: time 0.05094/0.6893, allocations: 21.15 MB / 0.494 GB, free: 7.977 MB / 410.7 MB