Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.312e-05, allocations: 0 / 348.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 61.87 MB / 410.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.514, allocations: 422.7 MB / 0.8135 GB, free: 106 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.515, allocations: 94.38 kB / 0.8136 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6557/2.17, allocations: 121.7 MB / 0.9324 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.575e-06/2.17, allocations: 0 / 0.9324 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.883e-05/2.17, allocations: 16.72 kB / 0.9324 GB, free: 144.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002356/2.173, allocations: 0.9799 MB / 0.9334 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/2.173, allocations: 12.03 kB / 0.9334 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/2.173, allocations: 84.28 kB / 0.9335 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/2.175, allocations: 0.5318 MB / 0.934 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/2.175, allocations: 103.6 kB / 0.9341 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/2.175, allocations: 60.02 kB / 0.9342 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/2.176, allocations: 0.8045 MB / 0.9349 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/2.177, allocations: 6.531 kB / 0.935 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/2.177, allocations: 26.33 kB / 0.935 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-05/2.177, allocations: 40.91 kB / 0.935 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/2.178, allocations: 0.6042 MB / 0.9356 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005378/2.183, allocations: 3.921 MB / 0.9394 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/2.184, allocations: 390.7 kB / 0.9398 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/2.185, allocations: 193.2 kB / 0.94 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/2.185, allocations: 0.5031 MB / 0.9405 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/2.185, allocations: 41.8 kB / 0.9405 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.641e-06/2.185, allocations: 0 / 0.9405 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003573/2.189, allocations: 1.337 MB / 0.9418 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/2.189, allocations: 132.5 kB / 0.942 GB, free: 140 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/2.19, allocations: 0.4906 MB / 0.9424 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/2.19, allocations: 40.33 kB / 0.9425 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/2.19, allocations: 356.1 kB / 0.9428 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/2.19, allocations: 163.3 kB / 0.943 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/2.19, allocations: 13.25 kB / 0.943 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001223/2.191, allocations: 378.7 kB / 0.9433 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/2.191, allocations: 210.2 kB / 0.9435 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/2.192, allocations: 0.4957 MB / 0.944 GB, free: 139 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/2.192, allocations: 310.5 kB / 0.9443 GB, free: 139 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.647e-06/2.192, allocations: 3.469 kB / 0.9443 GB, free: 139 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002402/2.195, allocations: 0.882 MB / 0.9452 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/2.195, allocations: 14.56 kB / 0.9452 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/2.195, allocations: 6.781 kB / 0.9452 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/2.196, allocations: 264.5 kB / 0.9455 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/2.197, allocations: 126.5 kB / 0.9456 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/2.198, allocations: 0.853 MB / 0.9464 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/2.199, allocations: 51.05 kB / 0.9465 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/2.199, allocations: 38.38 kB / 0.9465 GB, free: 138.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002199/2.199, allocations: 148.4 kB / 0.9466 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/2.199, allocations: 67.53 kB / 0.9467 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/2.201, allocations: 0.6966 MB / 0.9474 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/2.201, allocations: 7.781 kB / 0.9474 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.217e-06/2.201, allocations: 0 / 0.9474 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.554e-06/2.201, allocations: 3.891 kB / 0.9474 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/2.204, allocations: 1.36 MB / 0.9487 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/2.204, allocations: 9.297 kB / 0.9487 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/2.205, allocations: 195.8 kB / 0.9489 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/2.205, allocations: 64.95 kB / 0.949 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/2.205, allocations: 16.98 kB / 0.949 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/2.208, allocations: 2.769 MB / 0.9517 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.827e-06/2.208, allocations: 6.5 kB / 0.9517 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/2.209, allocations: 1.041 MB / 0.9527 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/2.21, allocations: 208.2 kB / 0.9529 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/2.21, allocations: 17.23 kB / 0.9529 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/2.211, allocations: 29.41 kB / 0.953 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.211, allocations: 43.36 kB / 0.953 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/2.211, allocations: 18.06 kB / 0.953 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005897/2.212, allocations: 387.9 kB / 0.9534 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.59e-07/2.212, allocations: 0 / 0.9534 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001163/2.213, allocations: 224.2 kB / 0.9536 GB, free: 134.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0006068/2.213, allocations: 277.1 kB / 0.9539 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001366/2.215, allocations: 0.5702 MB / 0.9544 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.884e-06/2.215, allocations: 2.75 kB / 0.9544 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/2.216, allocations: 457.3 kB / 0.9549 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/2.218, allocations: 324.7 kB / 0.9552 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/2.22, allocations: 0.9984 MB / 0.9562 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/2.221, allocations: 0.9567 MB / 0.9571 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001045/2.222, allocations: 206.1 kB / 0.9573 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/2.222, allocations: 54.8 kB / 0.9573 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.944e-06/2.222, allocations: 0 / 0.9573 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.03147/2.253, allocations: 13.65 MB / 0.9707 GB, free: 132.7 MB / 0.5261 GB