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.53/2.53, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.146e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3897, allocations: 54.86 MB / 362.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01796/0.4077, allocations: 10.37 MB / 373.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009551/0.4173, allocations: 4.448 MB / 377.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.4182, allocations: 23.81 kB / 377.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.419, allocations: 159.2 kB / 377.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.421, allocations: 490.3 kB / 378.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.4253, allocations: 0.9973 MB / 379.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.4267, allocations: 0.5115 MB / 379.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.4273, allocations: 207.8 kB / 380 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.4283, allocations: 339.1 kB / 380.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.4291, allocations: 275.2 kB / 380.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.432, allocations: 0.948 MB / 381.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.4325, allocations: 64 kB / 381.6 MB, free: 11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.4328, allocations: 123.6 kB / 381.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.433, allocations: 52 kB / 381.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.4356, allocations: 0.9004 MB / 382.7 MB, free: 9.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4357, allocations: 0 / 382.7 MB, free: 9.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4357, allocations: 3.938 kB / 382.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.4357, allocations: 0 / 382.7 MB, free: 9.926 MB / 314.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.002203/0.4379, allocations: 0.793 MB / 383.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.438, allocations: 12.03 kB / 383.5 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.4384, allocations: 63.36 kB / 383.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.4395, allocations: 429.5 kB / 384 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.4396, allocations: 20.56 kB / 384 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.4397, allocations: 31.98 kB / 384.1 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4412, allocations: 0.5029 MB / 384.6 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4413, allocations: 4 kB / 384.6 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.4414, allocations: 12 kB / 384.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/0.4415, allocations: 28.55 kB / 384.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.4433, allocations: 457.9 kB / 385.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/0.449, allocations: 2.288 MB / 387.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.4497, allocations: 222.5 kB / 387.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/0.4516, allocations: 1.01 MB / 388.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.452, allocations: 157.5 kB / 388.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.176e-06/0.452, allocations: 0 / 388.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009241/0.453, allocations: 367 kB / 389.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4531, allocations: 162.2 kB / 389.2 MB, free: 2.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/0.4539, allocations: 437 kB / 389.7 MB, free: 2.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.454, allocations: 29.64 kB / 389.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.4543, allocations: 353.3 kB / 390 MB, free: 2.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.4544, allocations: 43.45 kB / 390.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.4545, allocations: 12 kB / 390.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4546, allocations: 334.8 kB / 390.4 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.455, allocations: 104.8 kB / 390.5 MB, free: 1.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.4555, allocations: 343 kB / 390.9 MB, free: 1.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.456, allocations: 198.3 kB / 391.1 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.456, allocations: 4 kB / 391.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001224/0.4572, allocations: 488.6 kB / 391.5 MB, free: 472 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001456/0.4587, allocations: 2.909 MB / 394.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.4588, allocations: 4 kB / 394.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/0.4588, allocations: 12 kB / 394.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.4595, allocations: 87.84 kB / 394.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.4595, allocations: 20.02 kB / 394.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.4602, allocations: 71.3 kB / 394.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.4603, allocations: 24 kB / 394.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4603, allocations: 9.516 kB / 394.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/0.4615, allocations: 460 kB / 395.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4615, allocations: 8.031 kB / 395.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4616, allocations: 12 kB / 395.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.4621, allocations: 91.83 kB / 395.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.4622, allocations: 11.94 kB / 395.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.4626, allocations: 47.58 kB / 395.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.4627, allocations: 24 kB / 395.3 MB, free: 12.45 MB / 330.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: 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 (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.0004243/0.4631, allocations: 235.3 kB / 395.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.4632, allocations: 47.53 kB / 395.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000774/0.464, allocations: 278.9 kB / 395.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.464, allocations: 4 kB / 395.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4641, allocations: 0 / 395.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4641, allocations: 4 kB / 395.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.4647, allocations: 389.2 kB / 396.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4647, allocations: 0 / 396.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.4649, allocations: 23.92 kB / 396.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.465, allocations: 48 / 396.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.465, allocations: 11.98 kB / 396.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.465, allocations: 0 / 396.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.465, allocations: 0 / 396.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.4656, allocations: 287.8 kB / 396.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.4658, allocations: 136.4 kB / 396.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.4659, allocations: 8 kB / 396.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.4663, allocations: 15.98 kB / 396.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.4664, allocations: 4 kB / 396.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.4664, allocations: 11.98 kB / 396.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005835/0.467, allocations: 330.9 kB / 397.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.18e-06/0.467, allocations: 0 / 397.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001603/0.4686, allocations: 415.5 kB / 397.5 MB, free: 10.18 MB / 330.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.001366/0.47, allocations: 393.9 kB / 397.8 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.4716, allocations: 0.6452 MB / 398.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.4716, allocations: 3.984 kB / 398.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.4719, allocations: 163.3 kB / 398.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.4732, allocations: 135.2 kB / 398.8 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4753, allocations: 0.9685 MB / 399.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.4759, allocations: 0.8468 MB / 400.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.4761, allocations: 43.42 kB / 400.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4761, allocations: 0 / 400.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of Templates: time 0.02358/0.4997, allocations: 9.124 MB / 409.8 MB, free: 13.8 MB / 346.7 MB