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.418/2.418, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.202e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4328, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.7297/1.163, allocations: 164.8 MB / 0.5153 GB, free: 1.863 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0183/1.181, allocations: 10.55 MB / 0.5256 GB, free: 1.688 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/1.182, allocations: 35.09 kB / 0.5257 GB, free: 1.688 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/1.184, allocations: 375.6 kB / 0.526 GB, free: 1.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007625/1.191, allocations: 1.96 MB / 0.5279 GB, free: 1.613 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/1.202, allocations: 2.428 MB / 0.5303 GB, free: 1.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002886/1.204, allocations: 1.062 MB / 0.5313 GB, free: 1.523 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/1.206, allocations: 0.5206 MB / 0.5319 GB, free: 1.504 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/1.208, allocations: 0.7294 MB / 0.5326 GB, free: 1.504 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/1.209, allocations: 0.7523 MB / 0.5333 GB, free: 1.496 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/1.226, allocations: 6.726 MB / 0.5399 GB, free: 15.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002393/1.228, allocations: 250.1 kB / 0.5401 GB, free: 15.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009085/1.229, allocations: 364.8 kB / 0.5405 GB, free: 15.81 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005605/1.23, allocations: 113.8 kB / 0.5406 GB, free: 15.81 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.24, allocations: 3.402 MB / 0.5439 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.24, allocations: 6.656 kB / 0.5439 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.24, allocations: 0 / 0.5439 GB, free: 14.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/1.24, allocations: 0 / 0.5439 GB, free: 14.41 MB / 442.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.006774/1.247, allocations: 1.863 MB / 0.5457 GB, free: 13.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.247, allocations: 12.17 kB / 0.5457 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006175/1.248, allocations: 116 kB / 0.5458 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/1.249, allocations: 0.7013 MB / 0.5465 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/1.249, allocations: 59.02 kB / 0.5466 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/1.25, allocations: 79.98 kB / 0.5467 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/1.253, allocations: 1.246 MB / 0.5479 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.253, allocations: 0 / 0.5479 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.253, allocations: 32.8 kB / 0.5479 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/1.253, allocations: 76.83 kB / 0.548 GB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/1.257, allocations: 1.405 MB / 0.5493 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/1.269, allocations: 4.695 MB / 0.5539 GB, free: 9.309 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/1.271, allocations: 0.6559 MB / 0.5546 GB, free: 9.191 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.272, allocations: 0.7967 MB / 0.5554 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/1.272, allocations: 43.34 kB / 0.5554 GB, free: 8.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 3.216e-06/1.272, allocations: 0 / 0.5554 GB, free: 8.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.003139/1.276, allocations: 0.9761 MB / 0.5563 GB, free: 8.133 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/1.276, allocations: 109.5 kB / 0.5565 GB, free: 8.008 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.277, allocations: 0.6466 MB / 0.5571 GB, free: 7.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.277, allocations: 40.52 kB / 0.5571 GB, free: 7.758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/1.278, allocations: 0.5032 MB / 0.5576 GB, free: 7.398 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.278, allocations: 190.8 kB / 0.5578 GB, free: 7.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/1.278, allocations: 19.34 kB / 0.5578 GB, free: 7.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/1.278, allocations: 342.5 kB / 0.5581 GB, free: 6.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.279, allocations: 363.2 kB / 0.5585 GB, free: 6.883 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/1.281, allocations: 0.625 MB / 0.5591 GB, free: 6.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.282, allocations: 462 kB / 0.5595 GB, free: 6.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.282, allocations: 4 kB / 0.5595 GB, free: 6.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003238/1.285, allocations: 1.083 MB / 0.5606 GB, free: 5.637 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001269/1.287, allocations: 3.047 MB / 0.5636 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/1.287, allocations: 11.94 kB / 0.5636 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.191e-05/1.287, allocations: 16 kB / 0.5636 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.288, allocations: 233.4 kB / 0.5638 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/1.289, allocations: 14.53 kB / 0.5638 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.29, allocations: 130.4 kB / 0.564 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/1.29, allocations: 70.34 kB / 0.564 GB, free: 1.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.29, allocations: 4 kB / 0.564 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002966/1.293, allocations: 0.9952 MB / 0.565 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.293, allocations: 8 kB / 0.565 GB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.293, allocations: 15.95 kB / 0.565 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.295, allocations: 235 kB / 0.5653 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/1.295, allocations: 18.72 kB / 0.5653 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/1.296, allocations: 98.42 kB / 0.5654 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/1.296, allocations: 66.36 kB / 0.5654 GB, free: 0.9414 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0007071/1.297, allocations: 301.5 kB / 0.5657 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/1.297, allocations: 75.06 kB / 0.5658 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/1.301, allocations: 1.09 MB / 0.5668 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.301, allocations: 11.95 kB / 0.5669 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.301, allocations: 0 / 0.5669 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.301, allocations: 7.922 kB / 0.5669 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/1.305, allocations: 1.751 MB / 0.5686 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.305, allocations: 4 kB / 0.5686 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.306, allocations: 138 kB / 0.5687 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/1.306, allocations: 4 kB / 0.5687 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/1.306, allocations: 24.55 kB / 0.5687 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/1.306, allocations: 4 kB / 0.5687 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.306, allocations: 2.812 kB / 0.5687 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/1.309, allocations: 0.9925 MB / 0.5697 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/1.309, allocations: 179.8 kB / 0.5699 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.309, allocations: 16.38 kB / 0.5699 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/1.31, allocations: 38.78 kB / 0.5699 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/1.311, allocations: 57.7 kB / 0.57 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.311, allocations: 43.16 kB / 0.57 GB, free: 13.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009937/1.312, allocations: 0.5052 MB / 0.5705 GB, free: 12.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.312, allocations: 0 / 0.5705 GB, free: 12.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004222/1.316, allocations: 1.164 MB / 0.5717 GB, free: 11.71 MB / 458.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.004807/1.321, allocations: 1.143 MB / 0.5728 GB, free: 10.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004217/1.325, allocations: 1.356 MB / 0.5741 GB, free: 9.734 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.325, allocations: 0.5625 kB / 0.5741 GB, free: 9.734 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.326, allocations: 372.3 kB / 0.5745 GB, free: 9.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.329, allocations: 350.3 kB / 0.5748 GB, free: 9.215 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/1.334, allocations: 2.008 MB / 0.5768 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009614/1.335, allocations: 1.073 MB / 0.5778 GB, free: 6.277 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.336, allocations: 136.6 kB / 0.5779 GB, free: 6.156 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/1.336, allocations: 0 / 0.5779 GB, free: 6.156 MB / 458.7 MB Notification: Performance of Templates: time 0.06623/1.402, allocations: 26.24 MB / 0.6036 GB, free: 12.14 MB / 490.7 MB