Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|leftBoundary1.ports.1..m_flow|leftBoundary1.ports.1..p|leftBoundary1.ports.1..h_outflow|rightBoundary1.ports.1..m_flow|rightBoundary1.ports.1..p|rightBoundary1.ports.1..h_outflow|suddenExpansion1.port_b.m_flow|suddenExpansion1.port_b.p|suddenExpansion1.port_b.h_outflow|leftBoundary2.ports.1..m_flow|leftBoundary2.ports.1..p|leftBoundary2.ports.1..h_outflow|rightBoundary2.ports.1..m_flow|rightBoundary2.ports.1..p|rightBoundary2.ports.1..h_outflow|suddenExpansion2.port_b.m_flow|suddenExpansion2.port_b.p|suddenExpansion2.port_b.h_outflow|leftAdapter.port_b.m_flow|leftAdapter.port_b.p|leftAdapter.port_b.h_outflow|rightAdapter.port_b.m_flow|rightAdapter.port_b.p|rightAdapter.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.98e-05, allocations: 0 / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3718, allocations: 48.7 MB / 324.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.08802/0.4599, allocations: 50.93 MB / 375.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03638/0.4964, allocations: 17.95 MB / 393.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.4988, allocations: 43.62 kB / 393.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.5018, allocations: 0.5247 MB / 394.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01877/0.5206, allocations: 4.296 MB / 398.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009495/0.5301, allocations: 2.364 MB / 401 MB, free: 3.238 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03144/0.5616, allocations: 12.18 MB / 413.2 MB, free: 7.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.563, allocations: 447.5 kB / 413.6 MB, free: 6.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.5659, allocations: 0.7869 MB / 414.4 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.5675, allocations: 0.5568 MB / 415 MB, free: 5.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02086/0.5884, allocations: 6.825 MB / 421.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003235/0.5917, allocations: 432 kB / 422.2 MB, free: 14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006123/0.5924, allocations: 211.1 kB / 422.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.593, allocations: 148 kB / 422.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.6033, allocations: 3.621 MB / 426.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6034, allocations: 0 / 426.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.6034, allocations: 4 kB / 426.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.907e-05/0.6035, allocations: 3.938 kB / 426.2 MB, free: 10.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.007905/0.6114, allocations: 1.953 MB / 428.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.6115, allocations: 8.031 kB / 428.1 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/0.6171, allocations: 0.5174 MB / 428.7 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.6197, allocations: 0.9453 MB / 429.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.6198, allocations: 78 kB / 429.7 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.6201, allocations: 96 kB / 429.8 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005393/0.6255, allocations: 1.592 MB / 431.4 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.6256, allocations: 7.938 kB / 431.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.6258, allocations: 44 kB / 431.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.6258, allocations: 28 kB / 431.4 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/0.6311, allocations: 1.354 MB / 432.8 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.6441, allocations: 7.957 MB / 440.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/0.6488, allocations: 1.636 MB / 442.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5986/1.247, allocations: 81.37 MB / 0.5115 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/1.248, allocations: 39 kB / 0.5115 GB, free: 103.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.687e-06/1.248, allocations: 0 / 0.5115 GB, free: 103.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.007811/1.255, allocations: 1.82 MB / 0.5133 GB, free: 102.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/1.256, allocations: 188.4 kB / 0.5135 GB, free: 101.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/1.257, allocations: 0.7148 MB / 0.5142 GB, free: 101.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.257, allocations: 40.42 kB / 0.5142 GB, free: 101.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/1.257, allocations: 0.6015 MB / 0.5148 GB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/1.258, allocations: 261.6 kB / 0.5151 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/1.258, allocations: 24 kB / 0.5151 GB, free: 100.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/1.258, allocations: 345.9 kB / 0.5154 GB, free: 99.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/1.259, allocations: 262.5 kB / 0.5157 GB, free: 99.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/1.259, allocations: 0.7732 MB / 0.5164 GB, free: 98.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/1.26, allocations: 388.5 kB / 0.5168 GB, free: 98.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.26, allocations: 8 kB / 0.5168 GB, free: 98.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002754/1.263, allocations: 1.213 MB / 0.518 GB, free: 97.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.263, allocations: 12 kB / 0.518 GB, free: 97.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.263, allocations: 19.98 kB / 0.518 GB, free: 96.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/1.269, allocations: 0.5309 MB / 0.5185 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.271, allocations: 291.5 kB / 0.5188 GB, free: 96.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/1.272, allocations: 1.359 MB / 0.5201 GB, free: 94.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.273, allocations: 163.1 kB / 0.5203 GB, free: 94.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/1.274, allocations: 68 kB / 0.5203 GB, free: 94.55 MB / 410.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 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.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 (129): * Single equations (assignments): 127 * 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.0005725/1.274, allocations: 296 kB / 0.5206 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/1.274, allocations: 107.7 kB / 0.5207 GB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/1.28, allocations: 4.389 MB / 0.525 GB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/1.281, allocations: 47.92 kB / 0.5251 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.281, allocations: 0 / 0.5251 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/1.281, allocations: 7.938 kB / 0.5251 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/1.287, allocations: 4.745 MB / 0.5297 GB, free: 84.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.287, allocations: 0 / 0.5297 GB, free: 84.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.288, allocations: 147.8 kB / 0.5298 GB, free: 84.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006405/1.295, allocations: 1.618 MB / 0.5314 GB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.295, allocations: 20 kB / 0.5314 GB, free: 83.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/1.297, allocations: 1.747 MB / 0.5332 GB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.297, allocations: 0 / 0.5332 GB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/1.299, allocations: 1.92 MB / 0.535 GB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/1.3, allocations: 322.1 kB / 0.5353 GB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/1.3, allocations: 16 kB / 0.5353 GB, free: 78.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/1.301, allocations: 55.81 kB / 0.5354 GB, free: 78.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.301, allocations: 52.48 kB / 0.5355 GB, free: 78.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/1.301, allocations: 24 kB / 0.5355 GB, free: 78.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001083/1.303, allocations: 0.6202 MB / 0.5361 GB, free: 78.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.303, allocations: 0 / 0.5361 GB, free: 78.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004565/1.307, allocations: 1.21 MB / 0.5373 GB, free: 77.02 MB / 410.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 (73): * Single equations (assignments): 63 * 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.009023/1.316, allocations: 1.255 MB / 0.5385 GB, free: 75.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005112/1.321, allocations: 1.167 MB / 0.5396 GB, free: 74.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.321, allocations: 4 kB / 0.5396 GB, free: 74.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/1.324, allocations: 0.8567 MB / 0.5405 GB, free: 73.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/1.329, allocations: 0.5374 MB / 0.541 GB, free: 73.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/1.335, allocations: 3.823 MB / 0.5447 GB, free: 69.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/1.336, allocations: 1.351 MB / 0.546 GB, free: 68.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001849/1.337, allocations: 0.5846 MB / 0.5466 GB, free: 67.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/1.338, allocations: 111.4 kB / 0.5467 GB, free: 67.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.338, allocations: 0 / 0.5467 GB, free: 67.57 MB / 410.7 MB Notification: Performance of Templates: time 0.08742/1.425, allocations: 41.55 MB / 0.5873 GB, free: 26.08 MB / 410.7 MB