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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.035e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.4145/0.5463, allocations: 51.59 MB / 462.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0365/0.5829, allocations: 18.17 MB / 480.7 MB, free: 368 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.585, allocations: 38.34 kB / 480.7 MB, free: 348 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.5876, allocations: 0.5223 MB / 481.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.6053, allocations: 4.355 MB / 485.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009903/0.6153, allocations: 2.422 MB / 488 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0303/0.6456, allocations: 12.33 MB / 0.4886 GB, free: 14.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.6468, allocations: 459.7 kB / 0.4891 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.6493, allocations: 0.8102 MB / 0.4899 GB, free: 12.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.6508, allocations: 0.5646 MB / 0.4904 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02042/0.6712, allocations: 6.95 MB / 0.4972 GB, free: 5.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003045/0.6743, allocations: 448 kB / 0.4976 GB, free: 4.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005839/0.6749, allocations: 211.2 kB / 0.4978 GB, free: 4.703 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.6756, allocations: 148 kB / 0.498 GB, free: 4.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.6858, allocations: 3.683 MB / 0.5016 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6859, allocations: 0 / 0.5016 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6859, allocations: 0 / 0.5016 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.942e-05/0.6859, allocations: 0 / 0.5016 GB, free: 0.8672 MB / 410.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.00825/0.6942, allocations: 2.051 MB / 0.5036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.6943, allocations: 12.02 kB / 0.5036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.7, allocations: 0.5448 MB / 0.5041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.7025, allocations: 0.9259 MB / 0.505 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/0.7027, allocations: 74 kB / 0.5051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.7029, allocations: 92 kB / 0.5052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/0.7083, allocations: 1.6 MB / 0.5067 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.7084, allocations: 7.938 kB / 0.5067 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.7086, allocations: 47.94 kB / 0.5068 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.7086, allocations: 28 kB / 0.5068 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005115/0.7138, allocations: 1.361 MB / 0.5082 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/0.7288, allocations: 8.259 MB / 0.5162 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004519/0.7334, allocations: 1.657 MB / 0.5178 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2533/0.9867, allocations: 63.97 MB / 0.5803 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.9868, allocations: 42.94 kB / 0.5803 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=69): time 3.396e-06/0.9868, allocations: 0 / 0.5803 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69): time 0.008694/0.9955, allocations: 1.874 MB / 0.5822 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.9957, allocations: 192.3 kB / 0.5824 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.9975, allocations: 0.8261 MB / 0.5832 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.9977, allocations: 41.7 kB / 0.5832 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/0.9983, allocations: 0.5595 MB / 0.5838 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.9987, allocations: 252.5 kB / 0.584 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.9988, allocations: 20 kB / 0.584 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.999, allocations: 350.8 kB / 0.5844 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/0.9998, allocations: 262.5 kB / 0.5846 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/1.001, allocations: 0.7003 MB / 0.5853 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/1.002, allocations: 383.5 kB / 0.5856 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/1.002, allocations: 4 kB / 0.5857 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003127/1.005, allocations: 1.087 MB / 0.5867 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/1.005, allocations: 20.02 kB / 0.5867 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/1.005, allocations: 16 kB / 0.5867 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/1.011, allocations: 0.5192 MB / 0.5873 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/1.013, allocations: 259.6 kB / 0.5875 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.015, allocations: 1.38 MB / 0.5889 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.017, allocations: 146.8 kB / 0.589 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/1.017, allocations: 67.98 kB / 0.5891 GB, free: 14.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (116): * Single equations (assignments): 114 * 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.0007093/1.017, allocations: 296 kB / 0.5893 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/1.018, allocations: 122.6 kB / 0.5895 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007813/1.026, allocations: 4.413 MB / 0.5938 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.006e-05/1.026, allocations: 39.94 kB / 0.5938 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.026, allocations: 8 kB / 0.5938 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/1.026, allocations: 3.984 kB / 0.5938 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008298/1.034, allocations: 4.812 MB / 0.5985 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.034, allocations: 0 / 0.5985 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.036, allocations: 151.8 kB / 0.5987 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007003/1.043, allocations: 1.6 MB / 0.6002 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.043, allocations: 23.92 kB / 0.6002 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/1.045, allocations: 1.751 MB / 0.602 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.045, allocations: 7.953 kB / 0.602 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3351/1.38, allocations: 1.936 MB / 0.6039 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009775/1.381, allocations: 363.7 kB / 0.6042 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/1.382, allocations: 17.16 kB / 0.6042 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.383, allocations: 56.3 kB / 0.6043 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.383, allocations: 50.42 kB / 0.6043 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.384, allocations: 31.09 kB / 0.6043 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002639/1.386, allocations: 0.8249 MB / 0.6052 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.52e-07/1.386, allocations: 0 / 0.6052 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006867/1.393, allocations: 1.219 MB / 0.6063 GB, free: 179.1 MB / 0.5105 GB 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.009985/1.403, allocations: 1.252 MB / 0.6076 GB, free: 178.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005429/1.409, allocations: 1.158 MB / 0.6087 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.409, allocations: 1.281 kB / 0.6087 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003999/1.413, allocations: 0.8628 MB / 0.6095 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008504/1.421, allocations: 0.6672 MB / 0.6102 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009783/1.431, allocations: 3.688 MB / 0.6138 GB, free: 176 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/1.433, allocations: 1.342 MB / 0.6151 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/1.434, allocations: 115.6 kB / 0.6152 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/1.434, allocations: 1.312 kB / 0.6152 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1034/1.537, allocations: 50.39 MB / 0.6644 GB, free: 137.1 MB / 0.5105 GB