Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.866e-05, allocations: 4.625 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.465, allocations: 430.4 MB / 0.821 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.465, allocations: 93.06 kB / 0.8211 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4079/1.873, allocations: 135.9 MB / 0.9537 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.609e-06/1.873, allocations: 0 / 0.9537 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.257e-05/1.873, allocations: 27.92 kB / 0.9538 GB, free: 79.19 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.00206/1.875, allocations: 0.8921 MB / 0.9546 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.875, allocations: 12.03 kB / 0.9547 GB, free: 78.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/1.876, allocations: 83.16 kB / 0.9547 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.877, allocations: 0.5443 MB / 0.9553 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.877, allocations: 108.3 kB / 0.9554 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.877, allocations: 44 kB / 0.9554 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/1.879, allocations: 0.796 MB / 0.9562 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/1.879, allocations: 4 kB / 0.9562 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.879, allocations: 27.98 kB / 0.9562 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.916e-05/1.879, allocations: 40.97 kB / 0.9563 GB, free: 76.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/1.88, allocations: 0.607 MB / 0.9568 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/1.885, allocations: 3.663 MB / 0.9604 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/1.886, allocations: 392.7 kB / 0.9608 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/1.887, allocations: 189.5 kB / 0.961 GB, free: 71.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005174/1.887, allocations: 0.7366 MB / 0.9617 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.887, allocations: 42.83 kB / 0.9617 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.304e-06/1.887, allocations: 0 / 0.9617 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003564/1.891, allocations: 1.37 MB / 0.9631 GB, free: 69.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.891, allocations: 132.5 kB / 0.9632 GB, free: 68.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/1.892, allocations: 0.5047 MB / 0.9637 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/1.892, allocations: 33.7 kB / 0.9637 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/1.892, allocations: 355 kB / 0.9641 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.892, allocations: 161.7 kB / 0.9642 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/1.892, allocations: 12 kB / 0.9642 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.892, allocations: 374.8 kB / 0.9646 GB, free: 67.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/1.893, allocations: 205.5 kB / 0.9648 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/1.893, allocations: 497 kB / 0.9653 GB, free: 66.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/1.894, allocations: 301.4 kB / 0.9655 GB, free: 66.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.078e-06/1.894, allocations: 4 kB / 0.9656 GB, free: 66.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002023/1.896, allocations: 0.8549 MB / 0.9664 GB, free: 65.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/1.896, allocations: 11.59 kB / 0.9664 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.896, allocations: 8.906 kB / 0.9664 GB, free: 65.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/1.898, allocations: 280.6 kB / 0.9667 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/1.898, allocations: 123.8 kB / 0.9668 GB, free: 65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/1.9, allocations: 0.8722 MB / 0.9676 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/1.9, allocations: 55.94 kB / 0.9677 GB, free: 64.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/1.901, allocations: 35.98 kB / 0.9677 GB, free: 64.01 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/1.901, allocations: 156.7 kB / 0.9679 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.901, allocations: 71.2 kB / 0.9679 GB, free: 63.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/1.902, allocations: 0.7408 MB / 0.9687 GB, free: 63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.902, allocations: 15.98 kB / 0.9687 GB, free: 62.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.35e-06/1.903, allocations: 0 / 0.9687 GB, free: 62.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.71e-06/1.903, allocations: 3.938 kB / 0.9687 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/1.905, allocations: 1.387 MB / 0.97 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.034e-06/1.905, allocations: 4 kB / 0.97 GB, free: 61.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.906, allocations: 195.8 kB / 0.9702 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/1.907, allocations: 24.84 kB / 0.9703 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/1.907, allocations: 20.17 kB / 0.9703 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/1.908, allocations: 2.688 MB / 0.9729 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.569e-06/1.909, allocations: 7.969 kB / 0.9729 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/1.91, allocations: 1.041 MB / 0.9739 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/1.911, allocations: 208.1 kB / 0.9741 GB, free: 56.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.911, allocations: 15.98 kB / 0.9741 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/1.912, allocations: 28.05 kB / 0.9742 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.912, allocations: 35.95 kB / 0.9742 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/1.912, allocations: 23.98 kB / 0.9742 GB, free: 56.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006211/1.912, allocations: 403.1 kB / 0.9746 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/1.913, allocations: 0 / 0.9746 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001205/1.914, allocations: 247.9 kB / 0.9748 GB, free: 56.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007871/1.915, allocations: 385.6 kB / 0.9752 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001585/1.916, allocations: 0.5595 MB / 0.9758 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.016e-06/1.916, allocations: 0 / 0.9758 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.917, allocations: 425.4 kB / 0.9762 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/1.92, allocations: 334.2 kB / 0.9765 GB, free: 54.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/1.922, allocations: 0.9829 MB / 0.9774 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/1.922, allocations: 0.9505 MB / 0.9784 GB, free: 52.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001091/1.923, allocations: 209.7 kB / 0.9786 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/1.924, allocations: 63.42 kB / 0.9786 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.956e-06/1.924, allocations: 0 / 0.9786 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of Templates: time 0.03362/1.957, allocations: 15.27 MB / 0.9935 GB, free: 37.13 MB / 0.5261 GB