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_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.965e-05, allocations: 7.984 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3548, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01669/0.3716, allocations: 10.33 MB / 335.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009729/0.3814, allocations: 4.424 MB / 339.6 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008772/0.3823, allocations: 22.22 kB / 339.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.3831, allocations: 170 kB / 339.8 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.3854, allocations: 481 kB / 340.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.3901, allocations: 1.003 MB / 341.3 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.3917, allocations: 0.5045 MB / 341.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.3922, allocations: 212.6 kB / 342 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.3933, allocations: 332.3 kB / 342.3 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.394, allocations: 282.8 kB / 342.6 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.397, allocations: 0.9408 MB / 343.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004029/0.3974, allocations: 62.22 kB / 343.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.3977, allocations: 122.1 kB / 343.7 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.398, allocations: 49.78 kB / 343.8 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.4004, allocations: 0.8966 MB / 344.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4005, allocations: 0 / 344.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4005, allocations: 0 / 344.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.4005, allocations: 0 / 344.7 MB, free: 6.859 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.002214/0.4028, allocations: 0.7916 MB / 345.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4028, allocations: 8.594 kB / 345.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.4032, allocations: 59.39 kB / 345.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.4043, allocations: 432.2 kB / 346 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/0.4044, allocations: 21.34 kB / 346 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.4045, allocations: 34.42 kB / 346 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.4058, allocations: 0.4956 MB / 346.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4058, allocations: 1.094 kB / 346.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.4059, allocations: 15.78 kB / 346.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.873e-05/0.406, allocations: 29.64 kB / 346.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4072, allocations: 452.6 kB / 347 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.4125, allocations: 2.282 MB / 349.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.4132, allocations: 210 kB / 349.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.4151, allocations: 1.003 MB / 350.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.4155, allocations: 157.6 kB / 350.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.4155, allocations: 0 / 350.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007899/0.4163, allocations: 357 kB / 351 MB, free: 1.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.4164, allocations: 157.7 kB / 351.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.4172, allocations: 438.5 kB / 351.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4172, allocations: 36.05 kB / 351.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.4176, allocations: 306.4 kB / 351.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.4176, allocations: 47.08 kB / 351.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.4177, allocations: 9.344 kB / 352 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4178, allocations: 349.7 kB / 352.3 MB, free: 480 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.4182, allocations: 107.3 kB / 352.4 MB, free: 428 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.4186, allocations: 336 kB / 352.7 MB, free: 52 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.4191, allocations: 191.5 kB / 352.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.4191, allocations: 2.312 kB / 352.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001235/0.4204, allocations: 0.5107 MB / 353.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001184/0.4216, allocations: 2.903 MB / 356.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4216, allocations: 11.41 kB / 356.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.4217, allocations: 10.75 kB / 356.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.4223, allocations: 90.83 kB / 356.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.4224, allocations: 13.41 kB / 356.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/0.423, allocations: 58.8 kB / 356.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.4231, allocations: 24.59 kB / 356.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.4231, allocations: 7.938 kB / 356.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/0.4242, allocations: 469.7 kB / 357 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4243, allocations: 7.344 kB / 357 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4243, allocations: 11.31 kB / 357 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.4248, allocations: 86.5 kB / 357.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.4249, allocations: 17.55 kB / 357.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.4254, allocations: 39.97 kB / 357.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.4254, allocations: 28.53 kB / 357.2 MB, free: 12.16 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.0003914/0.4258, allocations: 239.6 kB / 357.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.426, allocations: 45.41 kB / 357.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.4267, allocations: 277.9 kB / 357.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.4267, allocations: 6.469 kB / 357.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4267, allocations: 3.938 kB / 357.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4268, allocations: 0 / 357.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.4274, allocations: 376.9 kB / 358.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4274, allocations: 0 / 358.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.4276, allocations: 23.11 kB / 358.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4276, allocations: 1.25 kB / 358.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.4276, allocations: 2.469 kB / 358.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4276, allocations: 1.125 kB / 358.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4276, allocations: 0 / 358.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.4282, allocations: 297 kB / 358.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4284, allocations: 120.3 kB / 358.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.4285, allocations: 6.344 kB / 358.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.4289, allocations: 12.3 kB / 358.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.4289, allocations: 8.781 kB / 358.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.429, allocations: 12.67 kB / 358.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005675/0.4296, allocations: 334.1 kB / 358.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4296, allocations: 0 / 358.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00169/0.4313, allocations: 403.4 kB / 359.3 MB, free: 10.77 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.001364/0.4327, allocations: 397.7 kB / 359.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4341, allocations: 0.5951 MB / 360.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4342, allocations: 0 / 360.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4344, allocations: 139.6 kB / 360.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.4356, allocations: 142.5 kB / 360.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.4375, allocations: 0.9147 MB / 361.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.4381, allocations: 0.8477 MB / 362.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.4392, allocations: 186 kB / 362.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4393, allocations: 34.81 kB / 362.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of SimCode: time 2.826e-06/0.4393, allocations: 0 / 362.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of Templates: time 0.02704/0.4664, allocations: 9.348 MB / 371.9 MB, free: 15.36 MB / 314.7 MB