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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 234.9 MB / 249.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.898e-05, allocations: 4 kB / 308 MB, free: 312 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3771, allocations: 54.86 MB / 362.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.08276/0.4599, allocations: 51.31 MB / 414.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03698/0.497, allocations: 18.12 MB / 432.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.499, allocations: 43.62 kB / 432.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.5014, allocations: 0.5207 MB / 432.9 MB, free: 5.668 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01761/0.519, allocations: 4.338 MB / 437.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.5295, allocations: 2.411 MB / 439.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03551/0.565, allocations: 12.34 MB / 452 MB, free: 2.551 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.5663, allocations: 463.5 kB / 452.4 MB, free: 2.094 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.5689, allocations: 0.8024 MB / 453.2 MB, free: 1.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.5704, allocations: 0.5646 MB / 453.8 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02197/0.5924, allocations: 6.95 MB / 460.7 MB, free: 9.766 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0029/0.5954, allocations: 443.9 kB / 461.2 MB, free: 9.332 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.5959, allocations: 215.1 kB / 461.4 MB, free: 9.121 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.5965, allocations: 148 kB / 461.5 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009955/0.6064, allocations: 3.668 MB / 465.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6065, allocations: 0 / 465.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6065, allocations: 0 / 465.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.6065, allocations: 0 / 465.2 MB, free: 5.301 MB / 394.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.008534/0.6151, allocations: 2.043 MB / 467.2 MB, free: 3.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.6152, allocations: 12.03 kB / 467.2 MB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/0.6209, allocations: 0.5486 MB / 467.8 MB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.6235, allocations: 0.9531 MB / 468.7 MB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.6236, allocations: 66 kB / 468.8 MB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.6238, allocations: 96 kB / 468.9 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/0.6296, allocations: 1.592 MB / 470.5 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.732e-05/0.6297, allocations: 7.938 kB / 470.5 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.63, allocations: 44 kB / 470.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.63, allocations: 28 kB / 470.6 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/0.6351, allocations: 1.357 MB / 471.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.648, allocations: 7.969 MB / 479.9 MB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/0.6526, allocations: 1.635 MB / 481.5 MB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6304/1.283, allocations: 81.41 MB / 0.5498 GB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/1.283, allocations: 43 kB / 0.5498 GB, free: 34.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 4.358e-06/1.283, allocations: 0.6094 kB / 0.5498 GB, free: 34.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.007619/1.291, allocations: 1.828 MB / 0.5516 GB, free: 33.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/1.291, allocations: 188.9 kB / 0.5518 GB, free: 32.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.292, allocations: 0.713 MB / 0.5525 GB, free: 32.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/1.292, allocations: 37.7 kB / 0.5525 GB, free: 32.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/1.293, allocations: 0.6114 MB / 0.5531 GB, free: 31.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/1.293, allocations: 250.9 kB / 0.5533 GB, free: 31.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/1.293, allocations: 24 kB / 0.5533 GB, free: 31.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/1.293, allocations: 349.7 kB / 0.5537 GB, free: 30.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/1.294, allocations: 262.5 kB / 0.5539 GB, free: 30.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009341/1.295, allocations: 0.7757 MB / 0.5547 GB, free: 29.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/1.296, allocations: 397.3 kB / 0.5551 GB, free: 29.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.296, allocations: 4 kB / 0.5551 GB, free: 29.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002941/1.299, allocations: 1.205 MB / 0.5562 GB, free: 28.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/1.299, allocations: 14.19 kB / 0.5563 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.299, allocations: 20.88 kB / 0.5563 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005664/1.305, allocations: 0.539 MB / 0.5568 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.307, allocations: 281.1 kB / 0.5571 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/1.308, allocations: 1.373 MB / 0.5584 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.309, allocations: 154.7 kB / 0.5586 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.309, allocations: 73 kB / 0.5586 GB, free: 25.56 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.0005773/1.31, allocations: 286.1 kB / 0.5589 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/1.31, allocations: 113.9 kB / 0.559 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/1.317, allocations: 4.406 MB / 0.5633 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.026e-05/1.317, allocations: 47.92 kB / 0.5634 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.317, allocations: 3.938 kB / 0.5634 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.317, allocations: 7.984 kB / 0.5634 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/1.324, allocations: 4.737 MB / 0.568 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.324, allocations: 4 kB / 0.568 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.325, allocations: 151.8 kB / 0.5682 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006433/1.332, allocations: 1.606 MB / 0.5697 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.332, allocations: 20 kB / 0.5697 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/1.333, allocations: 1.755 MB / 0.5715 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.333, allocations: 0 / 0.5715 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/1.336, allocations: 1.916 MB / 0.5733 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/1.337, allocations: 322.1 kB / 0.5736 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/1.338, allocations: 12 kB / 0.5736 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/1.338, allocations: 59.81 kB / 0.5737 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/1.338, allocations: 56.38 kB / 0.5738 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/1.339, allocations: 28 kB / 0.5738 GB, free: 9.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001138/1.34, allocations: 0.6202 MB / 0.5744 GB, free: 9.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.34, allocations: 0 / 0.5744 GB, free: 9.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004576/1.344, allocations: 1.219 MB / 0.5756 GB, free: 8 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.00655/1.351, allocations: 1.257 MB / 0.5768 GB, free: 6.945 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003462/1.354, allocations: 1.17 MB / 0.5779 GB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.354, allocations: 0 / 0.5779 GB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.357, allocations: 0.8538 MB / 0.5788 GB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.361, allocations: 0.5423 MB / 0.5793 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/1.368, allocations: 3.824 MB / 0.583 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.369, allocations: 1.339 MB / 0.5844 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002292/1.371, allocations: 0.5798 MB / 0.5849 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/1.372, allocations: 107.4 kB / 0.585 GB, free: 14.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/1.372, allocations: 0 / 0.585 GB, free: 14.57 MB / 426.7 MB Notification: Performance of Templates: time 0.1106/1.483, allocations: 41.72 MB / 0.6258 GB, free: 4.867 MB / 458.7 MB