Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.549e-05, allocations: 6.188 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08017/0.08024, allocations: 38.78 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01687/0.09716, allocations: 10.16 MB / 277.1 MB, free: 6.262 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.1002, allocations: 1.321 MB / 278.4 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.1006, allocations: 4 kB / 278.4 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.1012, allocations: 147.2 kB / 278.6 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006037/0.1018, allocations: 187.5 kB / 278.7 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.1028, allocations: 207.5 kB / 279 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.1035, allocations: 339.2 kB / 279.3 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1037, allocations: 47.8 kB / 279.3 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000915/0.1046, allocations: 311.2 kB / 279.6 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.105, allocations: 155.5 kB / 279.8 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1052, allocations: 20 kB / 279.8 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.1053, allocations: 12 kB / 279.8 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1054, allocations: 67.73 kB / 279.9 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1056, allocations: 44 kB / 279.9 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.1061, allocations: 339.3 kB / 280.3 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1061, allocations: 0 / 280.3 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1062, allocations: 0 / 280.3 MB, free: 3.094 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1062, allocations: 0 / 280.3 MB, free: 3.094 MB / 234.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.001189/0.1074, allocations: 0.5109 MB / 280.8 MB, free: 2.531 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1074, allocations: 8.031 kB / 280.8 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.1078, allocations: 43.61 kB / 280.8 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.1084, allocations: 270.5 kB / 281.1 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1084, allocations: 20.56 kB / 281.1 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.1085, allocations: 24 kB / 281.1 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.1093, allocations: 303.6 kB / 281.4 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.1093, allocations: 7.906 kB / 281.4 MB, free: 1.801 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.1094, allocations: 15.88 kB / 281.4 MB, free: 1.785 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1094, allocations: 8 kB / 281.5 MB, free: 1.777 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.11, allocations: 197.6 kB / 281.6 MB, free: 1.582 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.1126, allocations: 1.421 MB / 283.1 MB, free: 44 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.1132, allocations: 183.1 kB / 283.2 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.1133, allocations: 8.266 kB / 283.3 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1133, allocations: 34.75 kB / 283.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.145e-06/0.1133, allocations: 0 / 283.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.004129/0.1175, allocations: 1.013 MB / 284.3 MB, free: 14.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1176, allocations: 55.41 kB / 284.4 MB, free: 14.65 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.118, allocations: 233.7 kB / 284.6 MB, free: 14.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.118, allocations: 29.7 kB / 284.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1182, allocations: 180.2 kB / 284.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1183, allocations: 90.72 kB / 284.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1184, allocations: 11.94 kB / 284.9 MB, free: 14.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1186, allocations: 338.8 kB / 285.2 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.1188, allocations: 83.97 kB / 285.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.1192, allocations: 182.7 kB / 285.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.1196, allocations: 123.9 kB / 285.6 MB, free: 13.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1196, allocations: 0 / 285.6 MB, free: 13.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00115/0.1207, allocations: 378.8 kB / 286 MB, free: 12.96 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.1208, allocations: 8 kB / 286 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1208, allocations: 4 kB / 286 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.1212, allocations: 57.67 kB / 286 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.1218, allocations: 67.91 kB / 286.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.125, allocations: 2.686 MB / 288.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.1255, allocations: 35.97 kB / 288.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.1256, allocations: 15.94 kB / 288.8 MB, free: 9.812 MB / 250.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.0002684/0.1259, allocations: 149.7 kB / 289 MB, free: 9.656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.126, allocations: 31.7 kB / 289 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1261, allocations: 30.19 kB / 289 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.1261, allocations: 7.953 kB / 289.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1261, allocations: 0 / 289.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009883/0.1271, allocations: 0.563 MB / 289.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.1287, allocations: 0.7032 MB / 290.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1288, allocations: 0 / 290.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.1292, allocations: 47.97 kB / 290.4 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.1295, allocations: 52.83 kB / 290.4 MB, free: 8.066 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.1296, allocations: 4 kB / 290.4 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.1313, allocations: 1.397 MB / 291.8 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1313, allocations: 3.953 kB / 291.8 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1325, allocations: 482.6 kB / 292.3 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1326, allocations: 100.9 kB / 292.4 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.1327, allocations: 15.98 kB / 292.4 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.1331, allocations: 11.98 kB / 292.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.1332, allocations: 19.91 kB / 292.4 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.1332, allocations: 12 kB / 292.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002814/0.1335, allocations: 186 kB / 292.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1335, allocations: 0 / 292.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005827/0.1341, allocations: 92 kB / 292.7 MB, free: 5.582 MB / 250.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.0001868/0.1343, allocations: 103.2 kB / 292.8 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.1355, allocations: 469.8 kB / 293.3 MB, free: 4.988 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1355, allocations: 0 / 293.3 MB, free: 4.988 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.1361, allocations: 234.5 kB / 293.5 MB, free: 4.746 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.1377, allocations: 156.4 kB / 293.7 MB, free: 4.594 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1398, allocations: 0.8118 MB / 294.5 MB, free: 3.758 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.1403, allocations: 0.7687 MB / 295.2 MB, free: 2.965 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.1408, allocations: 50.95 kB / 295.3 MB, free: 2.914 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1409, allocations: 27.44 kB / 295.3 MB, free: 2.891 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.141, allocations: 0 / 295.3 MB, free: 2.891 MB / 250.7 MB Notification: Performance of Templates: time 0.2234/0.3644, allocations: 5.206 MB / 300.5 MB, free: 30.72 MB / 250.7 MB