Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.822/1.822, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.502e-05, allocations: 7.906 kB / 258.8 MB, free: 7.871 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2865, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.08163/0.3682, allocations: 51.28 MB / 354.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04576/0.414, allocations: 18.12 MB / 372.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.4161, allocations: 47.62 kB / 372.8 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.4187, allocations: 0.5246 MB / 373.3 MB, free: 7.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02053/0.4392, allocations: 4.338 MB / 377.6 MB, free: 3.098 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009062/0.4483, allocations: 2.414 MB / 380 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02985/0.4782, allocations: 12.36 MB / 392.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.4794, allocations: 488.4 kB / 392.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.4817, allocations: 0.8375 MB / 393.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.4831, allocations: 0.5959 MB / 394.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01949/0.5026, allocations: 6.965 MB / 401.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002908/0.5055, allocations: 452 kB / 401.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.5062, allocations: 219.1 kB / 401.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.5068, allocations: 152 kB / 402.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009567/0.5164, allocations: 3.699 MB / 405.8 MB, free: 6.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5164, allocations: 0 / 405.8 MB, free: 6.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5164, allocations: 0 / 405.8 MB, free: 6.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.412e-05/0.5165, allocations: 0 / 405.8 MB, free: 6.902 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.007923/0.5244, allocations: 2.066 MB / 407.8 MB, free: 4.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5245, allocations: 8.031 kB / 407.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006865/0.5314, allocations: 0.6539 MB / 408.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.5343, allocations: 0.9883 MB / 409.5 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.5345, allocations: 74.02 kB / 409.6 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.5347, allocations: 100 kB / 409.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005195/0.5399, allocations: 1.655 MB / 411.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/0.54, allocations: 7.938 kB / 411.3 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.5402, allocations: 44 kB / 411.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.5402, allocations: 28 kB / 411.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005164/0.5454, allocations: 1.448 MB / 412.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.5586, allocations: 8.141 MB / 421 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007494/0.5662, allocations: 1.672 MB / 422.7 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5318/1.098, allocations: 81.41 MB / 0.4923 GB, free: 35.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/1.098, allocations: 47.06 kB / 0.4923 GB, free: 35.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 4.699e-06/1.098, allocations: 2.625 kB / 0.4923 GB, free: 35.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=77): time 0.008178/1.106, allocations: 1.932 MB / 0.4942 GB, free: 33.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/1.106, allocations: 192.5 kB / 0.4944 GB, free: 33.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.108, allocations: 0.7181 MB / 0.4951 GB, free: 32.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001512/1.108, allocations: 37.7 kB / 0.4951 GB, free: 32.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000443/1.108, allocations: 0.6158 MB / 0.4957 GB, free: 31.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/1.109, allocations: 274.5 kB / 0.496 GB, free: 31.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/1.109, allocations: 24 kB / 0.496 GB, free: 31.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/1.109, allocations: 353.9 kB / 0.4963 GB, free: 31.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/1.11, allocations: 293.1 kB / 0.4966 GB, free: 31.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/1.111, allocations: 0.8057 MB / 0.4974 GB, free: 29.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.112, allocations: 431.7 kB / 0.4978 GB, free: 29.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/1.112, allocations: 4 kB / 0.4978 GB, free: 29.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003454/1.115, allocations: 1.302 MB / 0.4991 GB, free: 28.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/1.115, allocations: 12 kB / 0.4991 GB, free: 28.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.115, allocations: 16.91 kB / 0.4991 GB, free: 28.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00569/1.121, allocations: 0.5331 MB / 0.4996 GB, free: 27.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/1.123, allocations: 299.5 kB / 0.4999 GB, free: 27.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/1.125, allocations: 1.372 MB / 0.5013 GB, free: 25.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.126, allocations: 162.7 kB / 0.5014 GB, free: 25.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.126, allocations: 71.98 kB / 0.5015 GB, free: 25.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.000596/1.127, allocations: 296 kB / 0.5018 GB, free: 25.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/1.127, allocations: 106.7 kB / 0.5019 GB, free: 25.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006596/1.134, allocations: 4.491 MB / 0.5063 GB, free: 20.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.237e-05/1.134, allocations: 47.89 kB / 0.5063 GB, free: 20.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.134, allocations: 4 kB / 0.5063 GB, free: 20.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.134, allocations: 11.91 kB / 0.5063 GB, free: 20.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007044/1.141, allocations: 4.839 MB / 0.511 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.141, allocations: 4 kB / 0.511 GB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.142, allocations: 170.6 kB / 0.5112 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/1.149, allocations: 1.59 MB / 0.5128 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.149, allocations: 23.98 kB / 0.5128 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/1.151, allocations: 1.743 MB / 0.5145 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.151, allocations: 7.984 kB / 0.5145 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/1.154, allocations: 1.993 MB / 0.5164 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005324/1.154, allocations: 325.9 kB / 0.5167 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/1.155, allocations: 16 kB / 0.5168 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/1.156, allocations: 59.86 kB / 0.5168 GB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.156, allocations: 64.19 kB / 0.5169 GB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/1.156, allocations: 27.98 kB / 0.5169 GB, free: 9.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001073/1.157, allocations: 0.628 MB / 0.5175 GB, free: 9.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.157, allocations: 0 / 0.5175 GB, free: 9.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004123/1.161, allocations: 1.238 MB / 0.5187 GB, free: 7.887 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006696/1.168, allocations: 1.252 MB / 0.52 GB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003781/1.172, allocations: 1.252 MB / 0.5212 GB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.172, allocations: 0 / 0.5212 GB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/1.174, allocations: 0.9072 MB / 0.5221 GB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004651/1.179, allocations: 0.5397 MB / 0.5226 GB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/1.186, allocations: 3.893 MB / 0.5264 GB, free: 304 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.187, allocations: 1.359 MB / 0.5277 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002407/1.189, allocations: 0.5966 MB / 0.5283 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/1.19, allocations: 119.4 kB / 0.5284 GB, free: 14.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/1.19, allocations: 0 / 0.5284 GB, free: 14.18 MB / 378.7 MB Notification: Performance of Templates: time 0.1071/1.297, allocations: 42.58 MB / 0.57 GB, free: 3.586 MB / 410.7 MB