Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.264e-05/4.282e-05, allocations: 7.984 kB / 273.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08923/0.08931, allocations: 48.69 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.719/1.808, allocations: 0.6079 GB / 0.9221 GB, free: 84.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.809, allocations: 90.3 kB / 0.9222 GB, free: 84.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.4/3.209, allocations: 281.6 MB / 1.197 GB, free: 60.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.34e-06/3.209, allocations: 0 / 1.197 GB, free: 60.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.238e-05/3.209, allocations: 14.84 kB / 1.197 GB, free: 60.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003585/3.212, allocations: 1.223 MB / 1.198 GB, free: 59.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/3.212, allocations: 11.69 kB / 1.198 GB, free: 59.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/3.214, allocations: 163.1 kB / 1.199 GB, free: 59.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/3.215, allocations: 0.5221 MB / 1.199 GB, free: 59.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/3.215, allocations: 35.59 kB / 1.199 GB, free: 59.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/3.215, allocations: 39.5 kB / 1.199 GB, free: 59.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/3.217, allocations: 0.6136 MB / 1.2 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/3.217, allocations: 7.078 kB / 1.2 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/3.217, allocations: 24.31 kB / 1.2 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/3.217, allocations: 13.77 kB / 1.2 GB, free: 59.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/3.218, allocations: 467.9 kB / 1.2 GB, free: 59.11 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/3.221, allocations: 2.578 MB / 1.203 GB, free: 57.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/3.222, allocations: 285.3 kB / 1.203 GB, free: 57.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/3.222, allocations: 151.8 kB / 1.203 GB, free: 57.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/3.223, allocations: 322.8 kB / 1.203 GB, free: 57.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/3.223, allocations: 38.22 kB / 1.204 GB, free: 57.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.534e-06/3.223, allocations: 0 / 1.204 GB, free: 57.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001321/3.224, allocations: 446.2 kB / 1.204 GB, free: 57.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/3.224, allocations: 164.1 kB / 1.204 GB, free: 56.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/3.225, allocations: 394.1 kB / 1.204 GB, free: 56.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/3.225, allocations: 36.7 kB / 1.204 GB, free: 56.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/3.225, allocations: 353.5 kB / 1.205 GB, free: 56.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/3.225, allocations: 127.2 kB / 1.205 GB, free: 56.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/3.225, allocations: 10.28 kB / 1.205 GB, free: 56.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/3.225, allocations: 334.8 kB / 1.205 GB, free: 56.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/3.226, allocations: 133.8 kB / 1.205 GB, free: 56.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/3.226, allocations: 351.7 kB / 1.206 GB, free: 55.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/3.226, allocations: 192 kB / 1.206 GB, free: 55.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.807e-06/3.226, allocations: 8.219 kB / 1.206 GB, free: 55.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001194/3.228, allocations: 0.5304 MB / 1.206 GB, free: 55.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/3.228, allocations: 17 kB / 1.206 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/3.228, allocations: 8.188 kB / 1.206 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/3.229, allocations: 235.3 kB / 1.207 GB, free: 55.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/3.23, allocations: 130 kB / 1.207 GB, free: 55.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000458/3.23, allocations: 0.5857 MB / 1.207 GB, free: 55.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/3.231, allocations: 68.8 kB / 1.207 GB, free: 55.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/3.231, allocations: 60.44 kB / 1.208 GB, free: 55.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/3.231, allocations: 139.1 kB / 1.208 GB, free: 55.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/3.232, allocations: 55.66 kB / 1.208 GB, free: 55.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/3.234, allocations: 0.6549 MB / 1.208 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.549e-06/3.234, allocations: 3.969 kB / 1.208 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.066e-06/3.234, allocations: 0 / 1.208 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/3.234, allocations: 0 / 1.208 GB, free: 55.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/3.236, allocations: 1.486 MB / 1.21 GB, free: 54.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.101e-06/3.236, allocations: 2.188 kB / 1.21 GB, free: 54.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/3.237, allocations: 71.77 kB / 1.21 GB, free: 54.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/3.238, allocations: 233.3 kB / 1.21 GB, free: 54.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/3.238, allocations: 18 kB / 1.21 GB, free: 54.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000428/3.239, allocations: 0.589 MB / 1.211 GB, free: 53.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.053e-06/3.239, allocations: 3.75 kB / 1.211 GB, free: 53.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009978/3.24, allocations: 0.6742 MB / 1.211 GB, free: 53.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/3.24, allocations: 182.9 kB / 1.212 GB, free: 53.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/3.24, allocations: 10.66 kB / 1.212 GB, free: 53.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/3.241, allocations: 35.72 kB / 1.212 GB, free: 53.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/3.241, allocations: 41.47 kB / 1.212 GB, free: 53.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/3.241, allocations: 34.05 kB / 1.212 GB, free: 53.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000469/3.241, allocations: 308.3 kB / 1.212 GB, free: 53.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-07/3.241, allocations: 0 / 1.212 GB, free: 53.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002177/3.244, allocations: 0.4892 MB / 1.212 GB, free: 53.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002894/3.247, allocations: 1.38 MB / 1.214 GB, free: 52.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/3.248, allocations: 395.5 kB / 1.214 GB, free: 52.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.974e-06/3.248, allocations: 0 / 1.214 GB, free: 52.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/3.248, allocations: 181.8 kB / 1.214 GB, free: 52.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/3.25, allocations: 293.3 kB / 1.215 GB, free: 52.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/3.257, allocations: 2.109 MB / 1.217 GB, free: 52.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/3.258, allocations: 0.878 MB / 1.218 GB, free: 51.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/3.258, allocations: 104.7 kB / 1.218 GB, free: 51.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.765e-06/3.258, allocations: 2.969 kB / 1.218 GB, free: 51.78 MB / 426.7 MB Notification: Performance of Templates: time 0.03067/3.289, allocations: 19.68 MB / 1.237 GB, free: 50.3 MB / 426.7 MB