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.2_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.865e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3721, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.7505/1.123, allocations: 233.8 MB / 0.5827 GB, free: 12.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.04509/1.168, allocations: 22 MB / 0.6042 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/1.171, allocations: 76.19 kB / 0.6043 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003789/1.175, allocations: 0.8076 MB / 0.6051 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01927/1.194, allocations: 4.396 MB / 0.6093 GB, free: 7.75 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02231/1.217, allocations: 5.484 MB / 0.6147 GB, free: 2.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006373/1.223, allocations: 2.337 MB / 0.617 GB, free: 15.91 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/1.226, allocations: 1.348 MB / 0.6183 GB, free: 14.55 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01449/1.241, allocations: 4.252 MB / 0.6225 GB, free: 10.29 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004945/1.246, allocations: 1.711 MB / 0.6241 GB, free: 8.578 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03983/1.286, allocations: 14.4 MB / 0.6382 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005125/1.291, allocations: 0.5429 MB / 0.6387 GB, free: 9.613 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002257/1.293, allocations: 0.8846 MB / 0.6396 GB, free: 8.727 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001598/1.295, allocations: 272 kB / 0.6398 GB, free: 8.461 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02221/1.317, allocations: 7.566 MB / 0.6472 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.317, allocations: 0 / 0.6472 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.317, allocations: 0 / 0.6472 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001306/1.317, allocations: 0 / 0.6472 GB, free: 0.8789 MB / 490.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.01542/1.333, allocations: 3.924 MB / 0.6511 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.333, allocations: 12.03 kB / 0.6511 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/1.335, allocations: 281 kB / 0.6513 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/1.339, allocations: 1.377 MB / 0.6527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/1.339, allocations: 143.5 kB / 0.6528 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007807/1.34, allocations: 179.9 kB / 0.653 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009351/1.35, allocations: 2.985 MB / 0.6559 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/1.35, allocations: 0 / 0.6559 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004642/1.35, allocations: 79.97 kB / 0.656 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003696/1.35, allocations: 163.5 kB / 0.6561 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/1.361, allocations: 3.282 MB / 0.6593 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03439/1.396, allocations: 11.47 MB / 0.6705 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007011/1.403, allocations: 1.96 MB / 0.6725 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004511/1.407, allocations: 3.488 MB / 0.6759 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.399e-05/1.408, allocations: 51.88 kB / 0.6759 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001602/1.409, allocations: 194.6 kB / 0.6761 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 6.072e-06/1.409, allocations: 0 / 0.6761 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.01111/1.42, allocations: 2.935 MB / 0.679 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.42, allocations: 201.2 kB / 0.6792 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/1.423, allocations: 1.328 MB / 0.6805 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005016/1.424, allocations: 57.7 kB / 0.6805 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.425, allocations: 0.9558 MB / 0.6814 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008908/1.426, allocations: 0.5238 MB / 0.682 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/1.426, allocations: 44 kB / 0.682 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002426/1.426, allocations: 403.1 kB / 0.6824 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/1.43, allocations: 0.8826 MB / 0.6832 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/1.433, allocations: 1.593 MB / 0.6848 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/1.437, allocations: 1.279 MB / 0.6861 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.079e-05/1.437, allocations: 11.94 kB / 0.6861 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009805/1.447, allocations: 2.99 MB / 0.689 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.3138/1.761, allocations: 8.669 MB / 0.6974 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-05/1.761, allocations: 21.66 kB / 0.6975 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005527/1.767, allocations: 0.6495 MB / 0.6981 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/1.771, allocations: 0.4976 MB / 0.6986 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/1.774, allocations: 1.523 MB / 0.7001 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/1.777, allocations: 156.4 kB / 0.7002 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007922/1.778, allocations: 168.9 kB / 0.7004 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.778, allocations: 3.031 kB / 0.7004 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008779/1.787, allocations: 2.794 MB / 0.7031 GB, free: 218.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.835e-05/1.787, allocations: 22.31 kB / 0.7031 GB, free: 218.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/1.789, allocations: 338.2 kB / 0.7035 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0044/1.794, allocations: 0.5406 MB / 0.704 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/1.795, allocations: 1.269 MB / 0.7052 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.798, allocations: 139.3 kB / 0.7054 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007642/1.799, allocations: 166.1 kB / 0.7055 GB, free: 217.4 MB / 0.5261 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.001924/1.801, allocations: 0.5483 MB / 0.7061 GB, free: 217.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006448/1.801, allocations: 190.4 kB / 0.7062 GB, free: 217.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.812, allocations: 3.284 MB / 0.7094 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/1.812, allocations: 19.33 kB / 0.7095 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.812, allocations: 3.812 kB / 0.7095 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/1.812, allocations: 11.05 kB / 0.7095 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/1.825, allocations: 4.745 MB / 0.7141 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.825, allocations: 3.969 kB / 0.7141 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.828, allocations: 306.5 kB / 0.7144 GB, free: 213.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004422/1.833, allocations: 0.588 MB / 0.715 GB, free: 213.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004615/1.833, allocations: 59.25 kB / 0.715 GB, free: 213.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.835, allocations: 1.526 MB / 0.7165 GB, free: 212.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.835, allocations: 3.969 kB / 0.7165 GB, free: 212.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00691/1.842, allocations: 2.657 MB / 0.7191 GB, free: 210.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008399/1.843, allocations: 300.7 kB / 0.7194 GB, free: 210.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009676/1.844, allocations: 35.88 kB / 0.7194 GB, free: 210.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/1.847, allocations: 102.8 kB / 0.7195 GB, free: 210.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005323/1.847, allocations: 140.2 kB / 0.7197 GB, free: 210.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003378/1.847, allocations: 111.6 kB / 0.7198 GB, free: 210.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002214/1.85, allocations: 1.037 MB / 0.7208 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.62e-07/1.85, allocations: 96 / 0.7208 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009789/1.86, allocations: 2.688 MB / 0.7234 GB, free: 209.1 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.009898/1.87, allocations: 2.462 MB / 0.7258 GB, free: 208.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.881, allocations: 4.088 MB / 0.7298 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/1.881, allocations: 448 / 0.7298 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002998/1.884, allocations: 0.9994 MB / 0.7308 GB, free: 203.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007439/1.891, allocations: 0.8509 MB / 0.7316 GB, free: 202.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.902, allocations: 4.704 MB / 0.7362 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/1.904, allocations: 1.646 MB / 0.7378 GB, free: 196.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.906, allocations: 278.5 kB / 0.7381 GB, free: 195.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.512e-06/1.906, allocations: 0 / 0.7381 GB, free: 195.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1662/2.072, allocations: 75.57 MB / 0.8119 GB, free: 120.2 MB / 0.5261 GB