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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.2 MB / 224.4 MB, free: 1.469 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.108e-05, allocations: 8 kB / 276.2 MB, free: 15.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 48.7 MB / 324.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.3392/0.4457, allocations: 50.92 MB / 375.8 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03578/0.4816, allocations: 17.96 MB / 393.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.4836, allocations: 42.38 kB / 393.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.4861, allocations: 0.5298 MB / 394.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01723/0.5034, allocations: 4.29 MB / 398.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009463/0.5129, allocations: 2.364 MB / 401 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03053/0.5435, allocations: 12.19 MB / 413.1 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.5448, allocations: 459.5 kB / 413.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.5474, allocations: 0.783 MB / 414.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.5489, allocations: 0.5568 MB / 414.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02047/0.5694, allocations: 6.825 MB / 421.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003065/0.5725, allocations: 432 kB / 422.2 MB, free: 7.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000599/0.5732, allocations: 211.2 kB / 422.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006343/0.5738, allocations: 151.9 kB / 422.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.584, allocations: 3.617 MB / 426.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5841, allocations: 0 / 426.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5841, allocations: 0 / 426.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.067e-05/0.5841, allocations: 0 / 426.2 MB, free: 3.949 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.007789/0.5919, allocations: 1.953 MB / 428.1 MB, free: 1.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.592, allocations: 8.031 kB / 428.1 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005699/0.5977, allocations: 0.5135 MB / 428.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.6003, allocations: 0.9532 MB / 429.6 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.569e-05/0.6004, allocations: 70 kB / 429.6 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.6007, allocations: 96 kB / 429.7 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005328/0.606, allocations: 1.588 MB / 431.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.6061, allocations: 3.938 kB / 431.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.6063, allocations: 51.95 kB / 431.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.6063, allocations: 24 kB / 431.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/0.6114, allocations: 1.357 MB / 432.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.6235, allocations: 7.965 MB / 440.7 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.6281, allocations: 1.639 MB / 442.4 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5811/1.209, allocations: 81.36 MB / 0.5115 GB, free: 136.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/1.209, allocations: 41.03 kB / 0.5115 GB, free: 136.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 4.348e-06/1.209, allocations: 0 / 0.5115 GB, free: 136.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=69): time 0.008482/1.218, allocations: 1.821 MB / 0.5133 GB, free: 136.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/1.218, allocations: 195.2 kB / 0.5135 GB, free: 136.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.219, allocations: 0.7156 MB / 0.5142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/1.22, allocations: 40.55 kB / 0.5142 GB, free: 136.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/1.22, allocations: 0.6158 MB / 0.5148 GB, free: 135.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/1.22, allocations: 247.9 kB / 0.515 GB, free: 135.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/1.22, allocations: 24.5 kB / 0.5151 GB, free: 135.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/1.221, allocations: 351.1 kB / 0.5154 GB, free: 135.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/1.221, allocations: 260.4 kB / 0.5156 GB, free: 135 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009798/1.222, allocations: 0.7743 MB / 0.5164 GB, free: 134.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009708/1.223, allocations: 394.5 kB / 0.5168 GB, free: 134 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.223, allocations: 5.406 kB / 0.5168 GB, free: 134 MB / 426.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003091/1.226, allocations: 1.152 MB / 0.5179 GB, free: 133.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/1.226, allocations: 12.91 kB / 0.5179 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.227, allocations: 17.62 kB / 0.5179 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/1.232, allocations: 0.5385 MB / 0.5185 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/1.234, allocations: 284 kB / 0.5187 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/1.236, allocations: 1.369 MB / 0.5201 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.238, allocations: 155.9 kB / 0.5202 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.238, allocations: 70.44 kB / 0.5203 GB, free: 132.1 MB / 426.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.0006865/1.239, allocations: 294.5 kB / 0.5206 GB, free: 131.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/1.239, allocations: 106.8 kB / 0.5207 GB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007251/1.246, allocations: 4.388 MB / 0.5249 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.713e-05/1.246, allocations: 48.97 kB / 0.525 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.246, allocations: 3.812 kB / 0.525 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.246, allocations: 18.06 kB / 0.525 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006826/1.253, allocations: 4.732 MB / 0.5296 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.253, allocations: 2.906 kB / 0.5296 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.255, allocations: 152.2 kB / 0.5298 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006489/1.261, allocations: 1.608 MB / 0.5314 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.261, allocations: 20 kB / 0.5314 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/1.263, allocations: 1.74 MB / 0.5331 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.263, allocations: 3.938 kB / 0.5331 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/1.266, allocations: 1.92 MB / 0.535 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/1.267, allocations: 322.1 kB / 0.5353 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/1.267, allocations: 19.94 kB / 0.5353 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/1.268, allocations: 51.81 kB / 0.5353 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.268, allocations: 60.42 kB / 0.5354 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/1.268, allocations: 20 kB / 0.5354 GB, free: 120.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001127/1.269, allocations: 0.6208 MB / 0.536 GB, free: 120.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.269, allocations: 4 kB / 0.536 GB, free: 120.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004285/1.273, allocations: 1.212 MB / 0.5372 GB, free: 118.9 MB / 426.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.007007/1.28, allocations: 1.25 MB / 0.5384 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003587/1.284, allocations: 1.172 MB / 0.5396 GB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.284, allocations: 0 / 0.5396 GB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/1.287, allocations: 0.8615 MB / 0.5404 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/1.292, allocations: 0.538 MB / 0.5409 GB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/1.299, allocations: 3.872 MB / 0.5447 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/1.3, allocations: 1.343 MB / 0.546 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/1.3, allocations: 107.4 kB / 0.5461 GB, free: 110 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/1.3, allocations: 4 kB / 0.5461 GB, free: 110 MB / 426.7 MB Notification: Performance of Templates: time 0.08458/1.385, allocations: 48.67 MB / 0.5937 GB, free: 61.36 MB / 426.7 MB