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_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.188e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4118, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.02065/0.4325, allocations: 10.37 MB / 373.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.4436, allocations: 4.453 MB / 377.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.4446, allocations: 23.81 kB / 377.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009224/0.4455, allocations: 159.1 kB / 377.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.4479, allocations: 490.3 kB / 378.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.4531, allocations: 0.9972 MB / 379.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.4551, allocations: 0.5076 MB / 379.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008043/0.456, allocations: 207.8 kB / 380.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.4575, allocations: 343.1 kB / 380.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.4587, allocations: 287.2 kB / 380.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.4621, allocations: 0.9324 MB / 381.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004673/0.4626, allocations: 64 kB / 381.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.4629, allocations: 123.6 kB / 381.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.4632, allocations: 55.94 kB / 381.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.4656, allocations: 0.912 MB / 382.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4657, allocations: 0 / 382.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4657, allocations: 0 / 382.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.4657, allocations: 0 / 382.8 MB, free: 9.805 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.002085/0.4678, allocations: 0.7852 MB / 383.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4679, allocations: 12.03 kB / 383.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.4683, allocations: 55.44 kB / 383.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4693, allocations: 437.4 kB / 384 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.4694, allocations: 20.56 kB / 384.1 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.4695, allocations: 31.98 kB / 384.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.4707, allocations: 0.5107 MB / 384.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4708, allocations: 4 kB / 384.6 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.4709, allocations: 15.98 kB / 384.6 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.252e-05/0.471, allocations: 28.48 kB / 384.7 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4722, allocations: 450 kB / 385.1 MB, free: 7.348 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.4774, allocations: 2.276 MB / 387.4 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.4781, allocations: 226.5 kB / 387.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.4801, allocations: 1.018 MB / 388.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003475/0.4805, allocations: 159.3 kB / 388.8 MB, free: 3.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.316e-06/0.4805, allocations: 0 / 388.8 MB, free: 3.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008285/0.4813, allocations: 355.9 kB / 389.1 MB, free: 3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.4815, allocations: 166.2 kB / 389.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.4823, allocations: 437 kB / 389.7 MB, free: 2.363 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.4823, allocations: 25.7 kB / 389.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.4827, allocations: 306.9 kB / 390 MB, free: 2.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.4828, allocations: 51.42 kB / 390.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.4828, allocations: 15.94 kB / 390.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.483, allocations: 350.8 kB / 390.4 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.4833, allocations: 108.8 kB / 390.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.4839, allocations: 347 kB / 390.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.4844, allocations: 199.8 kB / 391.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.4844, allocations: 4 kB / 391.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001329/0.4857, allocations: 0.5023 MB / 391.6 MB, free: 340 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.4871, allocations: 2.905 MB / 394.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.4872, allocations: 8.094 kB / 394.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.179e-05/0.4873, allocations: 19.92 kB / 394.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.488, allocations: 83.84 kB / 394.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-05/0.488, allocations: 15.92 kB / 394.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.4887, allocations: 67.38 kB / 394.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.4888, allocations: 31.98 kB / 394.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4888, allocations: 3.953 kB / 394.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/0.49, allocations: 459.4 kB / 395.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.4901, allocations: 8 kB / 395.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4901, allocations: 12 kB / 395.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.4907, allocations: 92.58 kB / 395.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.4907, allocations: 11.94 kB / 395.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.4913, allocations: 47.67 kB / 395.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.4914, allocations: 24 kB / 395.4 MB, free: 12.32 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.000454/0.4918, allocations: 239.2 kB / 395.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.492, allocations: 47.44 kB / 395.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007823/0.4928, allocations: 284 kB / 395.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.4928, allocations: 4 kB / 395.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4928, allocations: 0 / 395.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4928, allocations: 0 / 395.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.4935, allocations: 381.3 kB / 396.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4935, allocations: 0 / 396.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.4938, allocations: 23.94 kB / 396.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.4938, allocations: 0 / 396.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.4938, allocations: 15.97 kB / 396.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4938, allocations: 0 / 396.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4938, allocations: 0 / 396.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.4945, allocations: 287.2 kB / 396.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.4948, allocations: 136.4 kB / 396.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4949, allocations: 4 kB / 396.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.4953, allocations: 16 kB / 396.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.4954, allocations: 7.984 kB / 396.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.4954, allocations: 11.94 kB / 396.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006623/0.4961, allocations: 334.8 kB / 397.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4961, allocations: 0 / 397.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00192/0.498, allocations: 411.6 kB / 397.5 MB, free: 10.05 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.001631/0.4997, allocations: 378.4 kB / 397.9 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.5016, allocations: 0.6647 MB / 398.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/0.5016, allocations: 4.125 kB / 398.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.502, allocations: 171.3 kB / 398.7 MB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.5033, allocations: 129.9 kB / 398.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.506, allocations: 0.9369 MB / 399.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.5068, allocations: 0.8553 MB / 400.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001275/0.5081, allocations: 188.3 kB / 400.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5083, allocations: 31.42 kB / 400.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5083, allocations: 0 / 400.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of Templates: time 0.02883/0.5371, allocations: 9.524 MB / 410.4 MB, free: 13.15 MB / 346.7 MB