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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 2.187/2.187, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.894e-05, allocations: 3.984 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01739/0.3119, allocations: 10.19 MB / 313.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003067/0.315, allocations: 1.31 MB / 314.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.3155, allocations: 7.938 kB / 314.8 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.3161, allocations: 135.4 kB / 314.9 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006625/0.3168, allocations: 187.4 kB / 315.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.3178, allocations: 215.6 kB / 315.3 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008293/0.3186, allocations: 335.2 kB / 315.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3188, allocations: 39.95 kB / 315.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009816/0.3198, allocations: 319.1 kB / 316 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.3202, allocations: 159.5 kB / 316.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3204, allocations: 20 kB / 316.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.3205, allocations: 15.98 kB / 316.2 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3207, allocations: 67.73 kB / 316.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.3208, allocations: 40 kB / 316.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.3214, allocations: 344.9 kB / 316.6 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3214, allocations: 0 / 316.6 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3214, allocations: 4 kB / 316.6 MB, free: 340 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3215, allocations: 0 / 316.6 MB, free: 340 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.001127/0.3226, allocations: 0.4945 MB / 317.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3227, allocations: 12.03 kB / 317.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.3231, allocations: 39.62 kB / 317.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.3236, allocations: 282.4 kB / 317.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3237, allocations: 16.56 kB / 317.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.3237, allocations: 24 kB / 317.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.3245, allocations: 303.7 kB / 317.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3245, allocations: 0 / 317.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.3246, allocations: 12 kB / 317.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3246, allocations: 8 kB / 317.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.3251, allocations: 193.5 kB / 318 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.3278, allocations: 1.44 MB / 319.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.3283, allocations: 171.2 kB / 319.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.3284, allocations: 4.188 kB / 319.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.3284, allocations: 42.69 kB / 319.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.316e-06/0.3284, allocations: 4 kB / 319.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.004029/0.3325, allocations: 0.9969 MB / 320.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3326, allocations: 63.3 kB / 320.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.333, allocations: 233.6 kB / 321 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.333, allocations: 33.7 kB / 321 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3332, allocations: 226.7 kB / 321.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3333, allocations: 98.64 kB / 321.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.3334, allocations: 4 kB / 321.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3335, allocations: 326.8 kB / 321.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.3338, allocations: 83.97 kB / 321.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.3341, allocations: 167.1 kB / 321.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.3345, allocations: 119.9 kB / 322 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3345, allocations: 4 kB / 322 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001096/0.3356, allocations: 362.9 kB / 322.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.3357, allocations: 10.05 kB / 322.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3357, allocations: 8 kB / 322.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.3361, allocations: 61.67 kB / 322.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.3366, allocations: 63.91 kB / 322.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.34, allocations: 2.693 MB / 325.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.3405, allocations: 23.92 kB / 325.2 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.3406, allocations: 15.94 kB / 325.2 MB, free: 7.07 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.0002606/0.3408, allocations: 157.8 kB / 325.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.3409, allocations: 31.58 kB / 325.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.341, allocations: 38.17 kB / 325.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.3411, allocations: 4 kB / 325.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3411, allocations: 0 / 325.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.3421, allocations: 0.5593 MB / 326 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.3439, allocations: 0.7026 MB / 326.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3439, allocations: 0 / 326.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.3443, allocations: 47.97 kB / 326.8 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/0.3447, allocations: 52.73 kB / 326.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.3448, allocations: 15.98 kB / 326.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.3466, allocations: 1.39 MB / 328.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3466, allocations: 0 / 328.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.3479, allocations: 474.9 kB / 328.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.3481, allocations: 104.7 kB / 328.8 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.413e-05/0.3482, allocations: 8 kB / 328.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.3486, allocations: 20.11 kB / 328.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.3487, allocations: 15.97 kB / 328.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.3487, allocations: 12 kB / 328.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.349, allocations: 182 kB / 329 MB, free: 2.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.349, allocations: 0 / 329 MB, free: 2.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006366/0.3497, allocations: 96 kB / 329.1 MB, free: 2.848 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.0002199/0.3499, allocations: 111.2 kB / 329.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3511, allocations: 474 kB / 329.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3512, allocations: 4 kB / 329.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006299/0.3518, allocations: 242.4 kB / 329.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.3534, allocations: 152.4 kB / 330.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3556, allocations: 0.8368 MB / 330.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.356, allocations: 0.7723 MB / 331.7 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.3562, allocations: 27.44 kB / 331.7 MB, free: 156 kB / 266.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3562, allocations: 4 kB / 331.7 MB, free: 152 kB / 266.7 MB Notification: Performance of Templates: time 0.0139/0.3702, allocations: 5.713 MB / 337.4 MB, free: 10.43 MB / 282.7 MB