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.884/1.884, allocations: 209.2 MB / 223.8 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.029e-05, allocations: 4 kB / 276.2 MB, free: 15.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3508, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.7747/1.126, allocations: 233.5 MB / 0.5453 GB, free: 15.83 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04257/1.168, allocations: 21.87 MB / 0.5667 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/1.171, allocations: 77.22 kB / 0.5667 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003509/1.175, allocations: 0.7801 MB / 0.5675 GB, free: 12.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01886/1.194, allocations: 4.393 MB / 0.5718 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02213/1.216, allocations: 5.475 MB / 0.5771 GB, free: 8.402 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006906/1.223, allocations: 2.337 MB / 0.5794 GB, free: 7.375 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003441/1.227, allocations: 1.352 MB / 0.5807 GB, free: 6.383 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01387/1.24, allocations: 4.224 MB / 0.5849 GB, free: 3.754 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004987/1.245, allocations: 1.7 MB / 0.5865 GB, free: 2.531 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04103/1.287, allocations: 14.27 MB / 0.6005 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005163/1.292, allocations: 0.5352 MB / 0.601 GB, free: 4.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002285/1.294, allocations: 0.8823 MB / 0.6018 GB, free: 3.227 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/1.296, allocations: 272 kB / 0.6021 GB, free: 2.961 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02316/1.319, allocations: 7.562 MB / 0.6095 GB, free: 11.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.319, allocations: 0 / 0.6095 GB, free: 11.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.319, allocations: 0 / 0.6095 GB, free: 11.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001418/1.319, allocations: 4 kB / 0.6095 GB, free: 11.38 MB / 458.7 MB 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.01642/1.336, allocations: 3.925 MB / 0.6133 GB, free: 7.371 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.336, allocations: 8.031 kB / 0.6133 GB, free: 7.363 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/1.338, allocations: 285 kB / 0.6136 GB, free: 7.082 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/1.342, allocations: 1.382 MB / 0.6149 GB, free: 5.691 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/1.343, allocations: 143.5 kB / 0.6151 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008125/1.343, allocations: 180 kB / 0.6153 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0095/1.353, allocations: 2.973 MB / 0.6182 GB, free: 2.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.448e-05/1.353, allocations: 0 / 0.6182 GB, free: 2.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/1.354, allocations: 79.97 kB / 0.6182 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003556/1.354, allocations: 177.8 kB / 0.6184 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/1.365, allocations: 3.273 MB / 0.6216 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03455/1.4, allocations: 11.11 MB / 0.6324 GB, free: 3.125 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006878/1.407, allocations: 1.942 MB / 0.6343 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004636/1.411, allocations: 3.496 MB / 0.6378 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.704e-05/1.411, allocations: 58.78 kB / 0.6378 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001573/1.413, allocations: 198.2 kB / 0.638 GB, free: 12.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 5.991e-06/1.413, allocations: 0 / 0.638 GB, free: 12.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.01111/1.424, allocations: 2.926 MB / 0.6409 GB, free: 9.762 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.424, allocations: 193.2 kB / 0.641 GB, free: 9.531 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/1.427, allocations: 1.332 MB / 0.6423 GB, free: 8.195 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004762/1.428, allocations: 61.7 kB / 0.6424 GB, free: 8.129 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.429, allocations: 0.9896 MB / 0.6434 GB, free: 7.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009263/1.43, allocations: 0.5199 MB / 0.6439 GB, free: 6.598 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/1.43, allocations: 48 kB / 0.6439 GB, free: 6.551 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002647/1.43, allocations: 398.2 kB / 0.6443 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/1.433, allocations: 0.8788 MB / 0.6452 GB, free: 5.273 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/1.437, allocations: 1.59 MB / 0.6467 GB, free: 3.367 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/1.442, allocations: 1.289 MB / 0.648 GB, free: 2.066 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.151e-05/1.442, allocations: 4 kB / 0.648 GB, free: 2.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01022/1.452, allocations: 3.083 MB / 0.651 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0039/1.456, allocations: 8.791 MB / 0.6596 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-05/1.456, allocations: 20 kB / 0.6596 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005207/1.461, allocations: 0.6532 MB / 0.6602 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/1.465, allocations: 0.4981 MB / 0.6607 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/1.468, allocations: 1.531 MB / 0.6622 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/1.471, allocations: 155.7 kB / 0.6624 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009102/1.472, allocations: 167.9 kB / 0.6625 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.472, allocations: 4 kB / 0.6625 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2856/1.758, allocations: 2.786 MB / 0.6652 GB, free: 215.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/1.758, allocations: 20.88 kB / 0.6653 GB, free: 215.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.761, allocations: 338.8 kB / 0.6656 GB, free: 215.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/1.765, allocations: 0.5431 MB / 0.6661 GB, free: 215.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/1.767, allocations: 1.268 MB / 0.6674 GB, free: 214.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/1.77, allocations: 147 kB / 0.6675 GB, free: 214.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007126/1.77, allocations: 162.6 kB / 0.6677 GB, free: 214.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (266): * Single equations (assignments): 259 * 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.001783/1.772, allocations: 0.5507 MB / 0.6682 GB, free: 214.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/1.773, allocations: 185.8 kB / 0.6684 GB, free: 214.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.784, allocations: 3.281 MB / 0.6716 GB, free: 213.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/1.784, allocations: 16.94 kB / 0.6716 GB, free: 213.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.784, allocations: 4.391 kB / 0.6716 GB, free: 213.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.828e-05/1.784, allocations: 10.78 kB / 0.6716 GB, free: 213.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/1.799, allocations: 4.736 MB / 0.6762 GB, free: 211.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.799, allocations: 12.62 kB / 0.6762 GB, free: 211.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.801, allocations: 306 kB / 0.6765 GB, free: 211.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/1.806, allocations: 0.5899 MB / 0.6771 GB, free: 211.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005017/1.807, allocations: 65.03 kB / 0.6772 GB, free: 211.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.808, allocations: 1.525 MB / 0.6787 GB, free: 210 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.809, allocations: 5.562 kB / 0.6787 GB, free: 210 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/1.816, allocations: 2.662 MB / 0.6813 GB, free: 208.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000837/1.817, allocations: 298 kB / 0.6815 GB, free: 208.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008855/1.818, allocations: 36.72 kB / 0.6816 GB, free: 208.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.821, allocations: 102.4 kB / 0.6817 GB, free: 208.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/1.821, allocations: 136.8 kB / 0.6818 GB, free: 208.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003714/1.821, allocations: 116.9 kB / 0.6819 GB, free: 208.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002441/1.824, allocations: 1.035 MB / 0.6829 GB, free: 207.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.31e-07/1.824, allocations: 0 / 0.6829 GB, free: 207.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01036/1.834, allocations: 2.686 MB / 0.6856 GB, free: 207.3 MB / 0.4948 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.009975/1.844, allocations: 2.451 MB / 0.688 GB, free: 207.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.856, allocations: 4.132 MB / 0.692 GB, free: 205.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.856, allocations: 5.781 kB / 0.692 GB, free: 205.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00311/1.859, allocations: 1 MB / 0.693 GB, free: 205 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007542/1.866, allocations: 0.8601 MB / 0.6938 GB, free: 204.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/1.876, allocations: 4.598 MB / 0.6983 GB, free: 202.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/1.878, allocations: 1.66 MB / 0.6999 GB, free: 201.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00811/1.886, allocations: 1.188 MB / 0.7011 GB, free: 201 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.887, allocations: 221.8 kB / 0.7013 GB, free: 201 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/1.887, allocations: 0 / 0.7013 GB, free: 201 MB / 0.4948 GB Notification: Performance of Templates: time 0.1579/2.045, allocations: 73.92 MB / 0.7735 GB, free: 131 MB / 0.4948 GB