Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.016e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4083, allocations: 54.85 MB / 362.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.07648/0.4849, allocations: 29.19 MB / 392.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0289/0.5138, allocations: 13.15 MB / 405.2 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.5159, allocations: 63.5 kB / 405.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.5184, allocations: 0.4895 MB / 405.8 MB, free: 2.785 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007223/0.5256, allocations: 1.647 MB / 407.4 MB, free: 1.133 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.5361, allocations: 2.33 MB / 409.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.5412, allocations: 1.61 MB / 411.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.5431, allocations: 0.6691 MB / 412 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.5464, allocations: 1.025 MB / 413 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.5488, allocations: 0.7829 MB / 413.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008565/0.5574, allocations: 2.676 MB / 416.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001698/0.5591, allocations: 172 kB / 416.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.5602, allocations: 326.9 kB / 417 MB, free: 7.535 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007423/0.561, allocations: 156 kB / 417.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007961/0.5689, allocations: 2.643 MB / 419.8 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.569, allocations: 0 / 419.8 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.569, allocations: 3.938 kB / 419.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.078e-05/0.5691, allocations: 0 / 419.8 MB, free: 4.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.00484/0.5739, allocations: 1.693 MB / 421.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.574, allocations: 12.03 kB / 421.5 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5752, allocations: 182.1 kB / 421.7 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.5783, allocations: 1.035 MB / 422.7 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.5784, allocations: 77.98 kB / 422.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.5787, allocations: 92 kB / 422.9 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.5826, allocations: 1.43 MB / 424.3 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.5827, allocations: 3.938 kB / 424.3 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.583, allocations: 44.05 kB / 424.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.5831, allocations: 49.94 kB / 424.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.5871, allocations: 1.327 MB / 425.7 MB, free: 14.6 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.6033, allocations: 6.729 MB / 432.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.6051, allocations: 0.5203 MB / 433 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03317/0.6384, allocations: 15.45 MB / 448.4 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007698/0.6392, allocations: 292.7 kB / 448.7 MB, free: 4.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 8.135e-06/0.6392, allocations: 8 kB / 448.7 MB, free: 4.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.002314/0.6416, allocations: 0.7558 MB / 449.5 MB, free: 3.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.6418, allocations: 269 kB / 449.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.6441, allocations: 0.9773 MB / 450.7 MB, free: 2.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.6443, allocations: 33.7 kB / 450.7 MB, free: 2.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009187/0.6452, allocations: 0.7766 MB / 451.5 MB, free: 1.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.6456, allocations: 157.9 kB / 451.7 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.6457, allocations: 28 kB / 451.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6459, allocations: 353.9 kB / 452.1 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.6473, allocations: 274.5 kB / 452.3 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.649, allocations: 0.9713 MB / 453.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.6503, allocations: 477.6 kB / 453.8 MB, free: 14.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/0.6504, allocations: 8 kB / 453.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004219/0.6546, allocations: 1.31 MB / 455.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004704/0.6594, allocations: 9.357 MB / 464.4 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.874e-05/0.6595, allocations: 24 kB / 464.5 MB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.574e-05/0.6596, allocations: 36 kB / 464.5 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/0.6627, allocations: 391.4 kB / 464.9 MB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.6641, allocations: 1.246 MB / 466.1 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.6663, allocations: 194.3 kB / 466.3 MB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.6666, allocations: 83.97 kB / 466.4 MB, free: 1.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.6667, allocations: 5.094 kB / 466.4 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003414/0.6701, allocations: 1.166 MB / 467.6 MB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.157e-05/0.6702, allocations: 27.94 kB / 467.6 MB, free: 120 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.868e-05/0.6703, allocations: 36 kB / 467.6 MB, free: 84 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.6723, allocations: 327.5 kB / 467.9 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005364/0.6729, allocations: 0.6443 MB / 468.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.6746, allocations: 139.2 kB / 468.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.6749, allocations: 75.98 kB / 468.8 MB, free: 14.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.6759, allocations: 362.8 kB / 469.2 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.6763, allocations: 122.5 kB / 469.3 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/0.6806, allocations: 1.237 MB / 470.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.6807, allocations: 7.953 kB / 470.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6807, allocations: 0 / 470.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.6808, allocations: 3.984 kB / 470.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/0.6856, allocations: 1.825 MB / 472.3 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.6857, allocations: 0 / 472.3 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/0.6885, allocations: 235.8 kB / 472.6 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.001e-05/0.6886, allocations: 3.953 kB / 472.6 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.6887, allocations: 23.98 kB / 472.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.6899, allocations: 1.188 MB / 473.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.69, allocations: 4.031 kB / 473.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.6929, allocations: 0.8291 MB / 474.6 MB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008374/0.6938, allocations: 251.1 kB / 474.9 MB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.6943, allocations: 16 kB / 474.9 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.6958, allocations: 43.98 kB / 474.9 MB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.696, allocations: 40.52 kB / 475 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.6962, allocations: 27.98 kB / 475 MB, free: 8.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002732/0.6989, allocations: 0.7682 MB / 475.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.699, allocations: 4 kB / 475.8 MB, free: 7.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007626/0.7066, allocations: 1.221 MB / 477 MB, free: 6.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005105/0.7118, allocations: 0.9648 MB / 478 MB, free: 5.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008576/0.7204, allocations: 1.707 MB / 479.7 MB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.7205, allocations: 0 / 479.7 MB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004173/0.7247, allocations: 0.5537 MB / 480.2 MB, free: 3.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004979/0.7297, allocations: 400.4 kB / 480.6 MB, free: 2.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008381/0.7382, allocations: 2.519 MB / 483.1 MB, free: 300 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.7399, allocations: 1.203 MB / 484.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005093/0.7451, allocations: 0.535 MB / 484.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/0.7458, allocations: 119.4 kB / 485 MB, free: 14.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7458, allocations: 0 / 485 MB, free: 14.41 MB / 426.7 MB Notification: Performance of Templates: time 0.4328/1.179, allocations: 29.68 MB / 0.5026 GB, free: 118.6 MB / 426.7 MB