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.2_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.44e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3199, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6239/0.9439, allocations: 311.2 MB / 0.6553 GB, free: 23.74 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.9442, allocations: 84.36 kB / 0.6553 GB, free: 23.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6071/1.551, allocations: 96.38 MB / 0.7495 GB, free: 130.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.051e-06/1.551, allocations: 3.938 kB / 0.7495 GB, free: 130.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.347e-05/1.551, allocations: 12.09 kB / 0.7495 GB, free: 130.3 MB / 474.7 MB 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.001597/1.553, allocations: 0.8115 MB / 0.7503 GB, free: 129.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.553, allocations: 9.75 kB / 0.7503 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/1.553, allocations: 60.8 kB / 0.7503 GB, free: 129.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009514/1.554, allocations: 487.5 kB / 0.7508 GB, free: 129.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/1.554, allocations: 22.98 kB / 0.7508 GB, free: 129.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/1.554, allocations: 26.97 kB / 0.7509 GB, free: 129.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/1.555, allocations: 0.4983 MB / 0.7513 GB, free: 128.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.555, allocations: 3.953 kB / 0.7513 GB, free: 128.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/1.556, allocations: 18.66 kB / 0.7514 GB, free: 128.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/1.556, allocations: 25.95 kB / 0.7514 GB, free: 128.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/1.557, allocations: 436 kB / 0.7518 GB, free: 128.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/1.56, allocations: 2.256 MB / 0.754 GB, free: 126.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/1.56, allocations: 200.6 kB / 0.7542 GB, free: 126.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/1.561, allocations: 112.3 kB / 0.7543 GB, free: 126.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.562, allocations: 1.056 MB / 0.7553 GB, free: 125.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/1.562, allocations: 143.8 kB / 0.7555 GB, free: 125.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 3.02e-06/1.562, allocations: 0 / 0.7555 GB, free: 125.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004725/1.563, allocations: 227.3 kB / 0.7557 GB, free: 125.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.563, allocations: 158.2 kB / 0.7558 GB, free: 125.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/1.564, allocations: 436.8 kB / 0.7563 GB, free: 124.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/1.564, allocations: 29.58 kB / 0.7563 GB, free: 124.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/1.564, allocations: 352 kB / 0.7566 GB, free: 124.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/1.564, allocations: 51.25 kB / 0.7567 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/1.564, allocations: 11.91 kB / 0.7567 GB, free: 124.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.276e-05/1.564, allocations: 330.7 kB / 0.757 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/1.564, allocations: 97.78 kB / 0.7571 GB, free: 124.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/1.565, allocations: 329.8 kB / 0.7574 GB, free: 123.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/1.565, allocations: 206.1 kB / 0.7576 GB, free: 123.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.749e-06/1.565, allocations: 3.844 kB / 0.7576 GB, free: 123.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009101/1.566, allocations: 443.6 kB / 0.758 GB, free: 123.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/1.566, allocations: 2.823 MB / 0.7608 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.567, allocations: 7 kB / 0.7608 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.567, allocations: 10.56 kB / 0.7608 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/1.567, allocations: 87.95 kB / 0.7609 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.851e-05/1.567, allocations: 15 kB / 0.7609 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/1.568, allocations: 59.08 kB / 0.761 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/1.568, allocations: 28.73 kB / 0.761 GB, free: 120.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.893e-06/1.568, allocations: 7.531 kB / 0.761 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007901/1.568, allocations: 431.3 kB / 0.7614 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.568, allocations: 10.88 kB / 0.7614 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/1.568, allocations: 10.47 kB / 0.7614 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/1.569, allocations: 87.55 kB / 0.7615 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/1.569, allocations: 18.61 kB / 0.7615 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/1.569, allocations: 44.17 kB / 0.7616 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.569, allocations: 24.75 kB / 0.7616 GB, free: 120 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (47): * Single equations (assignments): 46 * 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.000139/1.569, allocations: 173 kB / 0.7618 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/1.57, allocations: 51.02 kB / 0.7618 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/1.57, allocations: 284.3 kB / 0.7621 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.938e-06/1.57, allocations: 0 / 0.7621 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/1.57, allocations: 0 / 0.7621 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.445e-06/1.57, allocations: 3.781 kB / 0.7621 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/1.571, allocations: 379.7 kB / 0.7624 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-06/1.571, allocations: 0 / 0.7624 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/1.571, allocations: 20.08 kB / 0.7625 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.126e-06/1.571, allocations: 3.938 kB / 0.7625 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/1.571, allocations: 11.48 kB / 0.7625 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.571, allocations: 3.938 kB / 0.7625 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-06/1.571, allocations: 4 kB / 0.7625 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/1.571, allocations: 284.8 kB / 0.7628 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.571, allocations: 131.5 kB / 0.7629 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/1.572, allocations: 3.406 kB / 0.7629 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/1.572, allocations: 18.42 kB / 0.7629 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/1.572, allocations: 7.516 kB / 0.7629 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/1.572, allocations: 10.78 kB / 0.7629 GB, free: 118.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004416/1.572, allocations: 330.5 kB / 0.7632 GB, free: 118.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.818e-06/1.572, allocations: 0 / 0.7632 GB, free: 118.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001592/1.574, allocations: 461.9 kB / 0.7637 GB, free: 118.6 MB / 474.7 MB 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 (12): * Single equations (assignments): 11 * 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.00115/1.575, allocations: 0.498 MB / 0.7642 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009982/1.576, allocations: 0.5944 MB / 0.7647 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.576, allocations: 3.625 kB / 0.7647 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/1.576, allocations: 160.6 kB / 0.7649 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/1.577, allocations: 141.8 kB / 0.765 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/1.579, allocations: 0.5877 MB / 0.7656 GB, free: 117.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.579, allocations: 0.8557 MB / 0.7664 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.579, allocations: 37.69 kB / 0.7665 GB, free: 116.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.945e-06/1.579, allocations: 7.812 kB / 0.7665 GB, free: 116.6 MB / 474.7 MB Notification: Performance of Templates: time 0.01439/1.594, allocations: 9.442 MB / 0.7757 GB, free: 107.4 MB / 474.7 MB