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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 234.9 MB / 250.1 MB, free: 9.922 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.497e-05, allocations: 4 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4107, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.04571/0.4565, allocations: 29.18 MB / 392 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02663/0.4832, allocations: 13.15 MB / 405.2 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.4852, allocations: 59.5 kB / 405.2 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.4874, allocations: 0.5012 MB / 405.7 MB, free: 2.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00673/0.4942, allocations: 1.635 MB / 407.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009266/0.5035, allocations: 2.333 MB / 409.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.5079, allocations: 1.61 MB / 411.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.5095, allocations: 0.6769 MB / 412 MB, free: 12.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.5126, allocations: 1.017 MB / 413 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.5145, allocations: 0.7867 MB / 413.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007884/0.5224, allocations: 2.672 MB / 416.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.5239, allocations: 172 kB / 416.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006255/0.5245, allocations: 318.9 kB / 417 MB, free: 7.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006658/0.5252, allocations: 160 kB / 417.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007225/0.5324, allocations: 2.651 MB / 419.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5325, allocations: 0 / 419.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5325, allocations: 0 / 419.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.315e-05/0.5326, allocations: 0 / 419.8 MB, free: 4.797 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.00455/0.5371, allocations: 1.693 MB / 421.5 MB, free: 3.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5372, allocations: 12.03 kB / 421.5 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/0.5382, allocations: 174.1 kB / 421.6 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.5409, allocations: 1.05 MB / 422.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.5411, allocations: 70 kB / 422.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.5413, allocations: 92 kB / 422.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.5448, allocations: 1.423 MB / 424.3 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.5449, allocations: 7.938 kB / 424.3 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/0.5451, allocations: 44 kB / 424.3 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.5452, allocations: 54.02 kB / 424.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00353/0.5488, allocations: 1.331 MB / 425.7 MB, free: 14.66 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.0133/0.5621, allocations: 6.718 MB / 432.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.5636, allocations: 0.5296 MB / 433 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03231/0.5959, allocations: 15.45 MB / 448.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007238/0.5967, allocations: 288.8 kB / 448.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.967e-06/0.5967, allocations: 0 / 448.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.002229/0.599, allocations: 0.7635 MB / 449.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.5992, allocations: 269 kB / 449.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.6013, allocations: 0.9773 MB / 450.7 MB, free: 2.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.6015, allocations: 37.7 kB / 450.7 MB, free: 2.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.6024, allocations: 0.7713 MB / 451.5 MB, free: 1.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.6027, allocations: 157.9 kB / 451.6 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.6028, allocations: 24 kB / 451.7 MB, free: 1.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.603, allocations: 358.8 kB / 452 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008282/0.6038, allocations: 270.5 kB / 452.3 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.6052, allocations: 0.9713 MB / 453.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.6066, allocations: 477.7 kB / 453.7 MB, free: 14.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/0.6066, allocations: 8 kB / 453.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003634/0.6103, allocations: 1.245 MB / 455 MB, free: 13.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003994/0.6143, allocations: 9.353 MB / 464.3 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.648e-05/0.6144, allocations: 24 kB / 464.4 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.321e-05/0.6145, allocations: 36 kB / 464.4 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.6176, allocations: 395.3 kB / 464.8 MB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.6188, allocations: 1.25 MB / 466 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.6208, allocations: 190.4 kB / 466.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.6211, allocations: 79.98 kB / 466.3 MB, free: 1.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6211, allocations: 4 kB / 466.3 MB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003205/0.6243, allocations: 1.169 MB / 467.5 MB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/0.6244, allocations: 24.94 kB / 467.5 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.706e-05/0.6244, allocations: 36 kB / 467.5 MB, free: 232 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.6265, allocations: 327.5 kB / 467.8 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000501/0.627, allocations: 0.6443 MB / 468.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.6283, allocations: 135.2 kB / 468.6 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.6286, allocations: 79.92 kB / 468.7 MB, free: 15.03 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.0008903/0.6295, allocations: 369.8 kB / 469.1 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.6298, allocations: 126.4 kB / 469.2 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.634, allocations: 1.225 MB / 470.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.6341, allocations: 11.95 kB / 470.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6341, allocations: 0 / 470.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6341, allocations: 3.984 kB / 470.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/0.6385, allocations: 1.817 MB / 472.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.6386, allocations: 8 kB / 472.2 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/0.6407, allocations: 231.7 kB / 472.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.6407, allocations: 11.95 kB / 472.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.6408, allocations: 19.98 kB / 472.5 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008081/0.6417, allocations: 1.18 MB / 473.7 MB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6417, allocations: 8.078 kB / 473.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6437, allocations: 0.8331 MB / 474.5 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.6443, allocations: 251.1 kB / 474.8 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.6446, allocations: 12 kB / 474.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.6455, allocations: 47.83 kB / 474.8 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6456, allocations: 48.5 kB / 474.9 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.192e-05/0.6457, allocations: 27.98 kB / 474.9 MB, free: 8.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001612/0.6473, allocations: 0.7643 MB / 475.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6474, allocations: 0 / 475.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004695/0.6521, allocations: 1.213 MB / 476.9 MB, free: 6.633 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.003574/0.6557, allocations: 0.9664 MB / 477.8 MB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005785/0.6615, allocations: 1.671 MB / 479.5 MB, free: 3.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.6616, allocations: 3.938 kB / 479.5 MB, free: 3.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00304/0.6646, allocations: 0.561 MB / 480.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/0.6681, allocations: 385.5 kB / 480.5 MB, free: 3.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/0.6738, allocations: 2.561 MB / 483 MB, free: 444 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.6749, allocations: 1.205 MB / 484.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/0.6756, allocations: 139.4 kB / 484.4 MB, free: 15.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6756, allocations: 0 / 484.4 MB, free: 15.06 MB / 426.7 MB Notification: Performance of Templates: time 0.3812/1.057, allocations: 37.59 MB / 0.5097 GB, free: 108.8 MB / 426.7 MB