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.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.798/1.798, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.89e-05, allocations: 8 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2841, allocations: 44.49 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01509/0.2992, allocations: 10.18 MB / 313.5 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.302, allocations: 1.317 MB / 314.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.3023, allocations: 3.938 kB / 314.8 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.3028, allocations: 135.3 kB / 315 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.3034, allocations: 191.4 kB / 315.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.3042, allocations: 215.5 kB / 315.4 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.3048, allocations: 335.3 kB / 315.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.305, allocations: 43.94 kB / 315.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007664/0.3057, allocations: 311.1 kB / 316 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.3061, allocations: 163.5 kB / 316.2 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.3063, allocations: 16 kB / 316.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.3063, allocations: 12 kB / 316.2 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3065, allocations: 67.8 kB / 316.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3066, allocations: 40 kB / 316.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.3071, allocations: 345.4 kB / 316.7 MB, free: 232 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3071, allocations: 0 / 316.7 MB, free: 232 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3071, allocations: 0 / 316.7 MB, free: 232 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3072, allocations: 4 kB / 316.7 MB, free: 228 kB / 250.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.001042/0.3082, allocations: 0.4984 MB / 317.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3083, allocations: 8.031 kB / 317.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.3086, allocations: 47.61 kB / 317.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.3091, allocations: 274.4 kB / 317.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.3091, allocations: 20.56 kB / 317.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.3092, allocations: 24 kB / 317.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.3099, allocations: 295.7 kB / 317.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.31, allocations: 4 kB / 317.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.31, allocations: 12 kB / 317.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.31, allocations: 8 kB / 317.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.3106, allocations: 197.5 kB / 318 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.3129, allocations: 1.432 MB / 319.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.3133, allocations: 179.1 kB / 319.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.3134, allocations: 4.266 kB / 319.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3134, allocations: 38.69 kB / 319.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/0.3134, allocations: 4 kB / 319.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003765/0.3172, allocations: 1.005 MB / 320.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3173, allocations: 55.36 kB / 320.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.3177, allocations: 237.6 kB / 321 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.3177, allocations: 29.7 kB / 321 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3179, allocations: 176.2 kB / 321.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.318, allocations: 90.64 kB / 321.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.318, allocations: 12 kB / 321.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3182, allocations: 334.8 kB / 321.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3184, allocations: 83.97 kB / 321.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.3187, allocations: 171.1 kB / 321.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.3191, allocations: 115.9 kB / 322 MB, free: 10.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3191, allocations: 0 / 322 MB, free: 10.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001057/0.3201, allocations: 378.7 kB / 322.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3202, allocations: 13.67 kB / 322.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3202, allocations: 4.375 kB / 322.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.3206, allocations: 65.66 kB / 322.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.3211, allocations: 67.91 kB / 322.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.324, allocations: 2.686 MB / 325.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.3244, allocations: 23.92 kB / 325.2 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.3245, allocations: 16 kB / 325.2 MB, free: 6.984 MB / 266.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.0002279/0.3247, allocations: 153.8 kB / 325.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.3248, allocations: 35.66 kB / 325.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.3249, allocations: 30.19 kB / 325.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3249, allocations: 4 kB / 325.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.325, allocations: 0 / 325.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008592/0.3258, allocations: 0.5631 MB / 326 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.3273, allocations: 0.7066 MB / 326.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3274, allocations: 0 / 326.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.3277, allocations: 47.91 kB / 326.8 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.3281, allocations: 56.64 kB / 326.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3282, allocations: 7.953 kB / 326.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3297, allocations: 1.39 MB / 328.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3297, allocations: 4.062 kB / 328.2 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3308, allocations: 486.7 kB / 328.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3309, allocations: 101.1 kB / 328.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.331, allocations: 8 kB / 328.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.3314, allocations: 12.06 kB / 328.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3315, allocations: 19.95 kB / 328.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.3315, allocations: 12 kB / 328.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.3318, allocations: 182 kB / 329 MB, free: 2.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3318, allocations: 0 / 329 MB, free: 2.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.3324, allocations: 92 kB / 329.1 MB, free: 2.762 MB / 266.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.0001665/0.3326, allocations: 115.1 kB / 329.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3337, allocations: 478 kB / 329.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3337, allocations: 0 / 329.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.3343, allocations: 242.5 kB / 329.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.3358, allocations: 152.4 kB / 330.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3375, allocations: 0.8031 MB / 330.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3379, allocations: 0.7684 MB / 331.6 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004806/0.3384, allocations: 50.95 kB / 331.7 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3385, allocations: 31.42 kB / 331.7 MB, free: 52 kB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3385, allocations: 0 / 331.7 MB, free: 52 kB / 266.7 MB Notification: Performance of Templates: time 0.01514/0.3536, allocations: 5.212 MB / 336.9 MB, free: 10.85 MB / 282.7 MB