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.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.55e-05, allocations: 4 kB / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3627, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.704/9.066, allocations: 3.604 GB / 3.977 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/9.067, allocations: 83.48 kB / 3.977 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.103/11.17, allocations: 473.9 MB / 4.44 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.206e-06/11.17, allocations: 0 / 4.44 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.093e-05/11.17, allocations: 26.47 kB / 4.44 GB, free: 74.43 MB / 0.5105 GB 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.006336/11.18, allocations: 1.944 MB / 4.442 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/11.18, allocations: 11.25 kB / 4.442 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007397/11.18, allocations: 125.6 kB / 4.442 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/11.18, allocations: 0.734 MB / 4.443 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/11.18, allocations: 65.8 kB / 4.443 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/11.18, allocations: 76.14 kB / 4.443 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/11.18, allocations: 1.202 MB / 4.444 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/11.18, allocations: 0 / 4.444 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/11.18, allocations: 33.28 kB / 4.444 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/11.18, allocations: 71.25 kB / 4.444 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/11.18, allocations: 1.324 MB / 4.445 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/11.19, allocations: 4.727 MB / 4.45 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/11.2, allocations: 0.7964 MB / 4.451 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/11.2, allocations: 388.4 kB / 4.451 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000704/11.2, allocations: 0.7371 MB / 4.452 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/11.2, allocations: 50.72 kB / 4.452 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 4.018e-06/11.2, allocations: 0 / 4.452 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.002062/11.2, allocations: 0.8439 MB / 4.453 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/11.2, allocations: 110 kB / 4.453 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/11.2, allocations: 0.8527 MB / 4.454 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/11.2, allocations: 40.14 kB / 4.454 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/11.2, allocations: 447.4 kB / 4.454 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/11.2, allocations: 197.5 kB / 4.454 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/11.2, allocations: 16.31 kB / 4.454 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/11.2, allocations: 337.4 kB / 4.455 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/11.2, allocations: 424.4 kB / 4.455 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/11.21, allocations: 0.5374 MB / 4.456 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/11.21, allocations: 0.4928 MB / 4.456 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.263e-06/11.21, allocations: 0 / 4.456 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002787/11.21, allocations: 1.172 MB / 4.457 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/11.21, allocations: 0.9666 MB / 4.458 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/11.21, allocations: 3.938 kB / 4.458 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/11.21, allocations: 7.344 kB / 4.458 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/11.21, allocations: 210.1 kB / 4.458 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/11.21, allocations: 3.375 kB / 4.458 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/11.21, allocations: 147.8 kB / 4.458 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/11.21, allocations: 53.19 kB / 4.459 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/11.21, allocations: 2.969 kB / 4.459 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002414/11.21, allocations: 1.025 MB / 4.46 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.203e-06/11.21, allocations: 2.969 kB / 4.46 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/11.21, allocations: 9.406 kB / 4.46 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/11.22, allocations: 207.3 kB / 4.46 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/11.22, allocations: 9.062 kB / 4.46 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/11.22, allocations: 110.6 kB / 4.46 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/11.22, allocations: 65.67 kB / 4.46 GB, free: 68.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (99): * Single equations (assignments): 99 * 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.0002814/11.22, allocations: 148.2 kB / 4.46 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/11.22, allocations: 95.66 kB / 4.46 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/11.22, allocations: 1.201 MB / 4.461 GB, free: 67.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/11.22, allocations: 7.75 kB / 4.461 GB, free: 67.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-06/11.22, allocations: 3.312 kB / 4.461 GB, free: 67.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/11.22, allocations: 3.844 kB / 4.461 GB, free: 67.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/11.22, allocations: 1.954 MB / 4.463 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.177e-06/11.22, allocations: 3.875 kB / 4.463 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/11.23, allocations: 138.5 kB / 4.463 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/11.23, allocations: 10.12 kB / 4.463 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/11.23, allocations: 22.56 kB / 4.463 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/11.23, allocations: 3.875 kB / 4.463 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.054e-06/11.23, allocations: 3.969 kB / 4.463 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/11.23, allocations: 1.106 MB / 4.465 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/11.23, allocations: 207.5 kB / 4.465 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/11.23, allocations: 16.84 kB / 4.465 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/11.23, allocations: 51.33 kB / 4.465 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/11.23, allocations: 60.41 kB / 4.465 GB, free: 66.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/11.23, allocations: 48.97 kB / 4.465 GB, free: 66.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001189/11.23, allocations: 0.6844 MB / 4.466 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.007e-06/11.23, allocations: 0 / 4.466 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004321/11.23, allocations: 1.358 MB / 4.467 GB, free: 66.4 MB / 0.5105 GB 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 (64): * Single equations (assignments): 64 * 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.005149/11.24, allocations: 1.992 MB / 4.469 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003209/11.24, allocations: 1.498 MB / 4.47 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.24e-06/11.24, allocations: 0 / 4.47 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008263/11.24, allocations: 419 kB / 4.471 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/11.25, allocations: 0.4997 MB / 4.471 GB, free: 65.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/11.25, allocations: 1.302 MB / 4.472 GB, free: 65.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/11.25, allocations: 1.072 MB / 4.473 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003263/11.25, allocations: 0.6284 MB / 4.474 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/11.25, allocations: 119.7 kB / 4.474 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.645e-06/11.25, allocations: 0 / 4.474 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.08359/11.34, allocations: 49.12 MB / 4.522 GB, free: 31.07 MB / 0.5105 GB