Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|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|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadModel(ModelicaTest): time 1.958/1.958, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.255e-05/4.275e-05, allocations: 4 kB / 273.1 MB, free: 248 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09119, allocations: 48.7 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.762/8.853, allocations: 3.662 GB / 3.976 GB, free: 137.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/8.853, allocations: 84.61 kB / 3.976 GB, free: 137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.259/17.11, allocations: 1.427 GB / 5.403 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.747e-06/17.11, allocations: 0 / 5.403 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002037/17.11, allocations: 57.06 kB / 5.403 GB, free: 28.05 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.0256/17.14, allocations: 7.086 MB / 5.41 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/17.14, allocations: 8.125 kB / 5.41 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/17.14, allocations: 279.1 kB / 5.41 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/17.15, allocations: 1.512 MB / 5.412 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/17.15, allocations: 144.1 kB / 5.412 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008173/17.15, allocations: 184.9 kB / 5.412 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007789/17.15, allocations: 2.865 MB / 5.415 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/17.15, allocations: 5.531 kB / 5.415 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005109/17.16, allocations: 79.48 kB / 5.415 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/17.16, allocations: 160 kB / 5.415 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008062/17.16, allocations: 3.091 MB / 5.418 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02762/17.19, allocations: 10.91 MB / 5.429 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/17.2, allocations: 1.797 MB / 5.431 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/17.2, allocations: 0.7424 MB / 5.431 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003278/17.2, allocations: 3.5 MB / 5.435 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/17.2, allocations: 51.09 kB / 5.435 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/17.2, allocations: 203.9 kB / 5.435 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 7.59e-06/17.2, allocations: 1.812 kB / 5.435 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.005419/17.21, allocations: 1.779 MB / 5.437 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/17.21, allocations: 199 kB / 5.437 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/17.21, allocations: 1.318 MB / 5.438 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004484/17.21, allocations: 54.64 kB / 5.438 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/17.21, allocations: 0.9834 MB / 5.439 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007139/17.21, allocations: 0.5193 MB / 5.44 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/17.21, allocations: 46.94 kB / 5.44 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001676/17.21, allocations: 392.4 kB / 5.44 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/17.22, allocations: 0.7978 MB / 5.441 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/17.22, allocations: 1.468 MB / 5.442 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/17.22, allocations: 1.193 MB / 5.443 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-05/17.22, allocations: 8.031 kB / 5.444 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.008045/17.23, allocations: 2.827 MB / 5.446 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001968/17.23, allocations: 8.45 MB / 5.455 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.949e-05/17.23, allocations: 26.12 kB / 5.455 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/17.24, allocations: 0.6012 MB / 5.455 GB, free: 19.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/17.24, allocations: 0.4973 MB / 5.456 GB, free: 19.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/17.24, allocations: 1.505 MB / 5.457 GB, free: 18.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/17.25, allocations: 168.6 kB / 5.457 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008189/17.25, allocations: 164.3 kB / 5.457 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/17.25, allocations: 7.688 kB / 5.457 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007465/17.25, allocations: 2.537 MB / 5.46 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.872e-05/17.25, allocations: 20.56 kB / 5.46 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/17.26, allocations: 336 kB / 5.46 GB, free: 18.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/17.26, allocations: 0.5472 MB / 5.461 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/17.26, allocations: 1.259 MB / 5.462 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/17.26, allocations: 154.1 kB / 5.462 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007796/17.26, allocations: 161.1 kB / 5.462 GB, free: 17.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009479/17.27, allocations: 246.6 kB / 5.463 GB, free: 17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/17.27, allocations: 188 kB / 5.463 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008993/17.28, allocations: 3.116 MB / 5.466 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/17.28, allocations: 18.88 kB / 5.466 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/17.28, allocations: 3.094 kB / 5.466 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.94e-05/17.28, allocations: 14.3 kB / 5.466 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/17.29, allocations: 4.54 MB / 5.47 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/17.29, allocations: 6.531 kB / 5.47 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/17.29, allocations: 304.3 kB / 5.471 GB, free: 16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004051/17.29, allocations: 0.5643 MB / 5.471 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004295/17.29, allocations: 59.27 kB / 5.471 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/17.3, allocations: 1.512 MB / 5.473 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/17.3, allocations: 10.78 kB / 5.473 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/17.3, allocations: 2.497 MB / 5.475 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009528/17.3, allocations: 294.7 kB / 5.475 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008549/17.3, allocations: 38.28 kB / 5.475 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/17.31, allocations: 104.9 kB / 5.475 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005204/17.31, allocations: 138 kB / 5.476 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003977/17.31, allocations: 115.2 kB / 5.476 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002345/17.31, allocations: 1.025 MB / 5.477 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.012e-06/17.31, allocations: 4.922 kB / 5.477 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0124/17.32, allocations: 3.075 MB / 5.48 GB, free: 13.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/17.34, allocations: 4.212 MB / 5.484 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009233/17.35, allocations: 3.784 MB / 5.488 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/17.35, allocations: 7.406 kB / 5.488 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/17.35, allocations: 0.9109 MB / 5.488 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/17.35, allocations: 0.858 MB / 5.489 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008538/17.36, allocations: 3.194 MB / 5.492 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/17.36, allocations: 1.654 MB / 5.494 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007394/17.37, allocations: 1.171 MB / 5.495 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/17.37, allocations: 219.2 kB / 5.495 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of SimCode: time 2.223e-06/17.37, allocations: 2.906 kB / 5.495 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of Templates: time 0.6477/18.02, allocations: 99.6 MB / 5.593 GB, free: 53.96 MB / 0.5417 GB