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_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.503e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.788/1.173, allocations: 233.5 MB / 0.5453 GB, free: 15.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04195/1.215, allocations: 21.87 MB / 0.5667 GB, free: 13.28 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/1.218, allocations: 75.88 kB / 0.5667 GB, free: 13.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/1.222, allocations: 0.7874 MB / 0.5675 GB, free: 13.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02151/1.243, allocations: 4.39 MB / 0.5718 GB, free: 11.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03077/1.274, allocations: 5.473 MB / 0.5771 GB, free: 8.543 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008248/1.282, allocations: 2.334 MB / 0.5794 GB, free: 7.516 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00435/1.287, allocations: 1.355 MB / 0.5807 GB, free: 6.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03312/1.32, allocations: 4.227 MB / 0.5849 GB, free: 3.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/1.326, allocations: 1.694 MB / 0.5865 GB, free: 2.684 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05602/1.382, allocations: 14.26 MB / 0.6004 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006191/1.388, allocations: 0.5352 MB / 0.601 GB, free: 4.098 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002344/1.391, allocations: 0.8882 MB / 0.6018 GB, free: 3.281 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/1.392, allocations: 272 kB / 0.6021 GB, free: 3.016 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02359/1.416, allocations: 7.555 MB / 0.6095 GB, free: 11.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.416, allocations: 4 kB / 0.6095 GB, free: 11.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.456e-06/1.416, allocations: 0 / 0.6095 GB, free: 11.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000134/1.416, allocations: 0 / 0.6095 GB, free: 11.44 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.01565/1.432, allocations: 3.921 MB / 0.6133 GB, free: 7.438 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.432, allocations: 8.031 kB / 0.6133 GB, free: 7.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/1.434, allocations: 285 kB / 0.6136 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/1.438, allocations: 1.381 MB / 0.6149 GB, free: 5.758 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/1.438, allocations: 147.5 kB / 0.6151 GB, free: 5.613 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000777/1.439, allocations: 180 kB / 0.6152 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/1.449, allocations: 2.978 MB / 0.6181 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/1.449, allocations: 0 / 0.6181 GB, free: 2.398 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004428/1.449, allocations: 79.97 kB / 0.6182 GB, free: 2.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/1.45, allocations: 167.5 kB / 0.6184 GB, free: 2.156 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/1.46, allocations: 3.285 MB / 0.6216 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03408/1.494, allocations: 11.11 MB / 0.6324 GB, free: 3.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007196/1.501, allocations: 1.93 MB / 0.6343 GB, free: 1.254 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004789/1.506, allocations: 3.496 MB / 0.6377 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.674e-05/1.506, allocations: 58.5 kB / 0.6378 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001644/1.508, allocations: 198.1 kB / 0.638 GB, free: 12.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 5.671e-06/1.508, allocations: 0 / 0.638 GB, free: 12.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.01149/1.52, allocations: 2.934 MB / 0.6409 GB, free: 9.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/1.52, allocations: 201.2 kB / 0.641 GB, free: 9.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/1.523, allocations: 1.324 MB / 0.6423 GB, free: 8.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005336/1.523, allocations: 57.7 kB / 0.6424 GB, free: 8.191 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/1.524, allocations: 0.9558 MB / 0.6433 GB, free: 7.223 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009199/1.525, allocations: 0.5238 MB / 0.6438 GB, free: 6.691 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/1.526, allocations: 44 kB / 0.6439 GB, free: 6.648 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002539/1.526, allocations: 407.1 kB / 0.6443 GB, free: 6.242 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/1.529, allocations: 0.8788 MB / 0.6451 GB, free: 5.359 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/1.533, allocations: 1.596 MB / 0.6467 GB, free: 3.449 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/1.537, allocations: 1.277 MB / 0.6479 GB, free: 2.156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-05/1.537, allocations: 8 kB / 0.6479 GB, free: 2.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009604/1.547, allocations: 2.992 MB / 0.6509 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003686/1.55, allocations: 8.664 MB / 0.6593 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.143e-05/1.55, allocations: 27.98 kB / 0.6593 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/1.556, allocations: 0.6485 MB / 0.66 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004124/1.56, allocations: 0.4989 MB / 0.6605 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/1.562, allocations: 1.524 MB / 0.662 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.566, allocations: 155.9 kB / 0.6621 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007787/1.567, allocations: 167.9 kB / 0.6623 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.567, allocations: 4 kB / 0.6623 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009389/1.576, allocations: 2.794 MB / 0.665 GB, free: 164 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.577, allocations: 23.98 kB / 0.665 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2847/1.861, allocations: 336.5 kB / 0.6653 GB, free: 216 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004678/1.866, allocations: 0.5395 MB / 0.6659 GB, free: 216 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/1.867, allocations: 1.272 MB / 0.6671 GB, free: 214.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/1.87, allocations: 142.3 kB / 0.6672 GB, free: 214.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007149/1.871, allocations: 164 kB / 0.6674 GB, free: 214.9 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.001918/1.873, allocations: 0.5492 MB / 0.6679 GB, free: 214.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000624/1.874, allocations: 186.9 kB / 0.6681 GB, free: 214.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.885, allocations: 3.277 MB / 0.6713 GB, free: 214 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.885, allocations: 18.05 kB / 0.6713 GB, free: 214 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.885, allocations: 3.781 kB / 0.6713 GB, free: 214 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-05/1.885, allocations: 9.391 kB / 0.6713 GB, free: 214 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.9, allocations: 4.737 MB / 0.676 GB, free: 211.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.901, allocations: 9.203 kB / 0.676 GB, free: 211.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/1.903, allocations: 307.8 kB / 0.6763 GB, free: 211.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004589/1.908, allocations: 0.592 MB / 0.6769 GB, free: 211.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000471/1.908, allocations: 62.53 kB / 0.6769 GB, free: 211.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.91, allocations: 1.526 MB / 0.6784 GB, free: 210.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.91, allocations: 5.531 kB / 0.6784 GB, free: 210.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007214/1.918, allocations: 2.663 MB / 0.681 GB, free: 209.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009214/1.919, allocations: 298.3 kB / 0.6813 GB, free: 208.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008222/1.919, allocations: 35.98 kB / 0.6813 GB, free: 208.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.922, allocations: 96 kB / 0.6814 GB, free: 208.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/1.922, allocations: 139.8 kB / 0.6816 GB, free: 208.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/1.923, allocations: 113.6 kB / 0.6817 GB, free: 208.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002391/1.925, allocations: 1.037 MB / 0.6827 GB, free: 208.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.61e-07/1.925, allocations: 4.938 kB / 0.6827 GB, free: 208.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01084/1.936, allocations: 2.684 MB / 0.6853 GB, free: 208 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.01001/1.946, allocations: 2.454 MB / 0.6877 GB, free: 207.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.958, allocations: 4.088 MB / 0.6917 GB, free: 205.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/1.958, allocations: 4.406 kB / 0.6917 GB, free: 205.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003195/1.961, allocations: 1.002 MB / 0.6927 GB, free: 205.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007462/1.968, allocations: 0.8457 MB / 0.6935 GB, free: 205.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.979, allocations: 4.712 MB / 0.6981 GB, free: 202.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.98, allocations: 1.648 MB / 0.6997 GB, free: 202 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/1.982, allocations: 275.8 kB / 0.7 GB, free: 202 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/1.982, allocations: 3.969 kB / 0.7 GB, free: 202 MB / 0.4948 GB Notification: Performance of Templates: time 0.1377/2.12, allocations: 75.54 MB / 0.7737 GB, free: 131.1 MB / 0.4948 GB