Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.764/1.764, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.83e-05, allocations: 4 kB / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08406/0.08412, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05138/0.1356, allocations: 29.09 MB / 296 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.1387, allocations: 1.401 MB / 297.4 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.1391, allocations: 8 kB / 297.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.1397, allocations: 127.3 kB / 297.5 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.1403, allocations: 195.4 kB / 297.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.1412, allocations: 211.5 kB / 297.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007315/0.142, allocations: 339.2 kB / 298.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1421, allocations: 39.95 kB / 298.3 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4197/0.5618, allocations: 70.44 MB / 368.7 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.5625, allocations: 151.8 kB / 368.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.5628, allocations: 27.08 kB / 368.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.797e-05/0.5629, allocations: 12 kB / 368.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.5631, allocations: 70.28 kB / 369 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.5633, allocations: 44 kB / 369 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000733/0.564, allocations: 340.7 kB / 369.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5641, allocations: 0 / 369.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5641, allocations: 0 / 369.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.5641, allocations: 0 / 369.4 MB, free: 2.355 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001456/0.5656, allocations: 0.498 MB / 369.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.5657, allocations: 12.03 kB / 369.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000568/0.5662, allocations: 35.62 kB / 369.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.5669, allocations: 284 kB / 370.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.567, allocations: 17.94 kB / 370.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.5671, allocations: 27.25 kB / 370.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.5681, allocations: 305.7 kB / 370.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.5681, allocations: 0 / 370.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.5682, allocations: 13.5 kB / 370.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.5682, allocations: 8 kB / 370.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.569, allocations: 195.6 kB / 370.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003313/0.5723, allocations: 1.43 MB / 372.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.573, allocations: 175 kB / 372.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/0.5731, allocations: 8.797 kB / 372.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.5732, allocations: 38 kB / 372.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 4.077e-06/0.5732, allocations: 2.844 kB / 372.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.00548/0.5787, allocations: 1.006 MB / 373.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.5788, allocations: 63.05 kB / 373.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.5793, allocations: 229.1 kB / 373.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.5794, allocations: 32.77 kB / 373.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.5796, allocations: 236.8 kB / 373.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5798, allocations: 95.34 kB / 374 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.5799, allocations: 3.75 kB / 374 MB, free: 14.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5801, allocations: 329.7 kB / 374.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.5804, allocations: 82.72 kB / 374.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.5809, allocations: 182.4 kB / 374.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.5814, allocations: 121.4 kB / 374.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5814, allocations: 0 / 374.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001571/0.583, allocations: 362.4 kB / 375.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5831, allocations: 7.953 kB / 375.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5831, allocations: 4 kB / 375.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/0.5836, allocations: 64.23 kB / 375.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.5844, allocations: 67.03 kB / 375.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.5889, allocations: 2.693 MB / 377.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.5896, allocations: 19.48 kB / 377.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.5897, allocations: 20.45 kB / 378 MB, free: 10.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.5901, allocations: 147.7 kB / 378.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.5902, allocations: 27.67 kB / 378.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.5904, allocations: 40.98 kB / 378.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.5904, allocations: 4 kB / 378.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.5904, allocations: 1.641 kB / 378.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001339/0.5918, allocations: 0.5653 MB / 378.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.5941, allocations: 0.6974 MB / 379.4 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5942, allocations: 4 kB / 379.4 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.5947, allocations: 35.98 kB / 379.5 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/0.5952, allocations: 57.89 kB / 379.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.5953, allocations: 16.58 kB / 379.6 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.5977, allocations: 1.399 MB / 381 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5978, allocations: 0 / 381 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.5995, allocations: 485.3 kB / 381.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.5997, allocations: 92.86 kB / 381.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5998, allocations: 7.188 kB / 381.5 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.6004, allocations: 19.2 kB / 381.5 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.6005, allocations: 28.17 kB / 381.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.6006, allocations: 4 kB / 381.6 MB, free: 6.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004019/0.601, allocations: 185 kB / 381.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.601, allocations: 8 kB / 381.8 MB, free: 6.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001034/0.6021, allocations: 90.62 kB / 381.9 MB, free: 6.688 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.6023, allocations: 101.3 kB / 382 MB, free: 6.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.6039, allocations: 476.1 kB / 382.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.604, allocations: 0 / 382.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008086/0.6048, allocations: 230.1 kB / 382.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.607, allocations: 159.8 kB / 382.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.6097, allocations: 0.8432 MB / 383.6 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.6103, allocations: 0.7726 MB / 384.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.6106, allocations: 31.06 kB / 384.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6106, allocations: 1.094 kB / 384.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of Templates: time 0.01814/0.6287, allocations: 5.718 MB / 390.2 MB, free: 14.58 MB / 330.7 MB