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_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.514e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4061, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.8317/1.238, allocations: 233.8 MB / 0.5827 GB, free: 12.51 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.04775/1.286, allocations: 22 MB / 0.6042 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/1.289, allocations: 79.75 kB / 0.6043 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/1.293, allocations: 0.8019 MB / 0.6051 GB, free: 11.93 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02004/1.313, allocations: 4.391 MB / 0.6094 GB, free: 7.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02417/1.337, allocations: 5.488 MB / 0.6147 GB, free: 2.156 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006512/1.344, allocations: 2.333 MB / 0.617 GB, free: 15.82 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003231/1.347, allocations: 1.355 MB / 0.6183 GB, free: 14.46 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/1.362, allocations: 4.241 MB / 0.6225 GB, free: 10.21 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005033/1.367, allocations: 1.699 MB / 0.6241 GB, free: 8.504 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04096/1.408, allocations: 14.41 MB / 0.6382 GB, free: 10.08 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005976/1.415, allocations: 0.5391 MB / 0.6387 GB, free: 9.539 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/1.417, allocations: 0.8923 MB / 0.6396 GB, free: 8.645 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/1.418, allocations: 272 kB / 0.6399 GB, free: 8.379 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02369/1.442, allocations: 7.566 MB / 0.6473 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/1.442, allocations: 0 / 0.6473 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.976e-06/1.442, allocations: 0 / 0.6473 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.795e-05/1.442, allocations: 0 / 0.6473 GB, free: 0.7969 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.01589/1.458, allocations: 3.927 MB / 0.6511 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.458, allocations: 11.97 kB / 0.6511 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/1.46, allocations: 273.1 kB / 0.6514 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/1.465, allocations: 1.381 MB / 0.6527 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/1.465, allocations: 143.5 kB / 0.6528 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009282/1.466, allocations: 187.9 kB / 0.653 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.476, allocations: 2.966 MB / 0.6559 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/1.476, allocations: 7.938 kB / 0.6559 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004437/1.477, allocations: 79.97 kB / 0.656 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003866/1.477, allocations: 167.6 kB / 0.6562 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/1.488, allocations: 3.282 MB / 0.6594 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03607/1.524, allocations: 11.47 MB / 0.6706 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007144/1.532, allocations: 1.954 MB / 0.6725 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005107/1.537, allocations: 3.485 MB / 0.6759 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.229e-05/1.537, allocations: 59.86 kB / 0.6759 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001639/1.538, allocations: 194.5 kB / 0.6761 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 7.444e-06/1.538, allocations: 0 / 0.6761 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.01149/1.55, allocations: 2.927 MB / 0.679 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/1.55, allocations: 205.2 kB / 0.6792 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/1.553, allocations: 1.332 MB / 0.6805 GB, free: 13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005753/1.554, allocations: 53.7 kB / 0.6805 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.555, allocations: 1.001 MB / 0.6815 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.556, allocations: 0.5199 MB / 0.682 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/1.557, allocations: 44 kB / 0.6821 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000254/1.557, allocations: 386.3 kB / 0.6824 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/1.56, allocations: 0.8905 MB / 0.6833 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/1.564, allocations: 1.589 MB / 0.6849 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/1.568, allocations: 1.283 MB / 0.6861 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/1.568, allocations: 8 kB / 0.6861 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01115/1.579, allocations: 3.079 MB / 0.6891 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.3323/1.912, allocations: 8.785 MB / 0.6977 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.579e-05/1.912, allocations: 22 kB / 0.6977 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005355/1.917, allocations: 0.6505 MB / 0.6984 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/1.922, allocations: 0.4984 MB / 0.6988 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.924, allocations: 1.523 MB / 0.7003 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/1.928, allocations: 159.8 kB / 0.7005 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005322/1.928, allocations: 160.9 kB / 0.7006 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.928, allocations: 5.344 kB / 0.7006 GB, free: 219.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008303/1.937, allocations: 2.799 MB / 0.7034 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-05/1.937, allocations: 27.64 kB / 0.7034 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/1.939, allocations: 336.4 kB / 0.7037 GB, free: 218.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00403/1.943, allocations: 0.5428 MB / 0.7042 GB, free: 218.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/1.944, allocations: 1.275 MB / 0.7055 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.947, allocations: 142.5 kB / 0.7056 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/1.948, allocations: 164.1 kB / 0.7058 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.001771/1.949, allocations: 0.5456 MB / 0.7063 GB, free: 217 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/1.95, allocations: 193.4 kB / 0.7065 GB, free: 217 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009592/1.959, allocations: 3.287 MB / 0.7097 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.96, allocations: 15.78 kB / 0.7097 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.96, allocations: 3.828 kB / 0.7097 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/1.96, allocations: 11.42 kB / 0.7097 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/1.971, allocations: 4.742 MB / 0.7144 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.972, allocations: 3.906 kB / 0.7144 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/1.974, allocations: 307.9 kB / 0.7147 GB, free: 213.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004131/1.978, allocations: 0.5786 MB / 0.7152 GB, free: 213.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/1.978, allocations: 60.95 kB / 0.7153 GB, free: 213.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/1.98, allocations: 1.526 MB / 0.7168 GB, free: 212.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.98, allocations: 11.84 kB / 0.7168 GB, free: 212.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/1.986, allocations: 2.658 MB / 0.7194 GB, free: 210.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/1.987, allocations: 302.1 kB / 0.7197 GB, free: 210.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005982/1.988, allocations: 35.8 kB / 0.7197 GB, free: 210.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.99, allocations: 100.6 kB / 0.7198 GB, free: 210.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/1.99, allocations: 136.4 kB / 0.7199 GB, free: 210.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/1.991, allocations: 115.4 kB / 0.72 GB, free: 210.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002003/1.993, allocations: 1.038 MB / 0.7211 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/1.993, allocations: 0 / 0.7211 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009612/2.002, allocations: 2.69 MB / 0.7237 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.009073/2.011, allocations: 2.464 MB / 0.7261 GB, free: 208.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01075/2.022, allocations: 4.129 MB / 0.7301 GB, free: 204.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/2.022, allocations: 448 / 0.7301 GB, free: 204.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/2.025, allocations: 1.005 MB / 0.7311 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007232/2.032, allocations: 0.8472 MB / 0.7319 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009986/2.043, allocations: 4.614 MB / 0.7364 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/2.044, allocations: 1.652 MB / 0.7381 GB, free: 195.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007621/2.052, allocations: 1.193 MB / 0.7392 GB, free: 194.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/2.053, allocations: 219.3 kB / 0.7394 GB, free: 194.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/2.053, allocations: 0 / 0.7394 GB, free: 194.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.1617/2.215, allocations: 73.95 MB / 0.8116 GB, free: 120.6 MB / 0.5261 GB