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.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.3 MB / 224.4 MB, free: 0.6562 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.607e-05, allocations: 4 kB / 276.2 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3741, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.02293/0.3971, allocations: 10.34 MB / 335.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.4099, allocations: 4.433 MB / 339.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008909/0.4108, allocations: 22.31 kB / 339.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007807/0.4116, allocations: 161.8 kB / 339.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.4138, allocations: 482.5 kB / 340.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.4185, allocations: 1.005 MB / 341.3 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.42, allocations: 0.5037 MB / 341.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.4205, allocations: 212.9 kB / 342 MB, free: 8.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.4214, allocations: 334.8 kB / 342.3 MB, free: 7.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006368/0.422, allocations: 277 kB / 342.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.425, allocations: 0.9396 MB / 343.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003108/0.4254, allocations: 62.59 kB / 343.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.4256, allocations: 127 kB / 343.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.4259, allocations: 52.38 kB / 343.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.428, allocations: 0.8884 MB / 344.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4281, allocations: 0 / 344.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4281, allocations: 0 / 344.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.4281, allocations: 4 kB / 344.7 MB, free: 6.637 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002034/0.4301, allocations: 0.7867 MB / 345.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4302, allocations: 9.438 kB / 345.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003394/0.4305, allocations: 62.81 kB / 345.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.4315, allocations: 433.4 kB / 345.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.4316, allocations: 23.7 kB / 346 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.4317, allocations: 30.48 kB / 346 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4329, allocations: 0.4951 MB / 346.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4329, allocations: 5.219 kB / 346.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.4331, allocations: 20.64 kB / 346.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.224e-05/0.4332, allocations: 36.84 kB / 346.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.4344, allocations: 448.5 kB / 347 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.4393, allocations: 2.274 MB / 349.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.44, allocations: 209.8 kB / 349.5 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/0.4418, allocations: 1.005 MB / 350.5 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.4422, allocations: 143.9 kB / 350.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/0.4422, allocations: 1.219 kB / 350.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008044/0.443, allocations: 367.7 kB / 351 MB, free: 1.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4431, allocations: 160.9 kB / 351.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.4439, allocations: 436 kB / 351.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.444, allocations: 27.14 kB / 351.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.4443, allocations: 356.7 kB / 351.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.4444, allocations: 46.5 kB / 352 MB, free: 0.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.4444, allocations: 6.75 kB / 352 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4446, allocations: 331.3 kB / 352.3 MB, free: 216 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.4449, allocations: 106.6 kB / 352.4 MB, free: 164 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.4454, allocations: 327.8 kB / 352.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.4459, allocations: 199.5 kB / 352.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4459, allocations: 2.75 kB / 352.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001156/0.4471, allocations: 487.3 kB / 353.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001377/0.4485, allocations: 2.91 MB / 356.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.4485, allocations: 12.12 kB / 356.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.4486, allocations: 10 kB / 356.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.4493, allocations: 91.98 kB / 356.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.4493, allocations: 9.156 kB / 356.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.45, allocations: 58.67 kB / 356.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.4501, allocations: 24.94 kB / 356.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4501, allocations: 3.312 kB / 356.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001094/0.4512, allocations: 470.5 kB / 357 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4512, allocations: 7.844 kB / 357 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4512, allocations: 11.09 kB / 357 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.4518, allocations: 90.17 kB / 357.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.4518, allocations: 13.5 kB / 357.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.4522, allocations: 39.61 kB / 357.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.4522, allocations: 22.88 kB / 357.2 MB, free: 11.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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.0003873/0.4526, allocations: 236.9 kB / 357.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.4528, allocations: 45.38 kB / 357.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/0.4535, allocations: 282.3 kB / 357.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4536, allocations: 9.031 kB / 357.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4536, allocations: 1.125 kB / 357.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4536, allocations: 0 / 357.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.4542, allocations: 377 kB / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4542, allocations: 0 / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.4544, allocations: 18.45 kB / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.4544, allocations: 1.25 kB / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.4545, allocations: 6.375 kB / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4545, allocations: 1.188 kB / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4545, allocations: 0 / 358.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.4551, allocations: 301.2 kB / 358.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.4554, allocations: 124.9 kB / 358.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4555, allocations: 7.031 kB / 358.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.4558, allocations: 10.67 kB / 358.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.4559, allocations: 12.58 kB / 358.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.456, allocations: 4.562 kB / 358.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000638/0.4566, allocations: 334.4 kB / 358.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4566, allocations: 0 / 358.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001851/0.4585, allocations: 404.6 kB / 359.3 MB, free: 10.54 MB / 298.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.001488/0.46, allocations: 377.8 kB / 359.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.4616, allocations: 0.5872 MB / 360.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.4616, allocations: 3.938 kB / 360.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4619, allocations: 135.7 kB / 360.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.4632, allocations: 149.9 kB / 360.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.4656, allocations: 0.9522 MB / 361.5 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.4662, allocations: 0.8437 MB / 362.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.4665, allocations: 40.47 kB / 362.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of SimCode: time 4.569e-06/0.4665, allocations: 1.094 kB / 362.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of Templates: time 0.02415/0.4906, allocations: 9.019 MB / 371.4 MB, free: 15.93 MB / 314.7 MB