Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.572e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 58.84 MB / 382.2 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6585/0.9864, allocations: 316.7 MB / 0.6825 GB, free: 11.47 MB / 490.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.9867, allocations: 82.39 kB / 0.6826 GB, free: 11.43 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5978/1.585, allocations: 97.51 MB / 0.7778 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.412e-06/1.585, allocations: 0 / 0.7778 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.545e-05/1.585, allocations: 12 kB / 0.7778 GB, free: 137.4 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001723/1.586, allocations: 0.8166 MB / 0.7786 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/1.586, allocations: 8.031 kB / 0.7786 GB, free: 136.5 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/1.587, allocations: 63.38 kB / 0.7787 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/1.588, allocations: 467.8 kB / 0.7791 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/1.588, allocations: 20.56 kB / 0.7791 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/1.588, allocations: 31.98 kB / 0.7792 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/1.589, allocations: 0.5152 MB / 0.7797 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.589, allocations: 0 / 0.7797 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/1.589, allocations: 15.98 kB / 0.7797 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/1.589, allocations: 28.55 kB / 0.7797 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/1.59, allocations: 445 kB / 0.7801 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/1.594, allocations: 2.258 MB / 0.7823 GB, free: 132.4 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/1.594, allocations: 215.5 kB / 0.7825 GB, free: 132.2 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/1.594, allocations: 132.8 kB / 0.7827 GB, free: 132.1 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.596, allocations: 1.068 MB / 0.7837 GB, free: 130.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/1.596, allocations: 216.4 kB / 0.7839 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=18): time 4.545e-06/1.596, allocations: 4 kB / 0.7839 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=18): time 0.0006666/1.597, allocations: 299.6 kB / 0.7842 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/1.597, allocations: 239.3 kB / 0.7844 GB, free: 130.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/1.598, allocations: 463.9 kB / 0.7849 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/1.598, allocations: 25.7 kB / 0.7849 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/1.598, allocations: 287.3 kB / 0.7852 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/1.598, allocations: 55.2 kB / 0.7852 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/1.598, allocations: 8 kB / 0.7852 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/1.598, allocations: 358.8 kB / 0.7856 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/1.598, allocations: 120.4 kB / 0.7857 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/1.599, allocations: 292 kB / 0.786 GB, free: 128.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/1.599, allocations: 198.9 kB / 0.7862 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.555e-06/1.599, allocations: 0 / 0.7862 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001012/1.6, allocations: 0.4977 MB / 0.7866 GB, free: 127.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003501/1.6, allocations: 1.68 MB / 0.7883 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.6, allocations: 8 kB / 0.7883 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.6, allocations: 8 kB / 0.7883 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.601, allocations: 75.83 kB / 0.7884 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.601, allocations: 8 kB / 0.7884 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/1.602, allocations: 63.42 kB / 0.7884 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/1.602, allocations: 19.98 kB / 0.7885 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/1.602, allocations: 4 kB / 0.7885 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009114/1.603, allocations: 453 kB / 0.7889 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.603, allocations: 8 kB / 0.7889 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/1.603, allocations: 4.562 kB / 0.7889 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/1.603, allocations: 79.89 kB / 0.789 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.603, allocations: 11.94 kB / 0.789 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/1.604, allocations: 51.55 kB / 0.789 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/1.604, allocations: 20 kB / 0.7891 GB, free: 125 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/1.604, allocations: 162.6 kB / 0.7892 GB, free: 124.9 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.604, allocations: 51.34 kB / 0.7893 GB, free: 124.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007859/1.605, allocations: 373.6 kB / 0.7896 GB, free: 124.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-06/1.605, allocations: 4 kB / 0.7896 GB, free: 124.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.872e-06/1.605, allocations: 0 / 0.7896 GB, free: 124.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.399e-06/1.605, allocations: 0 / 0.7896 GB, free: 124.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/1.605, allocations: 413.2 kB / 0.79 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.605, allocations: 0 / 0.79 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/1.606, allocations: 23.98 kB / 0.79 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/1.606, allocations: 4 kB / 0.79 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/1.606, allocations: 11.95 kB / 0.7901 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.001e-06/1.606, allocations: 4 kB / 0.7901 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-06/1.606, allocations: 3.938 kB / 0.7901 GB, free: 123.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/1.606, allocations: 352.4 kB / 0.7904 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/1.606, allocations: 136.4 kB / 0.7905 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.607, allocations: 11.95 kB / 0.7905 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/1.607, allocations: 23.92 kB / 0.7906 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/1.607, allocations: 12.05 kB / 0.7906 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/1.607, allocations: 12 kB / 0.7906 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005095/1.608, allocations: 365.5 kB / 0.7909 GB, free: 123 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.61e-07/1.608, allocations: 0 / 0.7909 GB, free: 123 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001602/1.609, allocations: 479.4 kB / 0.7914 GB, free: 122.5 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/1.611, allocations: 0.5189 MB / 0.7919 GB, free: 122 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.612, allocations: 0.6312 MB / 0.7925 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.514e-06/1.612, allocations: 0 / 0.7925 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/1.612, allocations: 172 kB / 0.7927 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.613, allocations: 190.8 kB / 0.7929 GB, free: 121 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/1.615, allocations: 0.5268 MB / 0.7934 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.615, allocations: 0.856 MB / 0.7942 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0009165/1.616, allocations: 196.1 kB / 0.7944 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/1.616, allocations: 39.42 kB / 0.7944 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.799e-06/1.616, allocations: 0 / 0.7944 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.02695/1.643, allocations: 12.74 MB / 0.8069 GB, free: 106.6 MB / 0.4949 GB