Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.842e-05, allocations: 0 / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3195, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.492/8.811, allocations: 3.66 GB / 4.011 GB, free: 97.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/8.812, allocations: 83.08 kB / 4.011 GB, free: 97.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.152/10.96, allocations: 472.2 MB / 4.472 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.876e-06/10.96, allocations: 3.938 kB / 4.472 GB, free: 12.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.179e-05/10.96, allocations: 27.98 kB / 4.472 GB, free: 12.67 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006534/10.97, allocations: 1.954 MB / 4.474 GB, free: 10.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/10.97, allocations: 8.031 kB / 4.474 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007733/10.97, allocations: 118.8 kB / 4.474 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/10.97, allocations: 0.7616 MB / 4.475 GB, free: 9.734 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/10.97, allocations: 53.98 kB / 4.475 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/10.97, allocations: 79.94 kB / 4.475 GB, free: 9.605 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/10.98, allocations: 1.2 MB / 4.476 GB, free: 8.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/10.98, allocations: 3.938 kB / 4.476 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/10.98, allocations: 31.98 kB / 4.476 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/10.98, allocations: 73.95 kB / 4.476 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/10.98, allocations: 1.312 MB / 4.478 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009806/10.99, allocations: 4.613 MB / 4.482 GB, free: 2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/10.99, allocations: 0.5959 MB / 4.483 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/10.99, allocations: 274.1 kB / 4.483 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007563/10.99, allocations: 0.7932 MB / 4.484 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/10.99, allocations: 42.94 kB / 4.484 GB, free: 136 kB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 3.748e-06/10.99, allocations: 0 / 4.484 GB, free: 136 kB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.3013/11.29, allocations: 0.6285 MB / 4.484 GB, free: 53.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/11.29, allocations: 113.1 kB / 4.484 GB, free: 52.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/11.29, allocations: 0.6415 MB / 4.485 GB, free: 52.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/11.29, allocations: 38.36 kB / 4.485 GB, free: 52.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/11.3, allocations: 0.4966 MB / 4.486 GB, free: 52.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/11.3, allocations: 193.7 kB / 4.486 GB, free: 52.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/11.3, allocations: 16.94 kB / 4.486 GB, free: 52.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.321e-05/11.3, allocations: 350.2 kB / 4.486 GB, free: 52.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/11.3, allocations: 314 kB / 4.486 GB, free: 52.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/11.3, allocations: 0.5565 MB / 4.487 GB, free: 51.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/11.3, allocations: 415.8 kB / 4.487 GB, free: 51.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/11.3, allocations: 2.406 kB / 4.487 GB, free: 51.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002863/11.3, allocations: 0.9751 MB / 4.488 GB, free: 51.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006116/11.3, allocations: 2.882 MB / 4.491 GB, free: 48.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/11.3, allocations: 7.094 kB / 4.491 GB, free: 48.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.443e-05/11.3, allocations: 16.73 kB / 4.491 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/11.3, allocations: 228 kB / 4.491 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.391e-05/11.3, allocations: 15.92 kB / 4.491 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/11.3, allocations: 129.1 kB / 4.492 GB, free: 48.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/11.3, allocations: 69.23 kB / 4.492 GB, free: 48.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/11.31, allocations: 4.875 kB / 4.492 GB, free: 48.75 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00235/11.31, allocations: 0.8826 MB / 4.492 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/11.31, allocations: 7.469 kB / 4.492 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/11.31, allocations: 12.59 kB / 4.492 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/11.31, allocations: 229.5 kB / 4.493 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.831e-05/11.31, allocations: 17.45 kB / 4.493 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009634/11.31, allocations: 93.88 kB / 4.493 GB, free: 48.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/11.31, allocations: 68 kB / 4.493 GB, free: 48.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000343/11.31, allocations: 157.1 kB / 4.493 GB, free: 48.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/11.31, allocations: 85.5 kB / 4.493 GB, free: 48.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/11.31, allocations: 1.007 MB / 4.494 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/11.31, allocations: 9.641 kB / 4.494 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.743e-06/11.31, allocations: 3.688 kB / 4.494 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/11.31, allocations: 3.953 kB / 4.494 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/11.32, allocations: 1.651 MB / 4.496 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.045e-06/11.32, allocations: 2.312 kB / 4.496 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/11.32, allocations: 131.4 kB / 4.496 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/11.32, allocations: 6.188 kB / 4.496 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/11.32, allocations: 23.48 kB / 4.496 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/11.32, allocations: 5.094 kB / 4.496 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.364e-06/11.32, allocations: 8.859 kB / 4.496 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/11.32, allocations: 0.9142 MB / 4.497 GB, free: 47.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/11.32, allocations: 189.9 kB / 4.497 GB, free: 47.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/11.32, allocations: 13.3 kB / 4.497 GB, free: 47.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/11.32, allocations: 40.19 kB / 4.497 GB, free: 47.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/11.32, allocations: 50.78 kB / 4.497 GB, free: 47.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/11.32, allocations: 44.59 kB / 4.497 GB, free: 47.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001033/11.32, allocations: 0.4993 MB / 4.498 GB, free: 47.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.906e-06/11.32, allocations: 1.312 kB / 4.498 GB, free: 47.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004983/11.33, allocations: 1.332 MB / 4.499 GB, free: 47.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006036/11.33, allocations: 2 MB / 4.501 GB, free: 47.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003205/11.34, allocations: 1.195 MB / 4.502 GB, free: 47.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.202e-06/11.34, allocations: 10 kB / 4.502 GB, free: 47.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008157/11.34, allocations: 327.9 kB / 4.502 GB, free: 47.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/11.34, allocations: 357.2 kB / 4.503 GB, free: 47.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/11.34, allocations: 1.392 MB / 4.504 GB, free: 46.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/11.35, allocations: 1.066 MB / 4.505 GB, free: 46.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009856/11.35, allocations: 141.1 kB / 4.505 GB, free: 46.16 MB / 490.7 MB Notification: Performance of SimCode: time 2.898e-06/11.35, allocations: 0 / 4.505 GB, free: 46.16 MB / 490.7 MB Notification: Performance of Templates: time 0.05107/11.4, allocations: 29.31 MB / 4.534 GB, free: 44.47 MB / 490.7 MB