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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 269 MB / 284.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.965e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.4137/0.5413, allocations: 29.49 MB / 440.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02828/0.5696, allocations: 13.27 MB / 453.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.572, allocations: 54.59 kB / 453.7 MB, free: 5.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.5744, allocations: 0.4929 MB / 454.2 MB, free: 5.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.5821, allocations: 1.659 MB / 455.9 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.5929, allocations: 2.358 MB / 458.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005035/0.598, allocations: 1.625 MB / 459.9 MB, free: 1.258 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.5997, allocations: 0.6774 MB / 460.6 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.6032, allocations: 0.9966 MB / 461.6 MB, free: 276 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.6059, allocations: 0.8086 MB / 462.4 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009217/0.6152, allocations: 2.713 MB / 465.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.6168, allocations: 173.3 kB / 465.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008282/0.6177, allocations: 323.5 kB / 465.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.6188, allocations: 159.1 kB / 465.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008046/0.6268, allocations: 2.637 MB / 468.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.6269, allocations: 0 / 468.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6269, allocations: 0 / 468.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.6269, allocations: 3.156 kB / 468.4 MB, free: 12.77 MB / 378.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.00453/0.6315, allocations: 1.703 MB / 470.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6315, allocations: 12.44 kB / 470.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.6325, allocations: 184.9 kB / 470.3 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.6351, allocations: 0.9942 MB / 471.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/0.6353, allocations: 73.72 kB / 471.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.6355, allocations: 99.14 kB / 471.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/0.6389, allocations: 1.436 MB / 472.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.639, allocations: 6.062 kB / 472.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.6392, allocations: 47.27 kB / 472.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.751e-05/0.6393, allocations: 52.2 kB / 473 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.6427, allocations: 1.345 MB / 474.3 MB, free: 8.562 MB / 378.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.01378/0.6565, allocations: 6.697 MB / 481 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.6582, allocations: 0.5579 MB / 481.6 MB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0325/0.6907, allocations: 15.41 MB / 497 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.6919, allocations: 478.1 kB / 497.4 MB, free: 14.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.036e-06/0.6919, allocations: 4 kB / 497.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.003018/0.695, allocations: 0.9857 MB / 498.4 MB, free: 13.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003218/0.6953, allocations: 0.5466 MB / 499 MB, free: 12.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.6977, allocations: 1.119 MB / 0.4884 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.6979, allocations: 37.7 kB / 0.4884 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007394/0.6987, allocations: 0.6946 MB / 0.4891 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.6989, allocations: 177.6 kB / 0.4892 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.699, allocations: 20 kB / 0.4893 GB, free: 10.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.6993, allocations: 354.8 kB / 0.4896 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/0.7002, allocations: 330.4 kB / 0.4899 GB, free: 9.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.7017, allocations: 0.892 MB / 0.4908 GB, free: 8.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.703, allocations: 491.5 kB / 0.4913 GB, free: 8.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.703, allocations: 4 kB / 0.4913 GB, free: 8.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003537/0.7066, allocations: 1.234 MB / 0.4925 GB, free: 6.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002592/0.7092, allocations: 5.798 MB / 0.4981 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/0.7093, allocations: 19.94 kB / 0.4981 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.251e-05/0.7093, allocations: 24 kB / 0.4982 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.7124, allocations: 359.4 kB / 0.4985 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.7135, allocations: 1.242 MB / 0.4997 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.7159, allocations: 182.4 kB / 0.4999 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.7161, allocations: 67.97 kB / 0.5 GB, free: 14.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7161, allocations: 8 kB / 0.5 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00314/0.7193, allocations: 1.151 MB / 0.5011 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.7193, allocations: 16 kB / 0.5011 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/0.7194, allocations: 24.86 kB / 0.5011 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.7213, allocations: 295.5 kB / 0.5014 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004404/0.7217, allocations: 0.621 MB / 0.502 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.7232, allocations: 127.2 kB / 0.5021 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.7234, allocations: 67.97 kB / 0.5022 GB, free: 12.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (133): * Single equations (assignments): 130 * 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.0008887/0.7243, allocations: 343.1 kB / 0.5025 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.7247, allocations: 142.4 kB / 0.5027 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.729, allocations: 1.438 MB / 0.5041 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.7291, allocations: 16 kB / 0.5041 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7291, allocations: 0 / 0.5041 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.7291, allocations: 3.984 kB / 0.5041 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/0.7346, allocations: 2.233 MB / 0.5063 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.7347, allocations: 4 kB / 0.5063 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/0.737, allocations: 251.7 kB / 0.5065 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.737, allocations: 4 kB / 0.5065 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/0.7371, allocations: 27.98 kB / 0.5066 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000821/0.7379, allocations: 1.184 MB / 0.5077 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.738, allocations: 4.031 kB / 0.5077 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.7406, allocations: 1.076 MB / 0.5088 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.7413, allocations: 278.8 kB / 0.509 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004048/0.7417, allocations: 20 kB / 0.509 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.743, allocations: 55.95 kB / 0.5091 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.7432, allocations: 48.58 kB / 0.5091 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.7433, allocations: 39.98 kB / 0.5092 GB, free: 4.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001846/0.7452, allocations: 0.8713 MB / 0.51 GB, free: 4.035 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7452, allocations: 3.938 kB / 0.51 GB, free: 4.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004873/0.7501, allocations: 1.288 MB / 0.5113 GB, free: 2.742 MB / 426.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 (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * 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.003811/0.7539, allocations: 1.004 MB / 0.5123 GB, free: 1.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006063/0.76, allocations: 1.788 MB / 0.514 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.7601, allocations: 320 / 0.514 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003176/0.7633, allocations: 0.6593 MB / 0.5147 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004965/0.7683, allocations: 0.561 MB / 0.5152 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.774, allocations: 2.631 MB / 0.5178 GB, free: 12.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009942/0.775, allocations: 1.21 MB / 0.519 GB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007634/0.7758, allocations: 151.3 kB / 0.5191 GB, free: 10.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7758, allocations: 4 kB / 0.5191 GB, free: 10.63 MB / 442.7 MB Notification: Performance of Templates: time 0.08667/0.8625, allocations: 41.05 MB / 0.5592 GB, free: 1.688 MB / 474.7 MB